Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Running the tests as root is not safe.
SYSCALL(args) = return
mmap(0x0, 0x200000, 0x3, 0x1002, 0x7000000, 0x2280F4085943D4) = 0x600000 0
munmap(0x700000, 0x100000) = 0 0
kevent(0x9, 0xB008007C, 0x1) = 1 0
kevent(0x9, 0xB007FF3C, 0x1) = 1 0
mmap(0x0, 0x200000, 0x3, 0x1002, 0x7000000, 0x2280F400000000) = 0x1800000 0
munmap(0x1900000, 0x100000) = 0 0
workq_kernreturn(0x1, 0x1000038, 0x0) = 0 0
workq_kernreturn(0x1, 0x1000054, 0x0) = 0 0
madvise(0x9B102000, 0x2000, 0x5) = 0 0
madvise(0x9B0E7000, 0x2000, 0x5) = 0 0
madvise(0x9B10C000, 0x2000, 0x5) = 0 0
madvise(0x9B115000, 0x2000, 0x5) = 0 0
madvise(0x9B12B000, 0x2000, 0x5) = 0 0
madvise(0x9B135000, 0x2000, 0x5) = 0 0
madvise(0x9B111000, 0x2000, 0x5) = 0 0
madvise(0x9B0F2000, 0x2000, 0x5) = 0 0
madvise(0x9B100000, 0x2000, 0x5) = 0 0
madvise(0x9B109000, 0x2000, 0x5) = 0 0
madvise(0x9B0E2000, 0x2000, 0x5) = 0 0
open("/dev/dtracehelper\0", 0x2, 0xBFFFD484) = 3 0
ioctl(0x3, 0x80086804, 0xBFFFD400) = 0 0
close(0x3) = 0 0
__sysctl(0xBFFFD2FC, 0x2, 0xBFFFD304) = 0 0
bsdthread_register(0x94EED0BC, 0x94EE55A8, 0x1000) = 0 0
thread_selfid(0x94EED0BC, 0x94EE55A8, 0x1000) = 632655 0
open_nocancel("/dev/urandom\0", 0x0, 0x0) = 3 0
read_nocancel(0x3, "\2545;7D\261\v\005\362\333\vC\005\006\244\200\220\211m:h\224\365\235\"\355\303\314o3?2\0", 0x20) = 32 0
close_nocancel(0x3) = 0 0
mmap(0x0, 0x3000, 0x3, 0x1002, 0x1000000, 0x2280F400000000) = 0x100000 0
__sysctl(0xBFFFD184, 0x2, 0xBFFFD14C) = 0 0
__sysctl(0xBFFFD14C, 0x2, 0xBFFFD1D0) = 0 0
getpid(0xBFFFD14C, 0x2, 0xBFFFD1D0) = 81405 0
open_nocancel("/dev/urandom\0", 0x0, 0x0) = 3 0
read_nocancel(0x3, "\324\336(\326\247r\217\325&\346\305\314\231\n#\003S\323\217\354\2602\320'=\265\005\360\211r\021\234\353_$.\316`\351s\334\302\213\245V\247m\355\304\025\274\261\024\216\361\270DV\222\357m\037\3007W\362N\311\266\235j\260\037\364#\005u#\341\367,ZJ\326\326\342pI\031;\303\370\020f\032;\327`R\261\311\260\267V0|\306\020{\177[\263\207\250\370l\0", 0x74) = 116 0
close_nocancel(0x3) = 0 0
__sysctl(0xBFFFD164, 0x2, 0xBFFFD178) = 0 0
mmap(0x0, 0xD000, 0x3, 0x1002, 0x1000000, 0x2280F400000000) = 0x103000 0
mmap(0x0, 0xD000, 0x3, 0x1002, 0x1000000, 0x2280F400000000) = 0x110000 0
mmap(0x0, 0x1000, 0x3, 0x1002, 0x1000000, 0x2280F400000000) = 0x11D000 0
mmap(0x0, 0x200000, 0x3, 0x1002, 0x7000000, 0x2280F400000000) = 0x11E000 0
munmap(0x11E000, 0xE2000) = 0 0
munmap(0x300000, 0x1E000) = 0 0
__sysctl(0xBFFFD2E4, 0x2, 0xBFFFD2AC) = 0 0
__sysctl(0xBFFFD2AC, 0x2, 0xA0797028) = 0 0
__sysctl(0xBFFFD2E4, 0x2, 0xBFFFD2AC) = 0 0
__sysctl(0xBFFFD2AC, 0x2, 0xA079702C) = 0 0
__sysctl(0xBFFFD2E4, 0x2, 0xBFFFD2AC) = 0 0
__sysctl(0xBFFFD2AC, 0x2, 0xA0797030) = 0 0
mmap(0x0, 0x3000, 0x3, 0x1002, 0x1000000, 0x2280F400000000) = 0x11E000 0
__sysctl(0xBFFFD284, 0x2, 0xBFFFD24C) = 0 0
__sysctl(0xBFFFD24C, 0x2, 0xBFFFD2D0) = 0 0
__sysctl(0xBFFFD264, 0x2, 0xBFFFD278) = 0 0
mmap(0x0, 0xD000, 0x3, 0x1002, 0x1000000, 0x2280F400000000) = 0x121000 0
mmap(0x0, 0xD000, 0x3, 0x1002, 0x1000000, 0x2280F400000000) = 0x12E000 0
mmap(0x0, 0x200000, 0x3, 0x1002, 0x7000000, 0x2280F400000000) = 0x300000 0
munmap(0x400000, 0x100000) = 0 0
issetugid(0x400000, 0x100000, 0x3) = 0 0
mmap(0x0, 0x1000000, 0x3, 0x1002, 0x2000000, 0x2280F400000000) = 0x400000 0
munmap(0x400000, 0x400000) = 0 0
munmap(0x1000000, 0x400000) = 0 0
getuid(0x1000000, 0x400000, 0x3) = 0 0
geteuid(0x1000000, 0x400000, 0x3) = 0 0
getuid(0x1000000, 0x400000, 0x3) = 0 0
issetugid(0x1000000, 0x400000, 0x3) = 0 0
getuid(0x1000000, 0x400000, 0x3) = 0 0
issetugid(0x1000000, 0x400000, 0x3) = 0 0
stat64("/System/Library/CoreServices/Encodings/libCyrillicConverter.dylib\0", 0xBFFFBE1C, 0x3) = 0 0
open("/System/Library/CoreServices/Encodings/libCyrillicConverter.dylib\0", 0x0, 0x0) = 3 0
pread(0x3, "\312\376\272\276\0", 0x1000, 0x0) = 4096 0
pread(0x3, "\316\372\355\376\a\0", 0x1000, 0x6000) = 4096 0
mmap(0xBA300000, 0x2000, 0x5, 0x12, 0x3, 0x2280F400000000) = 0xBA300000 0
mmap(0xBA302000, 0x1000, 0x3, 0x12, 0x3, 0x2280F400000000) = 0xBA302000 0
mmap(0xBA303000, 0x19A0, 0x1, 0x12, 0x3, 0x2280F400000000) = 0xBA303000 0
close(0x3) = 0 0
stat64("/Users/indutny/Code/indutny/libuv/out/Debug\0", 0xBFFFC3BC, 0x1) = 0 0
open_nocancel("/Users/indutny/Code/indutny/libuv/out/Debug\0", 0x100004, 0x2030F0) = 3 0
fcntl_nocancel(0x3, 0x2, 0x1) = 0 0
__sysctl(0xBFFFB9F4, 0x2, 0xA0792378) = 0 0
fstatfs64(0x3, 0xBFFFBA58, 0xA0792378) = 0 0
getdirentries64(0x3, 0x805400, 0x1000) = 332 0
getdirentries64(0x3, 0x805400, 0x1000) = 0 0
close_nocancel(0x3) = 0 0
stat64("/Users/indutny/Code/indutny/libuv/out/Debug/Contents\0", 0xBFFFC37C, 0x1000) = -1 Err#2
stat64("/Users/indutny/Code/indutny/libuv/out/Debug/Resources\0", 0xBFFFC37C, 0x1000) = -1 Err#2
stat64("/Users/indutny/Code/indutny/libuv/out/Debug/Support Files\0", 0xBFFFC37C, 0x1000) = -1 Err#2
stat64("/Users/indutny/Code/indutny/libuv/out/Debug\0", 0xBFFFC40C, 0x1000) = 0 0
stat64("/Users/indutny/Code/indutny/libuv/./out/Debug/run-tests\0", 0xBFFFC654, 0x1000) = 0 0
open("/Users/indutny/Code/indutny/libuv/./out/Debug/run-tests\0", 0x0, 0x1FF) = 3 0
read(0x3, "\316\372\355\376\a\0", 0x200) = 512 0
close(0x3) = 0 0
getuid(0x3, 0xBFFFCACC, 0x200) = 0 0
getrlimit(0x1008, 0xBFFFF654, 0x200) = 0 0
write_nocancel(0x2, "Running the tests as root is not safe.\n\0", 0x27) = 39 0
sigaction(0xD, 0xBFFFF700, 0xBFFFF738) = 0 0
getuid(0xD, 0xBFFFF700, 0xBFFFF738) = 0 0
geteuid(0xD, 0xBFFFF700, 0xBFFFF738) = 0 0
getgid(0xD, 0xBFFFF700, 0xBFFFF738) = 0 0
getegid(0xD, 0xBFFFF700, 0xBFFFF738) = 0 0
kqueue(0xD, 0xBFFFF700, 0xBFFFF738) = 3 0
fcntl(0x3, 0x2, 0x1) = 0 0
pipe(0x3, 0x2, 0x1) = 4 0
fcntl(0x4, 0x2, 0x1) = 0 0
fcntl(0x4, 0x4, 0x4) = 0 0
fcntl(0x5, 0x2, 0x1) = 0 0
fcntl(0x5, 0x4, 0x4) = 0 0
sigaction(0x14, 0xBFFFF570, 0x0) = 0 0
bsdthread_create(0x3C125, 0x203030, 0x80000) = -1341648896 0
pipe(0x3C125, 0x203030, 0x80000) = 6 0
ioctl(0x6, 0x20006601, 0x0) = 0 0
ioctl(0x7, 0x20006601, 0x0) = 0 0
ioctl(0x6, 0x8004667E, 0xBFFFF554) = 0 0
ioctl(0x7, 0x8004667E, 0xBFFFF554) = 0 0
mmap(0x0, 0x200000, 0x3, 0x1002, 0x7000000, 0x2280F400000000) = 0x400000 0
munmap(0x500000, 0x100000) = 0 0
unlink("watch_dir/file1\0", 0x100000, 0x3) = -1 Err#2
unlink("watch_dir/file2\0", 0x100000, 0x3) = -1 Err#2
rmdir(0x5E95D, 0x100000, 0x3) = -1 Err#2
mmap(0x0, 0x3000, 0x3, 0x1002, 0x1000000, 0x2280F400000000) = 0x13B000 0
__sysctl(0xB007FFF4, 0x2, 0xB007FFBC) = 0 0
__sysctl(0xB007FFBC, 0x2, 0xB0080040) = 0 0
__sysctl(0xB007FFD4, 0x2, 0xB007FFE8) = 0 0
mmap(0x0, 0xD000, 0x3, 0x1002, 0x1000000, 0x2280F400000000) = 0x13E000 0
mmap(0x0, 0xD000, 0x3, 0x1002, 0x1000000, 0x2280F400000000) = 0x14B000 0
mmap(0x0, 0x200000, 0x3, 0x1002, 0x7000000, 0x2280F400000000) = 0x500000 0
munmap(0x600000, 0x100000) = 0 0
kqueue(0x600000, 0x100000, 0x3) = 9 0
kevent(0x9, 0x9506183C, 0x1) = 0 0
bsdthread_register(0x94EED0BC, 0x94EE55A8, 0x1000) = -1 Err#22
mmap(0x0, 0x1000000, 0x3, 0x1002, 0x2000000, 0x2280F400000000) = 0x1000000 0
munmap(0x1800000, 0x800000) = 0 0
workq_open(0x1800000, 0x800000, 0x3) = 0 0
workq_kernreturn(0x1, 0x1000000, 0x0) = 0 0
kevent(0x9, 0xB008005C, 0x1) = 1 0
thread_selfid(0x0, 0x0, 0x0) = 632660 0
kevent(0x9, 0xB0184DDC, 0x1) = 1 0
kevent(0x9, 0x0, 0x0) = 1 0
kevent(0x3, 0x204380, 0x2) = 0 0
open("watch_dir/file1\0", 0x201, 0x180) = 10 0
ioctl(0xA, 0x20006601, 0xBFFFF498) = 0 0
close(0xA) = 0 0
kevent(0x3, 0x204380, 0x0) = 0 0
write(0x7, "x\0", 0x1) = 1 0
kevent(0x9, 0xB0184DDC, 0x1) = 1 0
workq_kernreturn(0x1, 0x100008C, 0x0) = 0 0
thread_selfid(0x0, 0x0, 0x0) = 632662 0
mmap(0x0, 0x1000000, 0x3, 0x1002, 0x2000000, 0x100000001) = 0x1900000 0
munmap(0x1900000, 0x700000) = 0 0
munmap(0x2800000, 0x100000) = 0 0
kevent(0x9, 0x0, 0x0) = -1 Err#4
getpid(0x0, 0x0, 0x0) = 81405 0
open_nocancel("/dev/urandom\0", 0x0, 0x0) = 3 0
read_nocancel(0x3, "g\2075Y\345\224\324]+J\020#\222Z\bv\360\204\360y\247\217\363WU^|<\222\202R\213\224\220)J\363(_\227EV\243\347b\244\270b\320\264\275\331eU\225\374\356\277\031\254\376t\035\323D\333\226Ul\r\320\351`\032\204\246Y]\223N\364b\227`y\301\331\331\206v\250\203O\016$\027\371\375\316\003]\356\227Qp\353\236\f!\376\0", 0x74) = 116 0
close_nocancel(0x3) = 0 0
__sysctl(0xBFFFD4DC, 0x3, 0xBFFFD4EC) = 0 0
open_nocancel(".\0", 0x0, 0x0) = 3 0
fstat64(0x3, 0xBFFFD360, 0x0) = 0 0
fcntl_nocancel(0x3, 0x32, 0xFFFFFFFFBFFFD6EC) = 0 0
close_nocancel(0x3) = 0 0
stat64("/Users/indutny/Code/indutny/libuv\0", 0xBFFFD2F4, 0xFFFFFFFFBFFFD6EC) = 0 0
issetugid(0xBFFFD6EC, 0xBFFFD2F4, 0xFFFFFFFFBFFFD6EC) = 0 0
geteuid(0xBFFFD6EC, 0xBFFFD2F4, 0xFFFFFFFFBFFFD6EC) = 0 0
__sysctl(0xBFFFD4A4, 0x2, 0xBFFFD46C) = 0 0
__sysctl(0xBFFFD46C, 0x2, 0xBFFFD4EC) = 0 0
shared_region_check_np(0xBFFFD6C0, 0x2, 0xBFFFD4EC) = 0 0
stat64("/usr/lib/dtrace/libdtrace_dyld.dylib\0", 0xBFFFCA8C, 0xBFFFD4EC) = 0 0
open("/usr/lib/dtrace/libdtrace_dyld.dylib\0", 0x0, 0x0) = 3 0
pread(0x3, "\312\376\272\276\0", 0x1000, 0x0) = 4096 0
pread(0x3, "\316\372\355\376\a\0", 0x1000, 0x6000) = 4096 0
mmap(0xFB000, 0x2000, 0x5, 0x12, 0x3, 0x100000001) = 0xFB000 0
mmap(0xFD000, 0x1000, 0x3, 0x12, 0x3, 0x100000001) = 0xFD000 0
mmap(0xFE000, 0x1EE0, 0x1, 0x12, 0x3, 0x100000001) = 0xFE000 0
close(0x3) = 0 0
stat64("/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices\0", 0xBFFFC83C, 0x1) = 0 0
stat64("/usr/lib/libstdc++.6.dylib\0", 0xBFFFC83C, 0x1) = 0 0
stat64("/usr/lib/libSystem.B.dylib\0", 0xBFFFC83C, 0x1) = 0 0
stat64("/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\0", 0xBFFFC83C, 0x1) = 0 0
stat64("/usr/lib/system/libmathCommon.A.dylib\0", 0xBFFFC66C, 0x1) = 0 0
stat64("/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore\0", 0xBFFFC66C, 0x1) = 0 0
stat64("/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork\0", 0xBFFFC66C, 0x1) = 0 0
stat64("/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata\0", 0xBFFFC66C, 0x1) = 0 0
stat64("/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices\0", 0xBFFFC66C, 0x1) = 0 0
stat64("/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit\0", 0xBFFFC66C, 0x1) = 0 0
stat64("/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE\0", 0xBFFFC66C, 0x1) = 0 0
stat64("/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices\0", 0xBFFFC66C, 0x1) = 0 0
stat64("/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices\0", 0xBFFFC66C, 0x1) = 0 0
stat64("/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit\0", 0xBFFFC4BC, 0x1) = 0 0
stat64("/usr/lib/libicucore.A.dylib\0", 0xBFFFC4BC, 0x1) = 0 0
stat64("/System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration\0", 0xBFFFC4BC, 0x1) = 0 0
stat64("/usr/lib/libbsm.0.dylib\0", 0xBFFFC4BC, 0x1) = 0 0
stat64("/System/Library/Frameworks/NetFS.framework/Versions/A/NetFS\0", 0xBFFFC4BC, 0x1) = 0 0
stat64("/usr/lib/libobjc.A.dylib\0", 0xBFFFC4BC, 0x1) = 0 0
stat64("/usr/lib/libz.1.dylib\0", 0xBFFFC37C, 0x1) = 0 0
stat64("/usr/lib/system/libkxld.dylib\0", 0xBFFFC37C, 0x1) = 0 0
stat64("/usr/lib/libauto.dylib\0", 0xBFFFC21C, 0x1) = 0 0
stat64("/System/Library/Frameworks/Security.framework/Versions/A/Security\0", 0xBFFFC37C, 0x1) = 0 0
stat64("/usr/lib/libsqlite3.dylib\0", 0xBFFFC23C, 0x1) = 0 0
stat64("/System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration\0", 0xBFFFC38C, 0x1) = 0 0
stat64("/usr/lib/libxslt.1.dylib\0", 0xBFFFC4AC, 0x1) = 0 0
stat64("/usr/lib/libxml2.2.dylib\0", 0xBFFFC4AC, 0x1) = 0 0
thread_selfid(0x0, 0x0, 0x0) = 632658 0
mkdir("watch_dir\0", 0x1ED, 0x3) = 0 0
open("watch_dir\0", 0x0, 0x0) = 8 0
fstat64(0x8, 0xBFFFF5F0, 0x0) = 0 0
stat64("/\0", 0xBFFFCB7C, 0x0) = 0 0
open_nocancel(".\0", 0x0, 0xBFFFC948) = 9 0
fstat64(0x9, 0xBFFFC960, 0xBFFFC948) = 0 0
fcntl_nocancel(0x9, 0x32, 0xFFFFFFFFBFFFED2C) = 0 0
close_nocancel(0x9) = 0 0
stat64("/Users/indutny/Code/indutny/libuv\0", 0xBFFFC8F4, 0xFFFFFFFFBFFFED2C) = 0 0
stat64("/Users/indutny/Code/indutny/libuv\0", 0xBFFFCB7C, 0xFFFFFFFFBFFFED2C) = 0 0
getattrlist("/Users/indutny/Code/indutny/libuv/watch_dir\0", 0xA078728C, 0xBFFFD460) = 0 0
thread_selfid(0x0, 0x0, 0x0) = 632659 0
workq_kernreturn(0x1, 0x100001C, 0x0) = 0 0
kevent(0x9, 0x0, 0x0) = 1 0
kevent(0x9, 0x0, 0x0) = 1 0
kevent(0x9, 0x0, 0x0) = 1 0
kevent(0x9, 0xB0184DDC, 0x1) = 1 0
kevent(0x3, 0x204380, 0x0) = 1 0
read(0x6, "x\0", 0x400) = 1 0
workq_kernreturn(0x1, 0x1000070, 0x0) = 0 0
kevent(0x9, 0x0, 0x0) = 1 0
workq_kernreturn(0x1, 0x10000A8, 0x0) = 0 0
kevent(0x9, 0x0, 0x0) = 1 0
issetugid(0x9, 0x0, 0x0) = 0 0
kevent(0x9, 0xB0102BBC, 0x1) = 1 0
kevent(0x9, 0x0, 0x0) = 1 0
kevent(0x9, 0xB0102BDC, 0x1) = 1 0
kevent(0x9, 0x0, 0x0) = 1 0
mmap(0x0, 0x200000, 0x3, 0x1002, 0x7000000, 0x0) = 0x1900000 0
munmap(0x1A00000, 0x100000) = 0 0
workq_kernreturn(0x1, 0x10000C4, 0x0) = 0 0
close(0x8) = 0 0
unlink("watch_dir/file1\0", 0x10000C4, 0x0) = 0 0
unlink("watch_dir/file2\0", 0x10000C4, 0x0) = -1 Err#2
rmdir(0x5E95D, 0x10000C4, 0x0) = 0 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.