Advertisement
Guest User

strace of cat.

a guest
Feb 9th, 2016
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.32 KB | None | 0 0
  1. execve("/sbin/cat", ["cat", "../patches/tuxonice-for-linux-3."...], [/* 58 vars */]) = 0
  2. brk(0) = 0x20e9000
  3. open("/usr/lib/libtrash.so", O_RDONLY|O_CLOEXEC) = 3
  4. read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \27\0\0\0\0\0\0"..., 832) = 832
  5. fstat(3, {st_mode=S_IFREG|0755, st_size=39424, ...}) = 0
  6. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fad3c5cf000
  7. mmap(NULL, 2135032, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fad3c1a5000
  8. mprotect(0x7fad3c1ae000, 2097152, PROT_NONE) = 0
  9. mmap(0x7fad3c3ae000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9000) = 0x7fad3c3ae000
  10. close(3) = 0
  11. access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
  12. open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
  13. fstat(3, {st_mode=S_IFREG|0644, st_size=601829, ...}) = 0
  14. mmap(NULL, 601829, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fad3c53c000
  15. close(3) = 0
  16. open("/usr/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
  17. read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000\7\2\0\0\0\0\0"..., 832) = 832
  18. fstat(3, {st_mode=S_IFREG|0755, st_size=1991416, ...}) = 0
  19. mmap(NULL, 3815984, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fad3be01000
  20. mprotect(0x7fad3bf9c000, 2093056, PROT_NONE) = 0
  21. mmap(0x7fad3c19b000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x19a000) = 0x7fad3c19b000
  22. mmap(0x7fad3c1a1000, 14896, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fad3c1a1000
  23. close(3) = 0
  24. open("/usr/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
  25. read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\16\0\0\0\0\0\0"..., 832) = 832
  26. fstat(3, {st_mode=S_IFREG|0755, st_size=14576, ...}) = 0
  27. mmap(NULL, 2109712, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fad3bbfd000
  28. mprotect(0x7fad3bc00000, 2093056, PROT_NONE) = 0
  29. mmap(0x7fad3bdff000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fad3bdff000
  30. close(3) = 0
  31. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fad3c53b000
  32. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fad3c53a000
  33. mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fad3c539000
  34. arch_prctl(ARCH_SET_FS, 0x7fad3c53a700) = 0
  35. mprotect(0x7fad3c19b000, 16384, PROT_READ) = 0
  36. mprotect(0x7fad3bdff000, 4096, PROT_READ) = 0
  37. mprotect(0x60b000, 4096, PROT_READ) = 0
  38. mprotect(0x7fad3c5d0000, 4096, PROT_READ) = 0
  39. munmap(0x7fad3c53c000, 601829) = 0
  40. brk(0) = 0x20e9000
  41. brk(0x210a000) = 0x210a000
  42. open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
  43. fstat(3, {st_mode=S_IFREG|0644, st_size=3937808, ...}) = 0
  44. mmap(NULL, 3937808, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fad3b83b000
  45. close(3) = 0
  46. fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
  47. open("../patches/tuxonice-for-linux-3.18.21-2015-09-08.patch", O_RDONLY) = 3
  48. fstat(3, {st_mode=S_IFREG|0644, st_size=634650, ...}) = 0
  49. fadvise64(3, 0, 0, POSIX_FADV_SEQUENTIAL) = 0
  50. mmap(NULL, 139264, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fad3c5ad000
  51. read(3, "diff --git a/Documentation/kerne"..., 131072) = 131072
  52. write(1, "diff --git a/Documentation/kerne"..., 131072) = 131072
  53. read(3, "NFIG_PM_WAKELOCKS */\n+\n+#ifdef C"..., 131072) = 131072
  54. write(1, "NFIG_PM_WAKELOCKS */\n+\n+#ifdef C"..., 131072) = 131072
  55. read(3, "* We don't do a sanity check her"..., 131072) = 131072
  56. write(1, "* We don't do a sanity check her"..., 131072) = 131072
  57. read(3, "to use mutex_lock_nested below. "..., 131072) = 131072
  58. write(1, "to use mutex_lock_nested below. "..., 131072) = 131072
  59. read(3, "available = get_lowmem_size(page"..., 131072) = 110362
  60. write(1, "available = get_lowmem_size(page"..., 110362) = 110362
  61. read(3, "", 131072) = 0
  62. munmap(0x7fad3c5ad000, 139264) = 0
  63. close(3) = 0
  64. close(1) = 0
  65. close(2) = 0
  66. exit_group(0) = ?
  67. +++ exited with 0 +++
  68. patch: **** can't open file Documentation/kernel-parameters.txt : Bad file descriptor
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement