Created
June 23, 2014 09:39
-
-
Save ncopa/a9eb06c199c3f8831692 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a1:~/1# strace logger test2 | |
execve("/usr/bin/logger", ["logger", "test2"], [/* 12 vars */]) = 0 | |
mprotect(0x67c1af613000, 4096, PROT_READ) = 0 | |
mprotect(0x4a5a5e29000, 16384, PROT_READ) = 0 | |
arch_prctl(ARCH_SET_FS, 0x67c1af617048) = 0 | |
set_tid_address(0x67c1af617078) = 436 | |
getpid() = 436 | |
getuid() = 0 | |
geteuid() = 0 | |
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3 | |
fcntl(3, F_SETFD, FD_CLOEXEC) = 0 | |
fcntl(3, F_SETFD, FD_CLOEXEC) = 0 | |
readv(3, [{"", 0}, {"root:x:0:0:root:/root:/bin/ash\nb"..., 1024}], 2) = 1024 | |
lseek(3, -993, SEEK_CUR) = 31 | |
close(3) = 0 | |
socket(PF_LOCAL, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 3 | |
connect(3, {sa_family=AF_LOCAL, sun_path="/dev/log"}, 12) = 0 | |
sendto(3, "<13>Jun 23 09:37:33 root: test2\n", 32, 0, NULL, 0) = 32 | |
close(3) = 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