Skip to content

Instantly share code, notes, and snippets.

@tatsuru tatsuru/nothing.go
Last active May 18, 2016

Embed
What would you like to do?
nothing.go
tatsuru@moryo$ strace ./nothing /tmp
execve("./nothing", ["./nothing"], [/* 53 vars */]) = 0
arch_prctl(ARCH_SET_FS, 0x4b4868) = 0
sched_getaffinity(0, 8192, [f, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...]) = 64
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) = 0x7f1a20c3f000
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) = 0x7f1a20c2f000
rt_sigprocmask(SIG_SETMASK, NULL, [], 8) = 0
sigaltstack(NULL, {ss_sp=NULL, ss_flags=SS_DISABLE, ss_size=0}) = 0
sigaltstack({ss_sp=0xc820002000, ss_flags=0, ss_size=32672}, NULL) = 0
gettid() = 31927
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGHUP, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGHUP, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGINT, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGINT, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGQUIT, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGQUIT, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGILL, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGILL, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGTRAP, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGTRAP, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGABRT, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGABRT, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGBUS, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGBUS, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGFPE, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGFPE, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGUSR1, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGUSR1, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGSEGV, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGSEGV, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGUSR2, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGUSR2, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGPIPE, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGPIPE, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGALRM, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGALRM, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGTERM, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGTERM, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGSTKFLT, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGSTKFLT, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGCHLD, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGCHLD, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGURG, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGURG, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGXCPU, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGXCPU, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGXFSZ, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGXFSZ, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGVTALRM, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGVTALRM, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGPROF, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGPROF, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGWINCH, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGWINCH, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGIO, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGIO, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGPWR, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGPWR, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGSYS, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGSYS, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGRTMIN, 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, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGRT_3, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_3, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGRT_4, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_4, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGRT_5, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_5, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGRT_6, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_6, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGRT_7, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_7, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGRT_8, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_8, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGRT_9, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_9, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGRT_10, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_10, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGRT_11, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_11, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGRT_12, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_12, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGRT_13, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_13, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGRT_14, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_14, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGRT_15, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_15, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGRT_16, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_16, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGRT_17, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_17, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGRT_18, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_18, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGRT_19, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_19, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGRT_20, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_20, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGRT_21, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_21, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGRT_22, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_22, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGRT_23, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_23, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGRT_24, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_24, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGRT_25, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_25, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGRT_26, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_26, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGRT_27, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_27, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGRT_28, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_28, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGRT_29, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_29, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGRT_30, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_30, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGRT_31, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_31, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigaction(SIGRT_32, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGRT_32, {0x44dfc0, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x44dfe0}, NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[], [], 8) = 0
clone(child_stack=0xc82003dfc0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD) = 31928
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
mmap(NULL, 262144, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1a20bef000
rt_sigprocmask(SIG_SETMASK, ~[], [], 8) = 0
clone(child_stack=0xc820039fc0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD) = 31929
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) = 31930
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
futex(0x4b4908, FUTEX_WAIT, 0, NULL) = -1 EAGAIN (Resource temporarily unavailable)
futex(0xc82002e908, FUTEX_WAKE, 1) = 1
futex(0x4b4908, FUTEX_WAIT, 0, NULL) = 0
exit_group(0) = ?
+++ exited with 0 +++
package main
func main() {
}
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.