Skip to content

Instantly share code, notes, and snippets.

@jonatino
Created March 28, 2018 01:07
Show Gist options
  • Save jonatino/f49bac5ff75a35e724e1558214f25a7e to your computer and use it in GitHub Desktop.
Save jonatino/f49bac5ff75a35e724e1558214f25a7e to your computer and use it in GitHub Desktop.
601 execve("/sbin/tc", ["tc", "qdisc", "show"], [/* 20 vars */]) = 0
601 brk(NULL) = 0x21db000
601 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
601 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
601 open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
601 fstat(3, {st_mode=S_IFREG|0644, st_size=34329, ...}) = 0
601 mmap(NULL, 34329, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f4d9f59a000
601 close(3) = 0
601 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
601 open("/lib/x86_64-linux-gnu/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
601 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0V\0\0\0\0\0\0"..., 832) = 832
601 fstat(3, {st_mode=S_IFREG|0644, st_size=1088952, ...}) = 0
601 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4d9f590000
601 mmap(NULL, 3178744, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f4d9eef0000
601 mprotect(0x7f4d9eff8000, 2093056, PROT_NONE) = 0
601 mmap(0x7f4d9f1f7000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x107000) = 0x7f4d9f1f7000
601 close(3) = 0
601 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
601 open("/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
601 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240\r\0\0\0\0\0\0"..., 832) = 832
601 fstat(3, {st_mode=S_IFREG|0644, st_size=14608, ...}) = 0
601 mmap(NULL, 2109680, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f4d9ece0000
601 mprotect(0x7f4d9ece3000, 2093056, PROT_NONE) = 0
601 mmap(0x7f4d9eee2000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f4d9eee2000
601 close(3) = 0
601 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
601 open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
601 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\t\2\0\0\0\0\0"..., 832) = 832
601 fstat(3, {st_mode=S_IFREG|0755, st_size=1868984, ...}) = 0
601 mmap(NULL, 3971488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f4d9e910000
601 mprotect(0x7f4d9ead0000, 2097152, PROT_NONE) = 0
601 mmap(0x7f4d9ecd0000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1c0000) = 0x7f4d9ecd0000
601 mmap(0x7f4d9ecd6000, 14752, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f4d9ecd6000
601 close(3) = 0
601 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4d9f580000
601 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4d9f570000
601 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4d9f560000
601 arch_prctl(ARCH_SET_FS, 0x7f4d9f570700) = 0
601 mprotect(0x7f4d9ecd0000, 16384, PROT_READ) = 0
601 mprotect(0x7f4d9eee2000, 4096, PROT_READ) = 0
601 mprotect(0x7f4d9f1f7000, 4096, PROT_READ) = 0
601 mprotect(0x64b000, 4096, PROT_READ) = 0
601 mprotect(0x7f4d9f425000, 4096, PROT_READ) = 0
601 munmap(0x7f4d9f59a000, 34329) = 0
601 brk(NULL) = 0x21db000
601 brk(0x21fc000) = 0x21fc000
601 open("/proc/net/psched", O_RDONLY) = -1 ENOENT (No such file or directory)
601 socket(PF_NETLINK, SOCK_RAW|SOCK_CLOEXEC, NETLINK_ROUTE) = 3
601 setsockopt(3, SOL_SOCKET, SO_SNDBUF, [32768], 4) = 0
601 setsockopt(3, SOL_SOCKET, SO_RCVBUF, [1048576], 4) = 0
601 bind(3, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0
601 getsockname(3, {sa_family=AF_NETLINK, pid=601, groups=00000000}, [12]) = 0
601 time(NULL) = 1522199162
601 sendto(3, "(\0\0\0\22\0\1\3{\352\272Z\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 40, 0, NULL, 0) = 40
601 recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"P\0\0\0\20\0\2\0{\352\272ZY\2\0\0\0\0\1\0\r\0\0\0C\20\0\0\0\0\0\0"..., 32768}], msg_controllen=0, msg_flags=0}, 0) = 80
601 recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"P\0\0\0\20\0\2\0{\352\272ZY\2\0\0\0\0\1\0\16\0\0\0C\20\0\0\0\0\0\0"..., 32768}], msg_controllen=0, msg_flags=0}, 0) = 80
601 recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"P\0\0\0\20\0\2\0{\352\272ZY\2\0\0\0\0\1\0\v\0\0\0C\20\0\0\0\0\0\0"..., 32768}], msg_controllen=0, msg_flags=0}, 0) = 80
601 recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"L\0\0\0\20\0\2\0{\352\272ZY\2\0\0\0\0\4\3\1\0\0\0I\0\0\0\0\0\0\0"..., 32768}], msg_controllen=0, msg_flags=0}, 0) = 76
601 recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"X\0\0\0\20\0\2\0{\352\272ZY\2\0\0\0\0\1\0\n\0\0\0@\0\0\0\0\0\0\0"..., 32768}], msg_controllen=0, msg_flags=0}, 0) = 88
601 recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\20\0\0\0\3\0\2\0{\352\272ZY\2\0\0", 32768}], msg_controllen=0, msg_flags=0}, 0) = 16
601 sendmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(2)=[{"$\0\0\0&\0\1\3|\352\272Z\0\0\0\0", 16}, {"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 20}], msg_controllen=0, msg_flags=0}, 0) = 36
601 recvmsg(3, 0x7fffdaa8a610, 0) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
601 --- SIGINT {si_signo=SIGINT, si_code=SI_KERNEL} ---
601 +++ killed by SIGINT +++
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment