Skip to content

Instantly share code, notes, and snippets.

@keithpitt
Created October 13, 2015 04:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save keithpitt/2d33ec737ba4d45ca5d2 to your computer and use it in GitHub Desktop.
Save keithpitt/2d33ec737ba4d45ca5d2 to your computer and use it in GitHub Desktop.
execve("./pty-test", ["./pty-test"], [/* 20 vars */]) = 0
arch_prctl(ARCH_SET_FS, 0x5fb988) = 0
sched_getaffinity(0, 8192, {1, 0, 0, 0}) = 32
mmap(0xc000000000, 65536, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xc000000000
munmap(0xc000000000, 65536) = 0
mmap(NULL, 262144, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f41063b8000
mmap(0xc820000000, 1048576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xc820000000
mmap(0xc81fff8000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xc81fff8000
mmap(0xc000000000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xc000000000
mmap(NULL, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f41063a8000
clock_gettime(CLOCK_MONOTONIC, {63682, 398634617}) = 0
mmap(NULL, 1439992, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4106248000
clock_gettime(CLOCK_MONOTONIC, {63682, 399371924}) = 0
clock_gettime(CLOCK_MONOTONIC, {63682, 399535751}) = 0
sigaltstack({ss_sp=0xc820002000, ss_flags=0, ss_size=32672}, NULL) = 0
gettid() = 6661
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGHUP, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGHUP, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGHUP, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGINT, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGINT, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGINT, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGQUIT, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGQUIT, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGILL, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGILL, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGTRAP, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGTRAP, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGABRT, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGABRT, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGBUS, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGBUS, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGFPE, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGFPE, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGUSR1, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGUSR1, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGSEGV, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGSEGV, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGUSR2, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGUSR2, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGPIPE, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGPIPE, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGALRM, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGALRM, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGTERM, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGTERM, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGSTKFLT, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGSTKFLT, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGCHLD, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGCHLD, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGURG, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGURG, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGXCPU, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGXCPU, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGXFSZ, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGXFSZ, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGVTALRM, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGVTALRM, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGPROF, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGPROF, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGWINCH, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGWINCH, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGIO, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGIO, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGPWR, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGPWR, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGSYS, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGSYS, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGRTMIN, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRTMIN, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_1, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_1, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_2, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_2, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGRT_3, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_3, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGRT_4, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_4, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGRT_5, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_5, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGRT_6, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_6, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGRT_7, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_7, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGRT_8, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_8, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGRT_9, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_9, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGRT_10, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_10, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGRT_11, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_11, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGRT_12, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_12, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGRT_13, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_13, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGRT_14, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_14, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGRT_15, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_15, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGRT_16, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_16, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGRT_17, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_17, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGRT_18, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_18, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGRT_19, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_19, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGRT_20, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_20, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGRT_21, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_21, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGRT_22, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_22, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGRT_23, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_23, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGRT_24, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_24, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGRT_25, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_25, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGRT_26, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_26, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGRT_27, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_27, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGRT_28, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_28, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGRT_29, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_29, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGRT_30, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_30, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGRT_31, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_31, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
rt_sigaction(SIGRT_32, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_32, {0x456e60, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x456e80}, NULL, 8) = 0
clock_gettime(CLOCK_MONOTONIC, {63682, 420134896}) = 0
rt_sigprocmask(SIG_SETMASK, NULL, [], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[], [], 8) = 0
clone(child_stack=0xc82003bfc0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD) = 6662
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
mmap(NULL, 262144, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4106208000
clock_gettime(CLOCK_MONOTONIC, {63682, 421248894}) = 0
clock_gettime(CLOCK_MONOTONIC, {63682, 421398304}) = 0
clock_gettime(CLOCK_MONOTONIC, {63682, 421538864}) = 0
clock_gettime(CLOCK_MONOTONIC, {63682, 421652847}) = 0
clock_gettime(CLOCK_MONOTONIC, {63682, 421764850}) = 0
clock_gettime(CLOCK_MONOTONIC, {63682, 421876114}) = 0
clock_gettime(CLOCK_MONOTONIC, {63682, 421987187}) = 0
clock_gettime(CLOCK_MONOTONIC, {63682, 422097717}) = 0
clock_gettime(CLOCK_MONOTONIC, {63682, 422209811}) = 0
clock_gettime(CLOCK_MONOTONIC, {63682, 422321654}) = 0
clock_gettime(CLOCK_MONOTONIC, {63682, 422432947}) = 0
clock_gettime(CLOCK_MONOTONIC, {63682, 422544507}) = 0
clock_gettime(CLOCK_MONOTONIC, {63682, 422654931}) = 0
clock_gettime(CLOCK_MONOTONIC, {63682, 422766148}) = 0
rt_sigprocmask(SIG_SETMASK, NULL, [], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[], [], 8) = 0
clone(child_stack=0xc820037fc0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD) = 6663
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
futex(0x5d8750, FUTEX_WAIT, 0, NULLProcess 6662 attached
<unfinished ...>
[pid 6662] gettid() = 6662
[pid 6662] arch_prctl(ARCH_SET_FS, 0xc82002c080) = 0
[pid 6662] sigaltstack({ss_sp=0xc82002e000, ss_flags=0, ss_size=32672}, NULL) = 0
[pid 6662] gettid() = 6662
[pid 6662] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
[pid 6662] clock_gettime(CLOCK_MONOTONIC, {63682, 424394302}) = 0
[pid 6662] select(0, NULL, NULL, NULL, {0, 20}Process 6663 attached
) = 0 (Timeout)
[pid 6662] clock_gettime(CLOCK_MONOTONIC, {63682, 424767032}) = 0
[pid 6662] clock_gettime(CLOCK_REALTIME, {1444710259, 62127922}) = 0
[pid 6662] select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
[pid 6663] gettid( <unfinished ...>
[pid 6662] <... select resumed> ) = 0 (Timeout)
[pid 6662] clock_gettime(CLOCK_MONOTONIC, {63682, 425319769}) = 0
[pid 6662] clock_gettime(CLOCK_REALTIME, {1444710259, 62677429}) = 0
[pid 6662] select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
[pid 6663] <... gettid resumed> ) = 6663
[pid 6662] <... select resumed> ) = 0 (Timeout)
[pid 6662] clock_gettime(CLOCK_MONOTONIC, {63682, 425837462}) = 0
[pid 6662] clock_gettime(CLOCK_REALTIME, {1444710259, 63196543}) = 0
[pid 6662] select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
[pid 6663] arch_prctl(ARCH_SET_FS, 0xc82002c500 <unfinished ...>
[pid 6662] <... select resumed> ) = 0 (Timeout)
[pid 6662] clock_gettime(CLOCK_MONOTONIC, {63682, 426442136}) = 0
[pid 6662] clock_gettime(CLOCK_REALTIME, {1444710259, 63802700}) = 0
[pid 6662] select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
[pid 6663] <... arch_prctl resumed> ) = 0
[pid 6662] <... select resumed> ) = 0 (Timeout)
[pid 6662] clock_gettime(CLOCK_MONOTONIC, {63682, 427046206}) = 0
[pid 6662] clock_gettime(CLOCK_REALTIME, {1444710259, 64408397}) = 0
[pid 6662] select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
[pid 6663] sigaltstack({ss_sp=0xc820046000, ss_flags=0, ss_size=32672} <unfinished ...>
[pid 6662] <... select resumed> ) = 0 (Timeout)
[pid 6662] clock_gettime(CLOCK_MONOTONIC, <unfinished ...>
[pid 6663] <... sigaltstack resumed> , NULL) = 0
[pid 6662] <... clock_gettime resumed> {63682, 427665946}) = 0
[pid 6663] gettid( <unfinished ...>
[pid 6662] clock_gettime(CLOCK_REALTIME, <unfinished ...>
[pid 6663] <... gettid resumed> ) = 6663
[pid 6662] <... clock_gettime resumed> {1444710259, 65216400}) = 0
[pid 6663] rt_sigprocmask(SIG_SETMASK, [], <unfinished ...>
[pid 6662] select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
[pid 6663] <... rt_sigprocmask resumed> NULL, 8) = 0
[pid 6662] <... select resumed> ) = 0 (Timeout)
[pid 6663] futex(0x5d8750, FUTEX_WAKE, 1 <unfinished ...>
[pid 6662] clock_gettime(CLOCK_MONOTONIC, <unfinished ...>
[pid 6663] <... futex resumed> ) = 1
[pid 6662] <... clock_gettime resumed> {63682, 428728237}) = 0
[pid 6663] futex(0xc82002c590, FUTEX_WAIT, 0, NULL <unfinished ...>
[pid 6662] clock_gettime(CLOCK_REALTIME, <unfinished ...>
[pid 6661] <... futex resumed> ) = 0
[pid 6662] <... clock_gettime resumed> {1444710259, 66324888}) = 0
[pid 6661] stat(".", <unfinished ...>
[pid 6662] futex(0xc82002c590, FUTEX_WAKE, 1 <unfinished ...>
[pid 6661] <... stat resumed> {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
[pid 6663] <... futex resumed> ) = 0
[pid 6662] <... futex resumed> ) = 1
[pid 6663] stat("/root", <unfinished ...>
[pid 6662] select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
[pid 6663] <... stat resumed> {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
[pid 6662] <... select resumed> ) = 0 (Timeout)
[pid 6663] openat(AT_FDCWD, "/dev/ptmx", O_RDWR|O_CLOEXEC <unfinished ...>
[pid 6662] clock_gettime(CLOCK_MONOTONIC, <unfinished ...>
[pid 6663] <... openat resumed> ) = 3
[pid 6662] <... clock_gettime resumed> {63682, 431054124}) = 0
[pid 6663] ioctl(3, TIOCGPTN <unfinished ...>
[pid 6662] clock_gettime(CLOCK_REALTIME, <unfinished ...>
[pid 6663] <... ioctl resumed> , [2]) = 0
[pid 6662] <... clock_gettime resumed> {1444710259, 68685082}) = 0
[pid 6663] ioctl(3, TIOCSPTLCK <unfinished ...>
[pid 6662] select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
[pid 6663] <... ioctl resumed> , [0]) = 0
[pid 6662] <... select resumed> ) = 0 (Timeout)
[pid 6663] openat(AT_FDCWD, "/dev/pts/2", O_RDWR|O_NOCTTY|O_CLOEXEC <unfinished ...>
[pid 6662] clock_gettime(CLOCK_MONOTONIC, <unfinished ...>
[pid 6663] <... openat resumed> ) = 4
[pid 6662] <... clock_gettime resumed> {63682, 432292778}) = 0
[pid 6663] pipe2( <unfinished ...>
[pid 6662] clock_gettime(CLOCK_REALTIME, <unfinished ...>
[pid 6663] <... pipe2 resumed> [5, 6], O_CLOEXEC) = 0
[pid 6662] <... clock_gettime resumed> {1444710259, 70084699}) = 0
[pid 6663] getpid( <unfinished ...>
[pid 6662] select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
[pid 6663] <... getpid resumed> ) = 6661
[pid 6663] clone( <unfinished ...>
[pid 6662] <... select resumed> ) = 0 (Timeout)
[pid 6663] <... clone resumed> child_stack=0, flags=SIGCHLD) = 6664
[pid 6663] close(6 <unfinished ...>
[pid 6662] clock_gettime(CLOCK_MONOTONIC, <unfinished ...>
[pid 6663] <... close resumed> ) = 0
[pid 6662] <... clock_gettime resumed> {63682, 433951069}) = 0
[pid 6663] read(5, <unfinished ...>
[pid 6662] clock_gettime(CLOCK_REALTIME, {1444710259, 71533016}) = 0
[pid 6662] select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
[pid 6661] futex(0x5d8750, FUTEX_WAIT, 0, NULL <unfinished ...>
[pid 6662] <... select resumed> ) = 0 (Timeout)
[pid 6662] clock_gettime(CLOCK_MONOTONIC, {63682, 434722373}) = 0
[pid 6662] clock_gettime(CLOCK_REALTIME, {1444710259, 72063957}) = 0
[pid 6662] futex(0x5d8750, FUTEX_WAKE, 1) = 1
[pid 6662] select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
[pid 6661] <... futex resumed> ) = 0
[pid 6662] <... select resumed> ) = 0 (Timeout)
[pid 6662] clock_gettime(CLOCK_MONOTONIC, {63682, 435480076}) = 0
[pid 6662] futex(0x5d81c0, FUTEX_WAIT, 0, {60, 0} <unfinished ...>
[pid 6661] futex(0x5d8750, FUTEX_WAIT, 0, NULLProcess 6664 attached
<unfinished ...>
[pid 6664] setsid() = 6664
[pid 6664] setpgid(0, 0) = -1 EPERM (Operation not permitted)
[pid 6664] write(6, "\1\0\0\0\0\0\0\0", 8) = 8
[pid 6664] _exit(253) = ?
[pid 6664] +++ exited with 253 +++
[pid 6663] <... read resumed> "\1\0\0\0\0\0\0\0", 8) = 8
[pid 6663] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6664, si_status=253, si_utime=0, si_stime=0} ---
[pid 6663] rt_sigreturn() = 8
[pid 6663] futex(0x5d81c0, FUTEX_WAKE, 1) = 1
[pid 6663] close(5) = 0
[pid 6663] wait4(6664, [{WIFEXITED(s) && WEXITSTATUS(s) == 253}], 0, NULL) = 6664
[pid 6663] close(3) = 0
[pid 6663] close(4) = 0
[pid 6663] select(0, NULL, NULL, NULL, {0, 1000} <unfinished ...>
[pid 6662] <... futex resumed> ) = 0
[pid 6662] clock_gettime(CLOCK_MONOTONIC, {63682, 437655577}) = 0
[pid 6662] clock_gettime(CLOCK_REALTIME, {1444710259, 74996201}) = 0
[pid 6662] select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
[pid 6661] <... futex resumed> ) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
[pid 6662] <... select resumed> ) = 0 (Timeout)
[pid 6662] clock_gettime(CLOCK_MONOTONIC, {63682, 438134427}) = 0
[pid 6662] futex(0x5d81c0, FUTEX_WAIT, 0, {60, 0} <unfinished ...>
[pid 6661] futex(0x5d8750, FUTEX_WAIT, 0, NULL <unfinished ...>
[pid 6663] <... select resumed> ) = 0 (Timeout)
[pid 6663] select(0, NULL, NULL, NULL, {0, 1000}) = 0 (Timeout)
[pid 6663] write(2, "panic: ", 7panic: ) = 7
[pid 6663] write(2, "fork/exec /root/pty-test.sh: ope"..., 52fork/exec /root/pty-test.sh: operation not permitted) = 52
[pid 6663] write(2, "\n", 1
) = 1
[pid 6663] write(2, "\n", 1
) = 1
[pid 6663] write(2, "goroutine ", 10goroutine ) = 10
[pid 6663] write(2, "1", 11) = 1
[pid 6663] write(2, " [", 2 [) = 2
[pid 6663] write(2, "running", 7running) = 7
[pid 6663] write(2, "]:\n", 3]:
) = 3
[pid 6663] write(2, "main.main", 9main.main) = 9
[pid 6663] write(2, "(", 1() = 1
[pid 6663] write(2, ")\n", 2)
) = 2
[pid 6663] write(2, "\t", 1 ) = 1
[pid 6663] write(2, "/root/pty-test.go", 17/root/pty-test.go) = 17
[pid 6663] write(2, ":", 1:) = 1
[pid 6663] write(2, "24", 224) = 2
[pid 6663] write(2, " +", 2 +) = 2
[pid 6663] write(2, "0x229", 50x229) = 5
[pid 6663] write(2, "\n", 1
) = 1
[pid 6663] exit_group(2) = ?
[pid 6663] +++ exited with 2 +++
[pid 6662] +++ exited with 2 +++
+++ exited with 2 +++
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment