Skip to content

Instantly share code, notes, and snippets.

@graysky2
Created November 8, 2019 19:29
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save graysky2/ac54092625f0b67fc5c50cc5b10fc538 to your computer and use it in GitHub Desktop.
% strace distccmon-text
execve("/usr/bin/distccmon-text", ["distccmon-text"], 0x7ffedf23edd0 /* 54 vars */) = 0
brk(NULL) = 0x562c0c124000
arch_prctl(0x3001 /* ARCH_??? */, 0x7ffcd2c9a2c0) = -1 EINVAL (Invalid argument)
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=154664, ...}) = 0
mmap(NULL, 154664, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f6ff4c60000
close(3) = 0
openat(AT_FDCWD, "/usr/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360\201\0\0\0\0\0\0"..., 832) = 832
lseek(3, 824, SEEK_SET) = 824
read(3, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0\213\4\321\202[c\331\246\0\343\325z\307\20X\223"..., 68) = 68
fstat(3, {st_mode=S_IFREG|0755, st_size=159824, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f6ff4c5e000
lseek(3, 824, SEEK_SET) = 824
read(3, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0\213\4\321\202[c\331\246\0\343\325z\307\20X\223"..., 68) = 68
mmap(NULL, 135592, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f6ff4c3c000
mmap(0x7f6ff4c43000, 65536, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f6ff4c43000
mmap(0x7f6ff4c53000, 20480, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7f6ff4c53000
mmap(0x7f6ff4c58000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b000) = 0x7f6ff4c58000
mmap(0x7f6ff4c5a000, 12712, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f6ff4c5a000
close(3) = 0
openat(AT_FDCWD, "/usr/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`r\2\0\0\0\0\0"..., 832) = 832
lseek(3, 64, SEEK_SET) = 64
read(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784) = 784
lseek(3, 848, SEEK_SET) = 848
read(3, "\4\0\0\0\20\0\0\0\5\0\0\0GNU\0\2\0\0\300\4\0\0\0\3\0\0\0\0\0\0\0", 32) = 32
lseek(3, 880, SEEK_SET) = 880
read(3, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0003\321\363P\3617(e\35t\335*V\272\321\344"..., 68) = 68
fstat(3, {st_mode=S_IFREG|0755, st_size=2149496, ...}) = 0
lseek(3, 64, SEEK_SET) = 64
read(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784) = 784
lseek(3, 848, SEEK_SET) = 848
read(3, "\4\0\0\0\20\0\0\0\5\0\0\0GNU\0\2\0\0\300\4\0\0\0\3\0\0\0\0\0\0\0", 32) = 32
lseek(3, 880, SEEK_SET) = 880
read(3, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0003\321\363P\3617(e\35t\335*V\272\321\344"..., 68) = 68
mmap(NULL, 1860536, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f6ff4a75000
mprotect(0x7f6ff4a9a000, 1671168, PROT_NONE) = 0
mmap(0x7f6ff4a9a000, 1363968, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x25000) = 0x7f6ff4a9a000
mmap(0x7f6ff4be7000, 303104, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x172000) = 0x7f6ff4be7000
mmap(0x7f6ff4c32000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1bc000) = 0x7f6ff4c32000
mmap(0x7f6ff4c38000, 13240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f6ff4c38000
close(3) = 0
mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f6ff4a72000
arch_prctl(ARCH_SET_FS, 0x7f6ff4a72740) = 0
mprotect(0x7f6ff4c32000, 12288, PROT_READ) = 0
mprotect(0x7f6ff4c58000, 4096, PROT_READ) = 0
mprotect(0x562c0a50b000, 4096, PROT_READ) = 0
mprotect(0x7f6ff4cb0000, 4096, PROT_READ) = 0
munmap(0x7f6ff4c60000, 154664) = 0
set_tid_address(0x7f6ff4a72a10) = 236477
set_robust_list(0x7f6ff4a72a20, 24) = 0
rt_sigaction(SIGRTMIN, {sa_handler=0x7f6ff4c43c40, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7f6ff4c50930}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {sa_handler=0x7f6ff4c43ce0, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f6ff4c50930}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
brk(NULL) = 0x562c0c124000
brk(0x562c0c145000) = 0x562c0c145000
mkdir("/scratch/.distcc/state", 0777) = -1 EEXIST (File exists)
openat(AT_FDCWD, "/scratch/.distcc/state", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3
fstat(3, {st_mode=S_IFDIR|0755, st_size=600, ...}) = 0
getdents64(3, /* 30 entries */, 32768) = 1168
openat(AT_FDCWD, "/scratch/.distcc/state/binstate_236469", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=296, ...}) = 0
read(4, "(\1\0\0\0\0\0\0\0HID\0\0\0\0\265\233\3\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 296) = 296
kill(236469, 0) = 0
close(4) = 0
openat(AT_FDCWD, "/scratch/.distcc/state/binstate_236467", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=296, ...}) = 0
read(4, "(\1\0\0\0\0\0\0\0HID\0\0\0\0\263\233\3\0\0\0\0\0time.c\0\0"..., 296) = 296
kill(236467, 0) = 0
close(4) = 0
openat(AT_FDCWD, "/scratch/.distcc/state/binstate_236449", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=296, ...}) = 0
read(4, "(\1\0\0\0\0\0\0\0HID\0\0\0\0\241\233\3\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 296) = 296
kill(236449, 0) = 0
close(4) = 0
openat(AT_FDCWD, "/scratch/.distcc/state/binstate_235945", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=296, ...}) = 0
read(4, "(\1\0\0\0\0\0\0\0HID\0\0\0\0\251\231\3\0\0\0\0\0bpf_lru_"..., 296) = 296
kill(235945, 0) = 0
close(4) = 0
openat(AT_FDCWD, "/scratch/.distcc/state/binstate_236442", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=296, ...}) = 0
read(4, "(\1\0\0\0\0\0\0\0HID\0\0\0\0\232\233\3\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 296) = 296
kill(236442, 0) = 0
close(4) = 0
openat(AT_FDCWD, "/scratch/.distcc/state/binstate_236441", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=296, ...}) = 0
read(4, "(\1\0\0\0\0\0\0\0HID\0\0\0\0\231\233\3\0\0\0\0\0util.c\0\0"..., 296) = 296
kill(236441, 0) = 0
close(4) = 0
openat(AT_FDCWD, "/scratch/.distcc/state/binstate_236421", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=296, ...}) = 0
read(4, "(\1\0\0\0\0\0\0\0HID\0\0\0\0\205\233\3\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 296) = 296
kill(236421, 0) = 0
close(4) = 0
openat(AT_FDCWD, "/scratch/.distcc/state/binstate_236422", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=296, ...}) = 0
read(4, "(\1\0\0\0\0\0\0\0HID\0\0\0\0\206\233\3\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 296) = 296
kill(236422, 0) = 0
close(4) = 0
openat(AT_FDCWD, "/scratch/.distcc/state/binstate_236419", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=296, ...}) = 0
read(4, "(\1\0\0\0\0\0\0\0HID\0\0\0\0\203\233\3\0\0\0\0\0rwsem.c\0"..., 296) = 296
kill(236419, 0) = 0
close(4) = 0
openat(AT_FDCWD, "/scratch/.distcc/state/binstate_236139", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=296, ...}) = 0
read(4, "(\1\0\0\0\0\0\0\0HID\0\0\0\0k\232\3\0\0\0\0\0truncate"..., 296) = 296
kill(236139, 0) = 0
close(4) = 0
openat(AT_FDCWD, "/scratch/.distcc/state/binstate_236413", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=296, ...}) = 0
read(4, "(\1\0\0\0\0\0\0\0HID\0\0\0\0}\233\3\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 296) = 296
kill(236413, 0) = 0
close(4) = 0
openat(AT_FDCWD, "/scratch/.distcc/state/binstate_236410", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=296, ...}) = 0
read(4, "(\1\0\0\0\0\0\0\0HID\0\0\0\0z\233\3\0\0\0\0\0compat.c"..., 296) = 296
kill(236410, 0) = 0
close(4) = 0
openat(AT_FDCWD, "/scratch/.distcc/state/binstate_236404", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=296, ...}) = 0
read(4, "(\1\0\0\0\0\0\0\0HID\0\0\0\0t\233\3\0\0\0\0\0ioport.c"..., 296) = 296
kill(236404, 0) = 0
close(4) = 0
openat(AT_FDCWD, "/scratch/.distcc/state/binstate_236365", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=296, ...}) = 0
read(4, "(\1\0\0\0\0\0\0\0HID\0\0\0\0M\233\3\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 296) = 296
kill(236365, 0) = 0
close(4) = 0
openat(AT_FDCWD, "/scratch/.distcc/state/binstate_236099", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=296, ...}) = 0
read(4, "(\1\0\0\0\0\0\0\0HID\0\0\0\0C\232\3\0\0\0\0\0signal.c"..., 296) = 296
kill(236099, 0) = 0
close(4) = 0
openat(AT_FDCWD, "/scratch/.distcc/state/binstate_236332", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=296, ...}) = 0
read(4, "(\1\0\0\0\0\0\0\0HID\0\0\0\0,\233\3\0\0\0\0\0xstate.c"..., 296) = 296
kill(236332, 0) = 0
close(4) = 0
openat(AT_FDCWD, "/scratch/.distcc/state/binstate_236301", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=296, ...}) = 0
read(4, "(\1\0\0\0\0\0\0\0HID\0\0\0\0\r\233\3\0\0\0\0\0dumpstac"..., 296) = 296
kill(236301, 0) = 0
close(4) = 0
openat(AT_FDCWD, "/scratch/.distcc/state/binstate_236272", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=296, ...}) = 0
read(4, "(\1\0\0\0\0\0\0\0HID\0\0\0\0\360\232\3\0\0\0\0\0shmem.c\0"..., 296) = 296
kill(236272, 0) = 0
close(4) = 0
openat(AT_FDCWD, "/scratch/.distcc/state/binstate_236271", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=296, ...}) = 0
read(4, "(\1\0\0\0\0\0\0\0HID\0\0\0\0\357\232\3\0\0\0\0\0dev-ioct"..., 296) = 296
kill(236271, 0) = 0
close(4) = 0
openat(AT_FDCWD, "/scratch/.distcc/state/binstate_236235", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=296, ...}) = 0
read(4, "(\1\0\0\0\0\0\0\0HID\0\0\0\0\313\232\3\0\0\0\0\0vmscan.c"..., 296) = 296
kill(236235, 0) = 0
close(4) = 0
openat(AT_FDCWD, "/scratch/.distcc/state/binstate_235978", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=296, ...}) = 0
read(4, "(\1\0\0\0\0\0\0\0HID\0\0\0\0\312\231\3\0\0\0\0\0hw_break"..., 296) = 296
kill(235978, 0) = 0
close(4) = 0
openat(AT_FDCWD, "/scratch/.distcc/state/binstate_236170", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=296, ...}) = 0
read(4, "(\1\0\0\0\0\0\0\0HID\0\0\0\0\212\232\3\0\0\0\0\0irq_64.c"..., 296) = 296
kill(236170, 0) = 0
close(4) = 0
openat(AT_FDCWD, "/scratch/.distcc/state/binstate_236138", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=296, ...}) = 0
read(4, "(\1\0\0\0\0\0\0\0HID\0\0\0\0j\232\3\0\0\0\0\0generic-"..., 296) = 296
kill(236138, 0) = 0
close(4) = 0
openat(AT_FDCWD, "/scratch/.distcc/state/binstate_236137", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=296, ...}) = 0
read(4, "(\1\0\0\0\0\0\0\0HID\0\0\0\0i\232\3\0\0\0\0\0probe_64"..., 296) = 296
kill(236137, 0) = 0
close(4) = 0
openat(AT_FDCWD, "/scratch/.distcc/state/binstate_236131", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=296, ...}) = 0
read(4, "(\1\0\0\0\0\0\0\0HID\0\0\0\0c\232\3\0\0\0\0\0uprobes."..., 296) = 296
kill(236131, 0) = 0
close(4) = 0
openat(AT_FDCWD, "/scratch/.distcc/state/binstate_236002", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=296, ...}) = 0
read(4, "(\1\0\0\0\0\0\0\0HID\0\0\0\0\342\231\3\0\0\0\0\0traps.c\0"..., 296) = 296
kill(236002, 0) = 0
close(4) = 0
openat(AT_FDCWD, "/scratch/.distcc/state/binstate_233748", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=296, ...}) = 0
read(4, "(\1\0\0\0\0\0\0\0HID\0\0\0\0\24\221\3\0\0\0\0\0verifier"..., 296) = 296
kill(233748, 0) = 0
close(4) = 0
openat(AT_FDCWD, "/scratch/.distcc/state/binstate_228167", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=296, ...}) = 0
close(4) = 0
unlink("/scratch/.distcc/state/binstate_228167") = 0
getdents64(3, /* 0 entries */, 32768) = 0
close(3) = 0
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(0x88, 0x1), ...}) = 0
write(1, "236469 Compile "..., 79236469 Compile localhost[0]
) = 79
write(1, "236449 Compile "..., 79236449 Compile localhost[0]
) = 79
write(1, "235945 Compile bpf_lru_list"..., 79235945 Compile bpf_lru_list.c localhost[0]
) = 79
write(1, "236442 Compile "..., 79236442 Compile localhost[0]
) = 79
write(1, "236421 Compile "..., 79236421 Compile localhost[0]
) = 79
write(1, "236422 Compile "..., 79236422 Compile localhost[0]
) = 79
write(1, "236413 Compile "..., 79236413 Compile localhost[0]
) = 79
write(1, "236365 Compile "..., 79236365 Compile localhost[0]
) = 79
write(1, "236467 Compile time.c "..., 79236467 Compile time.c localhost[1]
) = 79
write(1, "236139 Compile truncate.c "..., 79236139 Compile truncate.c localhost[2]
) = 79
write(1, "236410 Compile compat.c "..., 79236410 Compile compat.c localhost[3]
) = 79
write(1, "236419 Compile rwsem.c "..., 79236419 Compile rwsem.c localhost[5]
) = 79
write(1, "236099 Compile signal.c "..., 79236099 Compile signal.c localhost[7]
) = 79
write(1, "236271 Compile dev-ioctl.c "..., 79236271 Compile dev-ioctl.c myth2[0]
) = 79
write(1, "236441 Connect util.c "..., 79236441 Connect util.c myth2[1]
) = 79
write(1, "236235 Compile vmscan.c "..., 79236235 Compile vmscan.c myth2[2]
) = 79
write(1, "236332 Compile xstate.c "..., 79236332 Compile xstate.c myth2[3]
) = 79
write(1, "236170 Compile irq_64.c "..., 79236170 Compile irq_64.c submyth[0]
) = 79
write(1, "236137 Compile probe_64.c "..., 79236137 Compile probe_64.c submyth[1]
) = 79
write(1, "236272 Compile shmem.c "..., 79236272 Compile shmem.c submyth[2]
) = 79
write(1, "236002 Compile traps.c "..., 79236002 Compile traps.c submyth[3]
) = 79
write(1, "235978 Compile hw_breakpoin"..., 79235978 Compile hw_breakpoint.c submyth[4]
) = 79
write(1, "233748 Compile verifier.c "..., 79233748 Compile verifier.c workbench[0]
) = 79
write(1, "236404 Connect ioport.c "..., 79236404 Connect ioport.c workbench[1]
) = 79
write(1, "236131 Compile uprobes.c "..., 79236131 Compile uprobes.c workbench[2]
) = 79
write(1, "236301 Compile dumpstack_64"..., 79236301 Compile dumpstack_64.c workbench[3]
) = 79
write(1, "236138 Compile generic-chip"..., 79236138 Compile generic-chip.c workbench[4]
) = 79
write(1, "\n", 1
) = 1
nanosleep({tv_sec=0, tv_nsec=0}, NULL) = 0
exit_group(0) = ?
+++ exited with 0 +++
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment