Skip to content

Instantly share code, notes, and snippets.

@kierangrant
kierangrant / strace.txt.104
Created May 3, 2017 08:36
strace logs for Set TTY Process Group Bug
execve("/bin/sh", ["sh", "./set-m.sh"], [/* 16 vars */]) = 0
brk(NULL) = 0x7fffbdc4d000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5374de0000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=23889, ...}) = 0
mmap(NULL, 23889, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f5374de7000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)