Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

truss -f ./test.sh 2> test.log | (sleep 10; wc -c);

By: pmiklos on Dec 19th, 2012  |  syntax: None  |  size: 286.07 KB  |  views: 8  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. 5961:   write(1, " / t m p :\t\t d i r e c".., 17)      = 17
  2. 5509:   read(10, " / t m p :\t\t d i r e c".., 1024)    = 17
  3. 5961:   close(1)                                        = 0
  4. 5961:   _exit(0)
  5. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  6. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  7. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  8. 5509:   read(10, 0x08046984, 1024)                      = 0
  9. 5509:   ioctl(10, TCGETA, 0x08046458)                   Err#22 EINVAL
  10. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  11. 5509:   waitid(P_ALL, 0, 0x08046810, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED) = 0
  12. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  13. 5509:   close(10)                                       = 0
  14. 5508:   read(0, " 0", 1)                                = 1
  15. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  16. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  17. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  18. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 1
  19. 5508:   read(0, " 1 2 3 4 5 6 7 8 9 A B C".., 63)       = 63
  20. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  21. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  22. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  23. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 0
  24. 5508:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  25. 5509:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  26. 5509:   pipe()                                          = 3 [4]
  27. 5509:   fcntl(3, F_DUPFD, 0x0000000A)                   = 10
  28. 5509:   close(3)                                        = 0
  29. 5509:   fcntl(4, F_DUPFD, 0x0000000A)                   = 11
  30. 5509:   close(4)                                        = 0
  31. 5509:   fork1()                                         = 5963
  32. 5509:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  33. 5963:   fork1()         (returning as child ...)        = 5509
  34. 5963:   getpid()                                        = 5963 [5509]
  35. 5509:   close(11)                                       = 0
  36. 5509:   fcntl(10, F_GETFL)                              = 2
  37. 5963:   lwp_self()                                      = 1
  38. 5509:   llseek(10, 0, SEEK_CUR)                         Err#29 ESPIPE
  39. 5509:   ioctl(10, TCGETS, 0x08089868)                   Err#22 EINVAL
  40. 5963:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  41. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  42. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  43. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  44. 5963:   getpid()                                        = 5963 [5509]
  45. 5963:   close(1)                                        = 0
  46. 5963:   fcntl(11, F_DUPFD, 0x00000001)                  = 1
  47. 5963:   close(11)                                       = 0
  48. 5963:   close(10)                                       = 0
  49. 5963:   close(11)                                       Err#9 EBADF
  50. 5963:   schedctl()                                      = 0xFEFF9000
  51. 5963:   lwp_sigmask(SIG_SETMASK, 0x00020000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  52. 5963:   stat64("/usr/bin/file", 0x08046600)             = 0
  53. 5963:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  54. 5963:   getpid()                                        = 5963 [5509]
  55. 5963:   execve("/usr/bin/file", 0x0808F4DC, 0x0808F530)  argc = 2
  56. 5963:   resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12
  57. 5963:   resolvepath("/usr/bin/file", "/usr/bin/file", 1023) = 13
  58. 5963:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  59. 5963:   xstat(2, "/usr/bin/file", 0x08047408)           = 0
  60. 5963:   open("/var/ld/ld.config", O_RDONLY)             Err#2 ENOENT
  61. 5963:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFF0000
  62. 5963:   xstat(2, "/usr/lib/gss/libelf.so.1", 0x08046C38) Err#2 ENOENT
  63. 5963:   xstat(2, "/lib/libelf.so.1", 0x08046C38)        = 0
  64. 5963:   resolvepath("/lib/libelf.so.1", "/lib/libelf.so.1", 1023) = 16
  65. 5963:   open("/lib/libelf.so.1", O_RDONLY)              = 3
  66. 5963:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  67. 5963:   mmap(0x00010000, 176128, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF80000
  68. 5963:   mmap(0xFEF80000, 103385, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF80000
  69. 5963:   mmap(0xFEFAA000, 2688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 106496) = 0xFEFAA000
  70. 5963:   munmap(0xFEF9A000, 65536)                       = 0
  71. 5963:   memcntl(0xFEF80000, 9512, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  72. 5963:   close(3)                                        = 0
  73. 5963:   xstat(2, "/usr/lib/gss/libdoor.so.1", 0x08046C38) Err#2 ENOENT
  74. 5963:   xstat(2, "/lib/libdoor.so.1", 0x08046C38)       = 0
  75. 5963:   resolvepath("/lib/libdoor.so.1", "/lib/libdoor.so.1", 1023) = 17
  76. 5963:   open("/lib/libdoor.so.1", O_RDONLY)             = 3
  77. 5963:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  78. 5963:   mmap(0x00010000, 73728, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF60000
  79. 5963:   mmap(0xFEF60000, 3595, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF60000
  80. 5963:   mmap(0xFEF71000, 328, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 4096) = 0xFEF71000
  81. 5963:   munmap(0xFEF61000, 65536)                       = 0
  82. 5963:   memcntl(0xFEF60000, 2048, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  83. 5963:   close(3)                                        = 0
  84. 5963:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  85. 5963:   xstat(2, "/lib/libc.so.1", 0x08046C38)          = 0
  86. 5963:   resolvepath("/lib/libc.so.1", "/lib/libc.so.1", 1023) = 14
  87. 5963:   open("/lib/libc.so.1", O_RDONLY)                = 3
  88. 5963:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  89. 5963:   mmap(0x00010000, 880640, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE80000
  90. 5963:   mmap(0xFEE80000, 775581, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE80000
  91. 5963:   mmap(0xFEF4E000, 27239, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 778240) = 0xFEF4E000
  92. 5963:   mmap(0xFEF55000, 5392, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFEF55000
  93. 5963:   munmap(0xFEF3E000, 65536)                       = 0
  94. 5963:   memcntl(0xFEE80000, 123472, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  95. 5963:   close(3)                                        = 0
  96. 5963:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  97. 5963:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  98. 5963:   mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF40000
  99. 5963:   munmap(0xFEFB0000, 32768)                       = 0
  100. 5963:   getcontext(0x080471C0)
  101. 5963:   getrlimit(RLIMIT_STACK, 0x080471B8)             = 0
  102. 5963:   getpid()                                        = 5963 [5509]
  103. 5963:   lwp_private(0, 1, 0xFEF42A00)                   = 0x000001C3
  104. 5963:   setustack(0xFEF42A60)
  105. 5963:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFC0000
  106. 5963:   sysi86(SI86FPSTART, 0xFEF55BC0, 0x0000133F, 0x00001F80) = 0x00000001
  107. 5963:   brk(0x08068FD0)                                 = 0
  108. 5963:   brk(0x0806AFD0)                                 = 0
  109. 5963:   xstat(2, "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 0x08046630) = 0
  110. 5963:   resolvepath("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 1023) = 44
  111. 5963:   open("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", O_RDONLY) = 3
  112. 5963:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  113. 5963:   mmap(0x00010000, 2297856, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEC00000
  114. 5963:   mmap(0xFEC00000, 2225278, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEC00000
  115. 5963:   mmap(0xFEE2F000, 4234, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 2224128) = 0xFEE2F000
  116. 5963:   munmap(0xFEE20000, 61440)                       = 0
  117. 5963:   memcntl(0xFEC00000, 7188, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  118. 5963:   close(3)                                        = 0
  119. 5963:   xstat(2, "/usr/lib/gss/methods_en_US.UTF-8.so.3", 0x08046588) Err#2 ENOENT
  120. 5963:   xstat(2, "/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", 0x08046588) = 0
  121. 5963:   resolvepath("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", "/usr/lib/locale/common/methods_unicode.so.3", 1023) = 43
  122. 5963:   open("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", O_RDONLY) = 3
  123. 5963:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  124. 5963:   mmap(0x00010000, 122880, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE60000
  125. 5963:   mmap(0xFEE60000, 55437, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE60000
  126. 5963:   mmap(0xFEE7D000, 2524, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 53248) = 0xFEE7D000
  127. 5963:   munmap(0xFEE6E000, 61440)                       = 0
  128. 5963:   memcntl(0xFEE60000, 2532, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  129. 5963:   close(3)                                        = 0
  130. 5963:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046588)  Err#2 ENOENT
  131. 5963:   xstat(2, "/usr/lib/locale/en_US.UTF-8/libc.so.1", 0x08046588) Err#2 ENOENT
  132. 5963:   munmap(0xFEFB0000, 32768)                       = 0
  133. 5963:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  134. 5963:   xstat(2, "/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/magic", 0x08047550) Err#2 ENOENT
  135. 5963:   brk(0x0806AFD0)                                 = 0
  136. 5963:   brk(0x0806CFD0)                                 = 0
  137. 5963:   open("/etc/magic", O_RDONLY)                    = 3
  138. 5963:   fstat64(3, 0x08047450)                          = 0
  139. 5963:   brk(0x0806CFD0)                                 = 0
  140. 5963:   brk(0x0806EFD0)                                 = 0
  141. 5963:   fstat64(3, 0x08047390)                          = 0
  142. 5963:   ioctl(3, TCGETA, 0x08047424)                    Err#25 ENOTTY
  143. 5963:   read(3, " #\n #   C o p y r i g h".., 8192)     = 8192
  144. 5963:   brk(0x0806EFD0)                                 = 0
  145. 5963:   brk(0x08070FD0)                                 = 0
  146. 5963:   read(3, " e & 0 x 8 0\t > 0\t\t b".., 8192)     = 8192
  147. 5963:   brk(0x08070FD0)                                 = 0
  148. 5963:   brk(0x08072FD0)                                 = 0
  149. 5963:   read(3, " n g\t\t - 2 . 0\t\t   2".., 8192)     = 1135
  150. 5963:   brk(0x08072FD0)                                 = 0
  151. 5963:   brk(0x08072FD0)                                 = 0
  152. 5963:   brk(0x08074FD0)                                 = 0
  153. 5963:   read(3, 0x0806BA4C, 8192)                       = 0
  154. 5963:   llseek(3, 0, SEEK_CUR)                          = 17519
  155. 5963:   close(3)                                        = 0
  156. 5963:   ioctl(1, TCGETA, 0x08046934)                    Err#22 EINVAL
  157. 5963:   fstat64(1, 0x08046960)                          = 0
  158. 5963:   fstat64(1, 0x080468A0)                          = 0
  159. 5963:   stat64("/tmp", 0x08068800)                      = 0
  160. 5963:   open("/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/SUNW_OST_OSCMD.mo", O_RDONLY) Err#2 ENOENT
  161. 5963:   write(1, " / t m p :\t\t d i r e c".., 17)      = 17
  162. 5509:   read(10, " / t m p :\t\t d i r e c".., 1024)    = 17
  163. 5963:   close(1)                                        = 0
  164. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  165. 5963:   _exit(0)
  166. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  167. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  168. 5509:   read(10, 0x08046984, 1024)                      = 0
  169. 5509:   ioctl(10, TCGETA, 0x08046458)                   Err#22 EINVAL
  170. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  171. 5509:   waitid(P_ALL, 0, 0x08046810, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED) = 0
  172. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  173. 5509:   close(10)                                       = 0
  174. 5509:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  175. 5508:   read(0, " 0", 1)                                = 1
  176. 5509:   pipe()                                          = 3 [4]
  177. 5509:   fcntl(3, F_DUPFD, 0x0000000A)                   = 10
  178. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  179. 5509:   close(3)                                        = 0
  180. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  181. 5509:   fcntl(4, F_DUPFD, 0x0000000A)                   = 11
  182. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  183. 5509:   close(4)                                        = 0
  184. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 1
  185. 5508:   read(0, " 1 2 3 4 5 6 7 8 9 A B C".., 63)       = 63
  186. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  187. 5509:   fork1()                                         = 5965
  188. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  189. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  190. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 0
  191. 5508:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  192. 5509:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  193. 5965:   fork1()         (returning as child ...)        = 5509
  194. 5509:   close(11)                                       = 0
  195. 5965:   getpid()                                        = 5965 [5509]
  196. 5509:   fcntl(10, F_GETFL)                              = 2
  197. 5509:   llseek(10, 0, SEEK_CUR)                         Err#29 ESPIPE
  198. 5965:   lwp_self()                                      = 1
  199. 5509:   ioctl(10, TCGETS, 0x08089868)                   Err#22 EINVAL
  200. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  201. 5965:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  202. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  203. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  204. 5965:   getpid()                                        = 5965 [5509]
  205. 5965:   close(1)                                        = 0
  206. 5965:   fcntl(11, F_DUPFD, 0x00000001)                  = 1
  207. 5965:   close(11)                                       = 0
  208. 5965:   close(10)                                       = 0
  209. 5965:   close(11)                                       Err#9 EBADF
  210. 5965:   schedctl()                                      = 0xFEFBA000
  211. 5965:   lwp_sigmask(SIG_SETMASK, 0x00020000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  212. 5965:   stat64("/usr/bin/file", 0x08046600)             = 0
  213. 5965:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  214. 5965:   getpid()                                        = 5965 [5509]
  215. 5965:   execve("/usr/bin/file", 0x0808F4DC, 0x0808F530)  argc = 2
  216. 5965:   resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12
  217. 5965:   resolvepath("/usr/bin/file", "/usr/bin/file", 1023) = 13
  218. 5965:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  219. 5965:   xstat(2, "/usr/bin/file", 0x08047408)           = 0
  220. 5965:   open("/var/ld/ld.config", O_RDONLY)             Err#2 ENOENT
  221. 5965:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFF0000
  222. 5965:   xstat(2, "/usr/lib/gss/libelf.so.1", 0x08046C38) Err#2 ENOENT
  223. 5965:   xstat(2, "/lib/libelf.so.1", 0x08046C38)        = 0
  224. 5965:   resolvepath("/lib/libelf.so.1", "/lib/libelf.so.1", 1023) = 16
  225. 5965:   open("/lib/libelf.so.1", O_RDONLY)              = 3
  226. 5965:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  227. 5965:   mmap(0x00010000, 176128, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF80000
  228. 5965:   mmap(0xFEF80000, 103385, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF80000
  229. 5965:   mmap(0xFEFAA000, 2688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 106496) = 0xFEFAA000
  230. 5965:   munmap(0xFEF9A000, 65536)                       = 0
  231. 5965:   memcntl(0xFEF80000, 9512, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  232. 5965:   close(3)                                        = 0
  233. 5965:   xstat(2, "/usr/lib/gss/libdoor.so.1", 0x08046C38) Err#2 ENOENT
  234. 5965:   xstat(2, "/lib/libdoor.so.1", 0x08046C38)       = 0
  235. 5965:   resolvepath("/lib/libdoor.so.1", "/lib/libdoor.so.1", 1023) = 17
  236. 5965:   open("/lib/libdoor.so.1", O_RDONLY)             = 3
  237. 5965:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  238. 5965:   mmap(0x00010000, 73728, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF60000
  239. 5965:   mmap(0xFEF60000, 3595, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF60000
  240. 5965:   mmap(0xFEF71000, 328, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 4096) = 0xFEF71000
  241. 5965:   munmap(0xFEF61000, 65536)                       = 0
  242. 5965:   memcntl(0xFEF60000, 2048, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  243. 5965:   close(3)                                        = 0
  244. 5965:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  245. 5965:   xstat(2, "/lib/libc.so.1", 0x08046C38)          = 0
  246. 5965:   resolvepath("/lib/libc.so.1", "/lib/libc.so.1", 1023) = 14
  247. 5965:   open("/lib/libc.so.1", O_RDONLY)                = 3
  248. 5965:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  249. 5965:   mmap(0x00010000, 880640, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE80000
  250. 5965:   mmap(0xFEE80000, 775581, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE80000
  251. 5965:   mmap(0xFEF4E000, 27239, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 778240) = 0xFEF4E000
  252. 5965:   mmap(0xFEF55000, 5392, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFEF55000
  253. 5965:   munmap(0xFEF3E000, 65536)                       = 0
  254. 5965:   memcntl(0xFEE80000, 123472, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  255. 5965:   close(3)                                        = 0
  256. 5965:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  257. 5965:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  258. 5965:   mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF40000
  259. 5965:   munmap(0xFEFB0000, 32768)                       = 0
  260. 5965:   getcontext(0x080471C0)
  261. 5965:   getrlimit(RLIMIT_STACK, 0x080471B8)             = 0
  262. 5965:   getpid()                                        = 5965 [5509]
  263. 5965:   lwp_private(0, 1, 0xFEF42A00)                   = 0x000001C3
  264. 5965:   setustack(0xFEF42A60)
  265. 5965:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFC0000
  266. 5965:   sysi86(SI86FPSTART, 0xFEF55BC0, 0x0000133F, 0x00001F80) = 0x00000001
  267. 5965:   brk(0x08068FD0)                                 = 0
  268. 5965:   brk(0x0806AFD0)                                 = 0
  269. 5965:   xstat(2, "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 0x08046630) = 0
  270. 5965:   resolvepath("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 1023) = 44
  271. 5965:   open("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", O_RDONLY) = 3
  272. 5965:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  273. 5965:   mmap(0x00010000, 2297856, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEC00000
  274. 5965:   mmap(0xFEC00000, 2225278, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEC00000
  275. 5965:   mmap(0xFEE2F000, 4234, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 2224128) = 0xFEE2F000
  276. 5965:   munmap(0xFEE20000, 61440)                       = 0
  277. 5965:   memcntl(0xFEC00000, 7188, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  278. 5965:   close(3)                                        = 0
  279. 5965:   xstat(2, "/usr/lib/gss/methods_en_US.UTF-8.so.3", 0x08046588) Err#2 ENOENT
  280. 5965:   xstat(2, "/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", 0x08046588) = 0
  281. 5965:   resolvepath("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", "/usr/lib/locale/common/methods_unicode.so.3", 1023) = 43
  282. 5965:   open("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", O_RDONLY) = 3
  283. 5965:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  284. 5965:   mmap(0x00010000, 122880, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE60000
  285. 5965:   mmap(0xFEE60000, 55437, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE60000
  286. 5965:   mmap(0xFEE7D000, 2524, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 53248) = 0xFEE7D000
  287. 5965:   munmap(0xFEE6E000, 61440)                       = 0
  288. 5965:   memcntl(0xFEE60000, 2532, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  289. 5965:   close(3)                                        = 0
  290. 5965:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046588)  Err#2 ENOENT
  291. 5965:   xstat(2, "/usr/lib/locale/en_US.UTF-8/libc.so.1", 0x08046588) Err#2 ENOENT
  292. 5965:   munmap(0xFEFB0000, 32768)                       = 0
  293. 5965:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  294. 5965:   xstat(2, "/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/magic", 0x08047550) Err#2 ENOENT
  295. 5965:   brk(0x0806AFD0)                                 = 0
  296. 5965:   brk(0x0806CFD0)                                 = 0
  297. 5965:   open("/etc/magic", O_RDONLY)                    = 3
  298. 5965:   fstat64(3, 0x08047450)                          = 0
  299. 5965:   brk(0x0806CFD0)                                 = 0
  300. 5965:   brk(0x0806EFD0)                                 = 0
  301. 5965:   fstat64(3, 0x08047390)                          = 0
  302. 5965:   ioctl(3, TCGETA, 0x08047424)                    Err#25 ENOTTY
  303. 5965:   read(3, " #\n #   C o p y r i g h".., 8192)     = 8192
  304. 5965:   brk(0x0806EFD0)                                 = 0
  305. 5965:   brk(0x08070FD0)                                 = 0
  306. 5965:   read(3, " e & 0 x 8 0\t > 0\t\t b".., 8192)     = 8192
  307. 5965:   brk(0x08070FD0)                                 = 0
  308. 5965:   brk(0x08072FD0)                                 = 0
  309. 5965:   read(3, " n g\t\t - 2 . 0\t\t   2".., 8192)     = 1135
  310. 5965:   brk(0x08072FD0)                                 = 0
  311. 5965:   brk(0x08072FD0)                                 = 0
  312. 5965:   brk(0x08074FD0)                                 = 0
  313. 5965:   read(3, 0x0806BA4C, 8192)                       = 0
  314. 5965:   llseek(3, 0, SEEK_CUR)                          = 17519
  315. 5965:   close(3)                                        = 0
  316. 5965:   ioctl(1, TCGETA, 0x08046934)                    Err#22 EINVAL
  317. 5965:   fstat64(1, 0x08046960)                          = 0
  318. 5965:   fstat64(1, 0x080468A0)                          = 0
  319. 5965:   stat64("/tmp", 0x08068800)                      = 0
  320. 5965:   open("/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/SUNW_OST_OSCMD.mo", O_RDONLY) Err#2 ENOENT
  321. 5965:   write(1, " / t m p :\t\t d i r e c".., 17)      = 17
  322. 5509:   read(10, " / t m p :\t\t d i r e c".., 1024)    = 17
  323. 5965:   close(1)                                        = 0
  324. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  325. 5965:   _exit(0)
  326. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  327. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  328. 5509:   read(10, 0x08046984, 1024)                      = 0
  329. 5509:   ioctl(10, TCGETA, 0x08046458)                   Err#22 EINVAL
  330. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  331. 5509:   waitid(P_ALL, 0, 0x08046810, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED) = 0
  332. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  333. 5509:   close(10)                                       = 0
  334. 5509:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  335. 5508:   read(0, " 0", 1)                                = 1
  336. 5509:   pipe()                                          = 3 [4]
  337. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  338. 5509:   fcntl(3, F_DUPFD, 0x0000000A)                   = 10
  339. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  340. 5509:   close(3)                                        = 0
  341. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  342. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 1
  343. 5509:   fcntl(4, F_DUPFD, 0x0000000A)                   = 11
  344. 5509:   close(4)                                        = 0
  345. 5508:   read(0, " 1 2 3 4 5 6 7 8 9 A B C".., 63)       = 63
  346. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  347. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  348. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  349. 5509:   fork1()                                         = 5967
  350. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 0
  351. 5508:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  352. 5509:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  353. 5967:   fork1()         (returning as child ...)        = 5509
  354. 5509:   close(11)                                       = 0
  355. 5509:   fcntl(10, F_GETFL)                              = 2
  356. 5967:   getpid()                                        = 5967 [5509]
  357. 5509:   llseek(10, 0, SEEK_CUR)                         Err#29 ESPIPE
  358. 5967:   lwp_self()                                      = 1
  359. 5509:   ioctl(10, TCGETS, 0x08089868)                   Err#22 EINVAL
  360. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  361. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  362. 5967:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  363. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  364. 5967:   getpid()                                        = 5967 [5509]
  365. 5967:   close(1)                                        = 0
  366. 5967:   fcntl(11, F_DUPFD, 0x00000001)                  = 1
  367. 5967:   close(11)                                       = 0
  368. 5967:   close(10)                                       = 0
  369. 5967:   close(11)                                       Err#9 EBADF
  370. 5967:   schedctl()                                      = 0xFEFED000
  371. 5967:   lwp_sigmask(SIG_SETMASK, 0x00020000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  372. 5967:   stat64("/usr/bin/file", 0x08046600)             = 0
  373. 5967:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  374. 5967:   getpid()                                        = 5967 [5509]
  375. 5967:   execve("/usr/bin/file", 0x0808F4DC, 0x0808F530)  argc = 2
  376. 5967:   resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12
  377. 5967:   resolvepath("/usr/bin/file", "/usr/bin/file", 1023) = 13
  378. 5967:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  379. 5967:   xstat(2, "/usr/bin/file", 0x08047408)           = 0
  380. 5967:   open("/var/ld/ld.config", O_RDONLY)             Err#2 ENOENT
  381. 5967:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFF0000
  382. 5967:   xstat(2, "/usr/lib/gss/libelf.so.1", 0x08046C38) Err#2 ENOENT
  383. 5967:   xstat(2, "/lib/libelf.so.1", 0x08046C38)        = 0
  384. 5967:   resolvepath("/lib/libelf.so.1", "/lib/libelf.so.1", 1023) = 16
  385. 5967:   open("/lib/libelf.so.1", O_RDONLY)              = 3
  386. 5967:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  387. 5967:   mmap(0x00010000, 176128, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF80000
  388. 5967:   mmap(0xFEF80000, 103385, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF80000
  389. 5967:   mmap(0xFEFAA000, 2688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 106496) = 0xFEFAA000
  390. 5967:   munmap(0xFEF9A000, 65536)                       = 0
  391. 5967:   memcntl(0xFEF80000, 9512, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  392. 5967:   close(3)                                        = 0
  393. 5967:   xstat(2, "/usr/lib/gss/libdoor.so.1", 0x08046C38) Err#2 ENOENT
  394. 5967:   xstat(2, "/lib/libdoor.so.1", 0x08046C38)       = 0
  395. 5967:   resolvepath("/lib/libdoor.so.1", "/lib/libdoor.so.1", 1023) = 17
  396. 5967:   open("/lib/libdoor.so.1", O_RDONLY)             = 3
  397. 5967:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  398. 5967:   mmap(0x00010000, 73728, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF60000
  399. 5967:   mmap(0xFEF60000, 3595, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF60000
  400. 5967:   mmap(0xFEF71000, 328, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 4096) = 0xFEF71000
  401. 5967:   munmap(0xFEF61000, 65536)                       = 0
  402. 5967:   memcntl(0xFEF60000, 2048, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  403. 5967:   close(3)                                        = 0
  404. 5967:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  405. 5967:   xstat(2, "/lib/libc.so.1", 0x08046C38)          = 0
  406. 5967:   resolvepath("/lib/libc.so.1", "/lib/libc.so.1", 1023) = 14
  407. 5967:   open("/lib/libc.so.1", O_RDONLY)                = 3
  408. 5967:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  409. 5967:   mmap(0x00010000, 880640, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE80000
  410. 5967:   mmap(0xFEE80000, 775581, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE80000
  411. 5967:   mmap(0xFEF4E000, 27239, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 778240) = 0xFEF4E000
  412. 5967:   mmap(0xFEF55000, 5392, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFEF55000
  413. 5967:   munmap(0xFEF3E000, 65536)                       = 0
  414. 5967:   memcntl(0xFEE80000, 123472, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  415. 5967:   close(3)                                        = 0
  416. 5967:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  417. 5967:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  418. 5967:   mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF40000
  419. 5967:   munmap(0xFEFB0000, 32768)                       = 0
  420. 5967:   getcontext(0x080471C0)
  421. 5967:   getrlimit(RLIMIT_STACK, 0x080471B8)             = 0
  422. 5967:   getpid()                                        = 5967 [5509]
  423. 5967:   lwp_private(0, 1, 0xFEF42A00)                   = 0x000001C3
  424. 5967:   setustack(0xFEF42A60)
  425. 5967:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFC0000
  426. 5967:   sysi86(SI86FPSTART, 0xFEF55BC0, 0x0000133F, 0x00001F80) = 0x00000001
  427. 5967:   brk(0x08068FD0)                                 = 0
  428. 5967:   brk(0x0806AFD0)                                 = 0
  429. 5967:   xstat(2, "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 0x08046630) = 0
  430. 5967:   resolvepath("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 1023) = 44
  431. 5967:   open("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", O_RDONLY) = 3
  432. 5967:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  433. 5967:   mmap(0x00010000, 2297856, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEC00000
  434. 5967:   mmap(0xFEC00000, 2225278, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEC00000
  435. 5967:   mmap(0xFEE2F000, 4234, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 2224128) = 0xFEE2F000
  436. 5967:   munmap(0xFEE20000, 61440)                       = 0
  437. 5967:   memcntl(0xFEC00000, 7188, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  438. 5967:   close(3)                                        = 0
  439. 5967:   xstat(2, "/usr/lib/gss/methods_en_US.UTF-8.so.3", 0x08046588) Err#2 ENOENT
  440. 5967:   xstat(2, "/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", 0x08046588) = 0
  441. 5967:   resolvepath("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", "/usr/lib/locale/common/methods_unicode.so.3", 1023) = 43
  442. 5967:   open("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", O_RDONLY) = 3
  443. 5967:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  444. 5967:   mmap(0x00010000, 122880, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE60000
  445. 5967:   mmap(0xFEE60000, 55437, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE60000
  446. 5967:   mmap(0xFEE7D000, 2524, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 53248) = 0xFEE7D000
  447. 5967:   munmap(0xFEE6E000, 61440)                       = 0
  448. 5967:   memcntl(0xFEE60000, 2532, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  449. 5967:   close(3)                                        = 0
  450. 5967:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046588)  Err#2 ENOENT
  451. 5967:   xstat(2, "/usr/lib/locale/en_US.UTF-8/libc.so.1", 0x08046588) Err#2 ENOENT
  452. 5967:   munmap(0xFEFB0000, 32768)                       = 0
  453. 5967:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  454. 5967:   xstat(2, "/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/magic", 0x08047550) Err#2 ENOENT
  455. 5967:   brk(0x0806AFD0)                                 = 0
  456. 5967:   brk(0x0806CFD0)                                 = 0
  457. 5967:   open("/etc/magic", O_RDONLY)                    = 3
  458. 5967:   fstat64(3, 0x08047450)                          = 0
  459. 5967:   brk(0x0806CFD0)                                 = 0
  460. 5967:   brk(0x0806EFD0)                                 = 0
  461. 5967:   fstat64(3, 0x08047390)                          = 0
  462. 5967:   ioctl(3, TCGETA, 0x08047424)                    Err#25 ENOTTY
  463. 5967:   read(3, " #\n #   C o p y r i g h".., 8192)     = 8192
  464. 5967:   brk(0x0806EFD0)                                 = 0
  465. 5967:   brk(0x08070FD0)                                 = 0
  466. 5967:   read(3, " e & 0 x 8 0\t > 0\t\t b".., 8192)     = 8192
  467. 5967:   brk(0x08070FD0)                                 = 0
  468. 5967:   brk(0x08072FD0)                                 = 0
  469. 5967:   read(3, " n g\t\t - 2 . 0\t\t   2".., 8192)     = 1135
  470. 5967:   brk(0x08072FD0)                                 = 0
  471. 5967:   brk(0x08072FD0)                                 = 0
  472. 5967:   brk(0x08074FD0)                                 = 0
  473. 5967:   read(3, 0x0806BA4C, 8192)                       = 0
  474. 5967:   llseek(3, 0, SEEK_CUR)                          = 17519
  475. 5967:   close(3)                                        = 0
  476. 5967:   ioctl(1, TCGETA, 0x08046934)                    Err#22 EINVAL
  477. 5967:   fstat64(1, 0x08046960)                          = 0
  478. 5967:   fstat64(1, 0x080468A0)                          = 0
  479. 5967:   stat64("/tmp", 0x08068800)                      = 0
  480. 5967:   open("/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/SUNW_OST_OSCMD.mo", O_RDONLY) Err#2 ENOENT
  481. 5967:   write(1, " / t m p :\t\t d i r e c".., 17)      = 17
  482. 5509:   read(10, " / t m p :\t\t d i r e c".., 1024)    = 17
  483. 5967:   close(1)                                        = 0
  484. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  485. 5967:   _exit(0)
  486. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  487. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  488. 5509:   read(10, 0x08046984, 1024)                      = 0
  489. 5509:   ioctl(10, TCGETA, 0x08046458)                   Err#22 EINVAL
  490. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  491. 5509:   waitid(P_ALL, 0, 0x08046810, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED) = 0
  492. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  493. 5509:   close(10)                                       = 0
  494. 5509:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  495. 5509:   pipe()                                          = 3 [4]
  496. 5509:   fcntl(3, F_DUPFD, 0x0000000A)                   = 10
  497. 5509:   close(3)                                        = 0
  498. 5509:   fcntl(4, F_DUPFD, 0x0000000A)                   = 11
  499. 5509:   close(4)                                        = 0
  500. 5509:   fork1()                                         = 5969
  501. 5508:   read(0, " 0", 1)                                = 1
  502. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  503. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  504. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  505. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 1
  506. 5508:   read(0, " 1 2 3 4 5 6 7 8 9 A B C".., 63)       = 63
  507. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  508. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  509. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  510. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 0
  511. 5508:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  512. 5509:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  513. 5969:   fork1()         (returning as child ...)        = 5509
  514. 5509:   close(11)                                       = 0
  515. 5969:   getpid()                                        = 5969 [5509]
  516. 5509:   fcntl(10, F_GETFL)                              = 2
  517. 5509:   llseek(10, 0, SEEK_CUR)                         Err#29 ESPIPE
  518. 5969:   lwp_self()                                      = 1
  519. 5509:   ioctl(10, TCGETS, 0x08089868)                   Err#22 EINVAL
  520. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  521. 5969:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  522. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  523. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  524. 5969:   getpid()                                        = 5969 [5509]
  525. 5969:   close(1)                                        = 0
  526. 5969:   fcntl(11, F_DUPFD, 0x00000001)                  = 1
  527. 5969:   close(11)                                       = 0
  528. 5969:   close(10)                                       = 0
  529. 5969:   close(11)                                       Err#9 EBADF
  530. 5969:   schedctl()                                      = 0xFEFED000
  531. 5969:   lwp_sigmask(SIG_SETMASK, 0x00020000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  532. 5969:   stat64("/usr/bin/file", 0x08046600)             = 0
  533. 5969:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  534. 5969:   getpid()                                        = 5969 [5509]
  535. 5969:   execve("/usr/bin/file", 0x0808F4DC, 0x0808F530)  argc = 2
  536. 5969:   resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12
  537. 5969:   resolvepath("/usr/bin/file", "/usr/bin/file", 1023) = 13
  538. 5969:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  539. 5969:   xstat(2, "/usr/bin/file", 0x08047408)           = 0
  540. 5969:   open("/var/ld/ld.config", O_RDONLY)             Err#2 ENOENT
  541. 5969:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFF0000
  542. 5969:   xstat(2, "/usr/lib/gss/libelf.so.1", 0x08046C38) Err#2 ENOENT
  543. 5969:   xstat(2, "/lib/libelf.so.1", 0x08046C38)        = 0
  544. 5969:   resolvepath("/lib/libelf.so.1", "/lib/libelf.so.1", 1023) = 16
  545. 5969:   open("/lib/libelf.so.1", O_RDONLY)              = 3
  546. 5969:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  547. 5969:   mmap(0x00010000, 176128, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF80000
  548. 5969:   mmap(0xFEF80000, 103385, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF80000
  549. 5969:   mmap(0xFEFAA000, 2688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 106496) = 0xFEFAA000
  550. 5969:   munmap(0xFEF9A000, 65536)                       = 0
  551. 5969:   memcntl(0xFEF80000, 9512, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  552. 5969:   close(3)                                        = 0
  553. 5969:   xstat(2, "/usr/lib/gss/libdoor.so.1", 0x08046C38) Err#2 ENOENT
  554. 5969:   xstat(2, "/lib/libdoor.so.1", 0x08046C38)       = 0
  555. 5969:   resolvepath("/lib/libdoor.so.1", "/lib/libdoor.so.1", 1023) = 17
  556. 5969:   open("/lib/libdoor.so.1", O_RDONLY)             = 3
  557. 5969:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  558. 5969:   mmap(0x00010000, 73728, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF60000
  559. 5969:   mmap(0xFEF60000, 3595, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF60000
  560. 5969:   mmap(0xFEF71000, 328, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 4096) = 0xFEF71000
  561. 5969:   munmap(0xFEF61000, 65536)                       = 0
  562. 5969:   memcntl(0xFEF60000, 2048, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  563. 5969:   close(3)                                        = 0
  564. 5969:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  565. 5969:   xstat(2, "/lib/libc.so.1", 0x08046C38)          = 0
  566. 5969:   resolvepath("/lib/libc.so.1", "/lib/libc.so.1", 1023) = 14
  567. 5969:   open("/lib/libc.so.1", O_RDONLY)                = 3
  568. 5969:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  569. 5969:   mmap(0x00010000, 880640, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE80000
  570. 5969:   mmap(0xFEE80000, 775581, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE80000
  571. 5969:   mmap(0xFEF4E000, 27239, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 778240) = 0xFEF4E000
  572. 5969:   mmap(0xFEF55000, 5392, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFEF55000
  573. 5969:   munmap(0xFEF3E000, 65536)                       = 0
  574. 5969:   memcntl(0xFEE80000, 123472, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  575. 5969:   close(3)                                        = 0
  576. 5969:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  577. 5969:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  578. 5969:   mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF40000
  579. 5969:   munmap(0xFEFB0000, 32768)                       = 0
  580. 5969:   getcontext(0x080471C0)
  581. 5969:   getrlimit(RLIMIT_STACK, 0x080471B8)             = 0
  582. 5969:   getpid()                                        = 5969 [5509]
  583. 5969:   lwp_private(0, 1, 0xFEF42A00)                   = 0x000001C3
  584. 5969:   setustack(0xFEF42A60)
  585. 5969:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFC0000
  586. 5969:   sysi86(SI86FPSTART, 0xFEF55BC0, 0x0000133F, 0x00001F80) = 0x00000001
  587. 5969:   brk(0x08068FD0)                                 = 0
  588. 5969:   brk(0x0806AFD0)                                 = 0
  589. 5969:   xstat(2, "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 0x08046630) = 0
  590. 5969:   resolvepath("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 1023) = 44
  591. 5969:   open("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", O_RDONLY) = 3
  592. 5969:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  593. 5969:   mmap(0x00010000, 2297856, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEC00000
  594. 5969:   mmap(0xFEC00000, 2225278, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEC00000
  595. 5969:   mmap(0xFEE2F000, 4234, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 2224128) = 0xFEE2F000
  596. 5969:   munmap(0xFEE20000, 61440)                       = 0
  597. 5969:   memcntl(0xFEC00000, 7188, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  598. 5969:   close(3)                                        = 0
  599. 5969:   xstat(2, "/usr/lib/gss/methods_en_US.UTF-8.so.3", 0x08046588) Err#2 ENOENT
  600. 5969:   xstat(2, "/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", 0x08046588) = 0
  601. 5969:   resolvepath("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", "/usr/lib/locale/common/methods_unicode.so.3", 1023) = 43
  602. 5969:   open("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", O_RDONLY) = 3
  603. 5969:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  604. 5969:   mmap(0x00010000, 122880, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE60000
  605. 5969:   mmap(0xFEE60000, 55437, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE60000
  606. 5969:   mmap(0xFEE7D000, 2524, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 53248) = 0xFEE7D000
  607. 5969:   munmap(0xFEE6E000, 61440)                       = 0
  608. 5969:   memcntl(0xFEE60000, 2532, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  609. 5969:   close(3)                                        = 0
  610. 5969:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046588)  Err#2 ENOENT
  611. 5969:   xstat(2, "/usr/lib/locale/en_US.UTF-8/libc.so.1", 0x08046588) Err#2 ENOENT
  612. 5969:   munmap(0xFEFB0000, 32768)                       = 0
  613. 5969:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  614. 5969:   xstat(2, "/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/magic", 0x08047550) Err#2 ENOENT
  615. 5969:   brk(0x0806AFD0)                                 = 0
  616. 5969:   brk(0x0806CFD0)                                 = 0
  617. 5969:   open("/etc/magic", O_RDONLY)                    = 3
  618. 5969:   fstat64(3, 0x08047450)                          = 0
  619. 5969:   brk(0x0806CFD0)                                 = 0
  620. 5969:   brk(0x0806EFD0)                                 = 0
  621. 5969:   fstat64(3, 0x08047390)                          = 0
  622. 5969:   ioctl(3, TCGETA, 0x08047424)                    Err#25 ENOTTY
  623. 5969:   read(3, " #\n #   C o p y r i g h".., 8192)     = 8192
  624. 5969:   brk(0x0806EFD0)                                 = 0
  625. 5969:   brk(0x08070FD0)                                 = 0
  626. 5969:   read(3, " e & 0 x 8 0\t > 0\t\t b".., 8192)     = 8192
  627. 5969:   brk(0x08070FD0)                                 = 0
  628. 5969:   brk(0x08072FD0)                                 = 0
  629. 5969:   read(3, " n g\t\t - 2 . 0\t\t   2".., 8192)     = 1135
  630. 5969:   brk(0x08072FD0)                                 = 0
  631. 5969:   brk(0x08072FD0)                                 = 0
  632. 5969:   brk(0x08074FD0)                                 = 0
  633. 5969:   read(3, 0x0806BA4C, 8192)                       = 0
  634. 5969:   llseek(3, 0, SEEK_CUR)                          = 17519
  635. 5969:   close(3)                                        = 0
  636. 5969:   ioctl(1, TCGETA, 0x08046934)                    Err#22 EINVAL
  637. 5969:   fstat64(1, 0x08046960)                          = 0
  638. 5969:   fstat64(1, 0x080468A0)                          = 0
  639. 5969:   stat64("/tmp", 0x08068800)                      = 0
  640. 5969:   open("/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/SUNW_OST_OSCMD.mo", O_RDONLY) Err#2 ENOENT
  641. 5969:   write(1, " / t m p :\t\t d i r e c".., 17)      = 17
  642. 5509:   read(10, " / t m p :\t\t d i r e c".., 1024)    = 17
  643. 5969:   close(1)                                        = 0
  644. 5969:   _exit(0)
  645. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  646. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  647. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  648. 5509:   read(10, 0x08046984, 1024)                      = 0
  649. 5509:   ioctl(10, TCGETA, 0x08046458)                   Err#22 EINVAL
  650. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  651. 5509:   waitid(P_ALL, 0, 0x08046810, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED) = 0
  652. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  653. 5509:   close(10)                                       = 0
  654. 5508:   read(0, " 0", 1)                                = 1
  655. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  656. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  657. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  658. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 1
  659. 5508:   read(0, " 1 2 3 4 5 6 7 8 9 A B C".., 63)       = 63
  660. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  661. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  662. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  663. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 0
  664. 5508:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  665. 5509:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  666. 5509:   pipe()                                          = 3 [4]
  667. 5509:   fcntl(3, F_DUPFD, 0x0000000A)                   = 10
  668. 5509:   close(3)                                        = 0
  669. 5509:   fcntl(4, F_DUPFD, 0x0000000A)                   = 11
  670. 5509:   close(4)                                        = 0
  671. 5509:   fork1()                                         = 5971
  672. 5971:   fork1()         (returning as child ...)        = 5509
  673. 5509:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  674. 5971:   getpid()                                        = 5971 [5509]
  675. 5971:   lwp_self()                                      = 1
  676. 5509:   close(11)                                       = 0
  677. 5509:   fcntl(10, F_GETFL)                              = 2
  678. 5509:   llseek(10, 0, SEEK_CUR)                         Err#29 ESPIPE
  679. 5971:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  680. 5509:   ioctl(10, TCGETS, 0x08089868)                   Err#22 EINVAL
  681. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  682. 5971:   getpid()                                        = 5971 [5509]
  683. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  684. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  685. 5971:   close(1)                                        = 0
  686. 5971:   fcntl(11, F_DUPFD, 0x00000001)                  = 1
  687. 5971:   close(11)                                       = 0
  688. 5971:   close(10)                                       = 0
  689. 5971:   close(11)                                       Err#9 EBADF
  690. 5971:   schedctl()                                      = 0xFEFBA000
  691. 5971:   lwp_sigmask(SIG_SETMASK, 0x00020000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  692. 5971:   stat64("/usr/bin/file", 0x08046600)             = 0
  693. 5971:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  694. 5971:   getpid()                                        = 5971 [5509]
  695. 5971:   execve("/usr/bin/file", 0x0808F4DC, 0x0808F530)  argc = 2
  696. 5971:   resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12
  697. 5971:   resolvepath("/usr/bin/file", "/usr/bin/file", 1023) = 13
  698. 5971:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  699. 5971:   xstat(2, "/usr/bin/file", 0x08047408)           = 0
  700. 5971:   open("/var/ld/ld.config", O_RDONLY)             Err#2 ENOENT
  701. 5971:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFF0000
  702. 5971:   xstat(2, "/usr/lib/gss/libelf.so.1", 0x08046C38) Err#2 ENOENT
  703. 5971:   xstat(2, "/lib/libelf.so.1", 0x08046C38)        = 0
  704. 5971:   resolvepath("/lib/libelf.so.1", "/lib/libelf.so.1", 1023) = 16
  705. 5971:   open("/lib/libelf.so.1", O_RDONLY)              = 3
  706. 5971:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  707. 5971:   mmap(0x00010000, 176128, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF80000
  708. 5971:   mmap(0xFEF80000, 103385, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF80000
  709. 5971:   mmap(0xFEFAA000, 2688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 106496) = 0xFEFAA000
  710. 5971:   munmap(0xFEF9A000, 65536)                       = 0
  711. 5971:   memcntl(0xFEF80000, 9512, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  712. 5971:   close(3)                                        = 0
  713. 5971:   xstat(2, "/usr/lib/gss/libdoor.so.1", 0x08046C38) Err#2 ENOENT
  714. 5971:   xstat(2, "/lib/libdoor.so.1", 0x08046C38)       = 0
  715. 5971:   resolvepath("/lib/libdoor.so.1", "/lib/libdoor.so.1", 1023) = 17
  716. 5971:   open("/lib/libdoor.so.1", O_RDONLY)             = 3
  717. 5971:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  718. 5971:   mmap(0x00010000, 73728, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF60000
  719. 5971:   mmap(0xFEF60000, 3595, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF60000
  720. 5971:   mmap(0xFEF71000, 328, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 4096) = 0xFEF71000
  721. 5971:   munmap(0xFEF61000, 65536)                       = 0
  722. 5971:   memcntl(0xFEF60000, 2048, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  723. 5971:   close(3)                                        = 0
  724. 5971:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  725. 5971:   xstat(2, "/lib/libc.so.1", 0x08046C38)          = 0
  726. 5971:   resolvepath("/lib/libc.so.1", "/lib/libc.so.1", 1023) = 14
  727. 5971:   open("/lib/libc.so.1", O_RDONLY)                = 3
  728. 5971:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  729. 5971:   mmap(0x00010000, 880640, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE80000
  730. 5971:   mmap(0xFEE80000, 775581, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE80000
  731. 5971:   mmap(0xFEF4E000, 27239, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 778240) = 0xFEF4E000
  732. 5971:   mmap(0xFEF55000, 5392, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFEF55000
  733. 5971:   munmap(0xFEF3E000, 65536)                       = 0
  734. 5971:   memcntl(0xFEE80000, 123472, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  735. 5971:   close(3)                                        = 0
  736. 5971:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  737. 5971:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  738. 5971:   mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF40000
  739. 5971:   munmap(0xFEFB0000, 32768)                       = 0
  740. 5971:   getcontext(0x080471C0)
  741. 5971:   getrlimit(RLIMIT_STACK, 0x080471B8)             = 0
  742. 5971:   getpid()                                        = 5971 [5509]
  743. 5971:   lwp_private(0, 1, 0xFEF42A00)                   = 0x000001C3
  744. 5971:   setustack(0xFEF42A60)
  745. 5971:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFC0000
  746. 5971:   sysi86(SI86FPSTART, 0xFEF55BC0, 0x0000133F, 0x00001F80) = 0x00000001
  747. 5971:   brk(0x08068FD0)                                 = 0
  748. 5971:   brk(0x0806AFD0)                                 = 0
  749. 5971:   xstat(2, "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 0x08046630) = 0
  750. 5971:   resolvepath("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 1023) = 44
  751. 5971:   open("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", O_RDONLY) = 3
  752. 5971:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  753. 5971:   mmap(0x00010000, 2297856, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEC00000
  754. 5971:   mmap(0xFEC00000, 2225278, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEC00000
  755. 5971:   mmap(0xFEE2F000, 4234, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 2224128) = 0xFEE2F000
  756. 5971:   munmap(0xFEE20000, 61440)                       = 0
  757. 5971:   memcntl(0xFEC00000, 7188, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  758. 5971:   close(3)                                        = 0
  759. 5971:   xstat(2, "/usr/lib/gss/methods_en_US.UTF-8.so.3", 0x08046588) Err#2 ENOENT
  760. 5971:   xstat(2, "/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", 0x08046588) = 0
  761. 5971:   resolvepath("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", "/usr/lib/locale/common/methods_unicode.so.3", 1023) = 43
  762. 5971:   open("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", O_RDONLY) = 3
  763. 5971:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  764. 5971:   mmap(0x00010000, 122880, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE60000
  765. 5971:   mmap(0xFEE60000, 55437, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE60000
  766. 5971:   mmap(0xFEE7D000, 2524, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 53248) = 0xFEE7D000
  767. 5971:   munmap(0xFEE6E000, 61440)                       = 0
  768. 5971:   memcntl(0xFEE60000, 2532, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  769. 5971:   close(3)                                        = 0
  770. 5971:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046588)  Err#2 ENOENT
  771. 5971:   xstat(2, "/usr/lib/locale/en_US.UTF-8/libc.so.1", 0x08046588) Err#2 ENOENT
  772. 5971:   munmap(0xFEFB0000, 32768)                       = 0
  773. 5971:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  774. 5971:   xstat(2, "/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/magic", 0x08047550) Err#2 ENOENT
  775. 5971:   brk(0x0806AFD0)                                 = 0
  776. 5971:   brk(0x0806CFD0)                                 = 0
  777. 5971:   open("/etc/magic", O_RDONLY)                    = 3
  778. 5971:   fstat64(3, 0x08047450)                          = 0
  779. 5971:   brk(0x0806CFD0)                                 = 0
  780. 5971:   brk(0x0806EFD0)                                 = 0
  781. 5971:   fstat64(3, 0x08047390)                          = 0
  782. 5971:   ioctl(3, TCGETA, 0x08047424)                    Err#25 ENOTTY
  783. 5971:   read(3, " #\n #   C o p y r i g h".., 8192)     = 8192
  784. 5971:   brk(0x0806EFD0)                                 = 0
  785. 5971:   brk(0x08070FD0)                                 = 0
  786. 5971:   read(3, " e & 0 x 8 0\t > 0\t\t b".., 8192)     = 8192
  787. 5971:   brk(0x08070FD0)                                 = 0
  788. 5971:   brk(0x08072FD0)                                 = 0
  789. 5971:   read(3, " n g\t\t - 2 . 0\t\t   2".., 8192)     = 1135
  790. 5971:   brk(0x08072FD0)                                 = 0
  791. 5971:   brk(0x08072FD0)                                 = 0
  792. 5971:   brk(0x08074FD0)                                 = 0
  793. 5971:   read(3, 0x0806BA4C, 8192)                       = 0
  794. 5971:   llseek(3, 0, SEEK_CUR)                          = 17519
  795. 5971:   close(3)                                        = 0
  796. 5971:   ioctl(1, TCGETA, 0x08046934)                    Err#22 EINVAL
  797. 5971:   fstat64(1, 0x08046960)                          = 0
  798. 5971:   fstat64(1, 0x080468A0)                          = 0
  799. 5971:   stat64("/tmp", 0x08068800)                      = 0
  800. 5971:   open("/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/SUNW_OST_OSCMD.mo", O_RDONLY) Err#2 ENOENT
  801. 5971:   write(1, " / t m p :\t\t d i r e c".., 17)      = 17
  802. 5971:   close(1)                                        = 0
  803. 5509:   read(10, " / t m p :\t\t d i r e c".., 1024)    = 17
  804. 5971:   _exit(0)
  805. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  806. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  807. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  808. 5509:   read(10, 0x08046984, 1024)                      = 0
  809. 5509:   ioctl(10, TCGETA, 0x08046458)                   Err#22 EINVAL
  810. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  811. 5509:   waitid(P_ALL, 0, 0x08046810, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED) = 0
  812. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  813. 5509:   close(10)                                       = 0
  814. 5509:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  815. 5509:   pipe()                                          = 3 [4]
  816. 5508:   read(0, " 0", 1)                                = 1
  817. 5509:   fcntl(3, F_DUPFD, 0x0000000A)                   = 10
  818. 5509:   close(3)                                        = 0
  819. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  820. 5509:   fcntl(4, F_DUPFD, 0x0000000A)                   = 11
  821. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  822. 5509:   close(4)                                        = 0
  823. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  824. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 1
  825. 5508:   read(0, " 1 2 3 4 5 6 7 8 9 A B C".., 63)       = 63
  826. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  827. 5509:   fork1()                                         = 5973
  828. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  829. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  830. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 0
  831. 5508:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  832. 5509:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  833. 5973:   fork1()         (returning as child ...)        = 5509
  834. 5509:   close(11)                                       = 0
  835. 5973:   getpid()                                        = 5973 [5509]
  836. 5509:   fcntl(10, F_GETFL)                              = 2
  837. 5973:   lwp_self()                                      = 1
  838. 5509:   llseek(10, 0, SEEK_CUR)                         Err#29 ESPIPE
  839. 5973:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  840. 5509:   ioctl(10, TCGETS, 0x08089868)                   Err#22 EINVAL
  841. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  842. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  843. 5973:   getpid()                                        = 5973 [5509]
  844. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  845. 5973:   close(1)                                        = 0
  846. 5973:   fcntl(11, F_DUPFD, 0x00000001)                  = 1
  847. 5973:   close(11)                                       = 0
  848. 5973:   close(10)                                       = 0
  849. 5973:   close(11)                                       Err#9 EBADF
  850. 5973:   schedctl()                                      = 0xFEFF9000
  851. 5973:   lwp_sigmask(SIG_SETMASK, 0x00020000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  852. 5973:   stat64("/usr/bin/file", 0x08046600)             = 0
  853. 5973:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  854. 5973:   getpid()                                        = 5973 [5509]
  855. 5973:   execve("/usr/bin/file", 0x0808F4DC, 0x0808F530)  argc = 2
  856. 5973:   resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12
  857. 5973:   resolvepath("/usr/bin/file", "/usr/bin/file", 1023) = 13
  858. 5973:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  859. 5973:   xstat(2, "/usr/bin/file", 0x08047408)           = 0
  860. 5973:   open("/var/ld/ld.config", O_RDONLY)             Err#2 ENOENT
  861. 5973:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFF0000
  862. 5973:   xstat(2, "/usr/lib/gss/libelf.so.1", 0x08046C38) Err#2 ENOENT
  863. 5973:   xstat(2, "/lib/libelf.so.1", 0x08046C38)        = 0
  864. 5973:   resolvepath("/lib/libelf.so.1", "/lib/libelf.so.1", 1023) = 16
  865. 5973:   open("/lib/libelf.so.1", O_RDONLY)              = 3
  866. 5973:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  867. 5973:   mmap(0x00010000, 176128, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF80000
  868. 5973:   mmap(0xFEF80000, 103385, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF80000
  869. 5973:   mmap(0xFEFAA000, 2688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 106496) = 0xFEFAA000
  870. 5973:   munmap(0xFEF9A000, 65536)                       = 0
  871. 5973:   memcntl(0xFEF80000, 9512, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  872. 5973:   close(3)                                        = 0
  873. 5973:   xstat(2, "/usr/lib/gss/libdoor.so.1", 0x08046C38) Err#2 ENOENT
  874. 5973:   xstat(2, "/lib/libdoor.so.1", 0x08046C38)       = 0
  875. 5973:   resolvepath("/lib/libdoor.so.1", "/lib/libdoor.so.1", 1023) = 17
  876. 5973:   open("/lib/libdoor.so.1", O_RDONLY)             = 3
  877. 5973:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  878. 5973:   mmap(0x00010000, 73728, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF60000
  879. 5973:   mmap(0xFEF60000, 3595, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF60000
  880. 5973:   mmap(0xFEF71000, 328, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 4096) = 0xFEF71000
  881. 5973:   munmap(0xFEF61000, 65536)                       = 0
  882. 5973:   memcntl(0xFEF60000, 2048, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  883. 5973:   close(3)                                        = 0
  884. 5973:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  885. 5973:   xstat(2, "/lib/libc.so.1", 0x08046C38)          = 0
  886. 5973:   resolvepath("/lib/libc.so.1", "/lib/libc.so.1", 1023) = 14
  887. 5973:   open("/lib/libc.so.1", O_RDONLY)                = 3
  888. 5973:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  889. 5973:   mmap(0x00010000, 880640, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE80000
  890. 5973:   mmap(0xFEE80000, 775581, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE80000
  891. 5973:   mmap(0xFEF4E000, 27239, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 778240) = 0xFEF4E000
  892. 5973:   mmap(0xFEF55000, 5392, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFEF55000
  893. 5973:   munmap(0xFEF3E000, 65536)                       = 0
  894. 5973:   memcntl(0xFEE80000, 123472, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  895. 5973:   close(3)                                        = 0
  896. 5973:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  897. 5973:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  898. 5973:   mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF40000
  899. 5973:   munmap(0xFEFB0000, 32768)                       = 0
  900. 5973:   getcontext(0x080471C0)
  901. 5973:   getrlimit(RLIMIT_STACK, 0x080471B8)             = 0
  902. 5973:   getpid()                                        = 5973 [5509]
  903. 5973:   lwp_private(0, 1, 0xFEF42A00)                   = 0x000001C3
  904. 5973:   setustack(0xFEF42A60)
  905. 5973:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFC0000
  906. 5973:   sysi86(SI86FPSTART, 0xFEF55BC0, 0x0000133F, 0x00001F80) = 0x00000001
  907. 5973:   brk(0x08068FD0)                                 = 0
  908. 5973:   brk(0x0806AFD0)                                 = 0
  909. 5973:   xstat(2, "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 0x08046630) = 0
  910. 5973:   resolvepath("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 1023) = 44
  911. 5973:   open("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", O_RDONLY) = 3
  912. 5973:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  913. 5973:   mmap(0x00010000, 2297856, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEC00000
  914. 5973:   mmap(0xFEC00000, 2225278, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEC00000
  915. 5973:   mmap(0xFEE2F000, 4234, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 2224128) = 0xFEE2F000
  916. 5973:   munmap(0xFEE20000, 61440)                       = 0
  917. 5973:   memcntl(0xFEC00000, 7188, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  918. 5973:   close(3)                                        = 0
  919. 5973:   xstat(2, "/usr/lib/gss/methods_en_US.UTF-8.so.3", 0x08046588) Err#2 ENOENT
  920. 5973:   xstat(2, "/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", 0x08046588) = 0
  921. 5973:   resolvepath("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", "/usr/lib/locale/common/methods_unicode.so.3", 1023) = 43
  922. 5973:   open("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", O_RDONLY) = 3
  923. 5973:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  924. 5973:   mmap(0x00010000, 122880, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE60000
  925. 5973:   mmap(0xFEE60000, 55437, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE60000
  926. 5973:   mmap(0xFEE7D000, 2524, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 53248) = 0xFEE7D000
  927. 5973:   munmap(0xFEE6E000, 61440)                       = 0
  928. 5973:   memcntl(0xFEE60000, 2532, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  929. 5973:   close(3)                                        = 0
  930. 5973:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046588)  Err#2 ENOENT
  931. 5973:   xstat(2, "/usr/lib/locale/en_US.UTF-8/libc.so.1", 0x08046588) Err#2 ENOENT
  932. 5973:   munmap(0xFEFB0000, 32768)                       = 0
  933. 5973:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  934. 5973:   xstat(2, "/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/magic", 0x08047550) Err#2 ENOENT
  935. 5973:   brk(0x0806AFD0)                                 = 0
  936. 5973:   brk(0x0806CFD0)                                 = 0
  937. 5973:   open("/etc/magic", O_RDONLY)                    = 3
  938. 5973:   fstat64(3, 0x08047450)                          = 0
  939. 5973:   brk(0x0806CFD0)                                 = 0
  940. 5973:   brk(0x0806EFD0)                                 = 0
  941. 5973:   fstat64(3, 0x08047390)                          = 0
  942. 5973:   ioctl(3, TCGETA, 0x08047424)                    Err#25 ENOTTY
  943. 5973:   read(3, " #\n #   C o p y r i g h".., 8192)     = 8192
  944. 5973:   brk(0x0806EFD0)                                 = 0
  945. 5973:   brk(0x08070FD0)                                 = 0
  946. 5973:   read(3, " e & 0 x 8 0\t > 0\t\t b".., 8192)     = 8192
  947. 5973:   brk(0x08070FD0)                                 = 0
  948. 5973:   brk(0x08072FD0)                                 = 0
  949. 5973:   read(3, " n g\t\t - 2 . 0\t\t   2".., 8192)     = 1135
  950. 5973:   brk(0x08072FD0)                                 = 0
  951. 5973:   brk(0x08072FD0)                                 = 0
  952. 5973:   brk(0x08074FD0)                                 = 0
  953. 5973:   read(3, 0x0806BA4C, 8192)                       = 0
  954. 5973:   llseek(3, 0, SEEK_CUR)                          = 17519
  955. 5973:   close(3)                                        = 0
  956. 5973:   ioctl(1, TCGETA, 0x08046934)                    Err#22 EINVAL
  957. 5973:   fstat64(1, 0x08046960)                          = 0
  958. 5973:   fstat64(1, 0x080468A0)                          = 0
  959. 5973:   stat64("/tmp", 0x08068800)                      = 0
  960. 5973:   open("/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/SUNW_OST_OSCMD.mo", O_RDONLY) Err#2 ENOENT
  961. 5973:   write(1, " / t m p :\t\t d i r e c".., 17)      = 17
  962. 5509:   read(10, " / t m p :\t\t d i r e c".., 1024)    = 17
  963. 5973:   close(1)                                        = 0
  964. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  965. 5973:   _exit(0)
  966. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  967. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  968. 5509:   read(10, 0x08046984, 1024)                      = 0
  969. 5509:   ioctl(10, TCGETA, 0x08046458)                   Err#22 EINVAL
  970. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  971. 5509:   waitid(P_ALL, 0, 0x08046810, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED) = 0
  972. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  973. 5509:   close(10)                                       = 0
  974. 5509:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  975. 5508:   read(0, " 0", 1)                                = 1
  976. 5509:   pipe()                                          = 3 [4]
  977. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  978. 5509:   fcntl(3, F_DUPFD, 0x0000000A)                   = 10
  979. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  980. 5509:   close(3)                                        = 0
  981. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  982. 5509:   fcntl(4, F_DUPFD, 0x0000000A)                   = 11
  983. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 1
  984. 5509:   close(4)                                        = 0
  985. 5508:   read(0, " 1 2 3 4 5 6 7 8 9 A B C".., 63)       = 63
  986. 5509:   fork1()                                         = 5975
  987. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  988. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  989. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  990. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 0
  991. 5508:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  992. 5509:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  993. 5975:   fork1()         (returning as child ...)        = 5509
  994. 5975:   getpid()                                        = 5975 [5509]
  995. 5509:   close(11)                                       = 0
  996. 5975:   lwp_self()                                      = 1
  997. 5509:   fcntl(10, F_GETFL)                              = 2
  998. 5509:   llseek(10, 0, SEEK_CUR)                         Err#29 ESPIPE
  999. 5975:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  1000. 5509:   ioctl(10, TCGETS, 0x08089868)                   Err#22 EINVAL
  1001. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  1002. 5975:   getpid()                                        = 5975 [5509]
  1003. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  1004. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  1005. 5975:   close(1)                                        = 0
  1006. 5975:   fcntl(11, F_DUPFD, 0x00000001)                  = 1
  1007. 5975:   close(11)                                       = 0
  1008. 5975:   close(10)                                       = 0
  1009. 5975:   close(11)                                       Err#9 EBADF
  1010. 5975:   schedctl()                                      = 0xFEFBA000
  1011. 5975:   lwp_sigmask(SIG_SETMASK, 0x00020000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  1012. 5975:   stat64("/usr/bin/file", 0x08046600)             = 0
  1013. 5975:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  1014. 5975:   getpid()                                        = 5975 [5509]
  1015. 5975:   execve("/usr/bin/file", 0x0808F4DC, 0x0808F530)  argc = 2
  1016. 5975:   resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12
  1017. 5975:   resolvepath("/usr/bin/file", "/usr/bin/file", 1023) = 13
  1018. 5975:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  1019. 5975:   xstat(2, "/usr/bin/file", 0x08047408)           = 0
  1020. 5975:   open("/var/ld/ld.config", O_RDONLY)             Err#2 ENOENT
  1021. 5975:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFF0000
  1022. 5975:   xstat(2, "/usr/lib/gss/libelf.so.1", 0x08046C38) Err#2 ENOENT
  1023. 5975:   xstat(2, "/lib/libelf.so.1", 0x08046C38)        = 0
  1024. 5975:   resolvepath("/lib/libelf.so.1", "/lib/libelf.so.1", 1023) = 16
  1025. 5975:   open("/lib/libelf.so.1", O_RDONLY)              = 3
  1026. 5975:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  1027. 5975:   mmap(0x00010000, 176128, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF80000
  1028. 5975:   mmap(0xFEF80000, 103385, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF80000
  1029. 5975:   mmap(0xFEFAA000, 2688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 106496) = 0xFEFAA000
  1030. 5975:   munmap(0xFEF9A000, 65536)                       = 0
  1031. 5975:   memcntl(0xFEF80000, 9512, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  1032. 5975:   close(3)                                        = 0
  1033. 5975:   xstat(2, "/usr/lib/gss/libdoor.so.1", 0x08046C38) Err#2 ENOENT
  1034. 5975:   xstat(2, "/lib/libdoor.so.1", 0x08046C38)       = 0
  1035. 5975:   resolvepath("/lib/libdoor.so.1", "/lib/libdoor.so.1", 1023) = 17
  1036. 5975:   open("/lib/libdoor.so.1", O_RDONLY)             = 3
  1037. 5975:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  1038. 5975:   mmap(0x00010000, 73728, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF60000
  1039. 5975:   mmap(0xFEF60000, 3595, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF60000
  1040. 5975:   mmap(0xFEF71000, 328, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 4096) = 0xFEF71000
  1041. 5975:   munmap(0xFEF61000, 65536)                       = 0
  1042. 5975:   memcntl(0xFEF60000, 2048, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  1043. 5975:   close(3)                                        = 0
  1044. 5975:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  1045. 5975:   xstat(2, "/lib/libc.so.1", 0x08046C38)          = 0
  1046. 5975:   resolvepath("/lib/libc.so.1", "/lib/libc.so.1", 1023) = 14
  1047. 5975:   open("/lib/libc.so.1", O_RDONLY)                = 3
  1048. 5975:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  1049. 5975:   mmap(0x00010000, 880640, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE80000
  1050. 5975:   mmap(0xFEE80000, 775581, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE80000
  1051. 5975:   mmap(0xFEF4E000, 27239, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 778240) = 0xFEF4E000
  1052. 5975:   mmap(0xFEF55000, 5392, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFEF55000
  1053. 5975:   munmap(0xFEF3E000, 65536)                       = 0
  1054. 5975:   memcntl(0xFEE80000, 123472, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  1055. 5975:   close(3)                                        = 0
  1056. 5975:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  1057. 5975:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  1058. 5975:   mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF40000
  1059. 5975:   munmap(0xFEFB0000, 32768)                       = 0
  1060. 5975:   getcontext(0x080471C0)
  1061. 5975:   getrlimit(RLIMIT_STACK, 0x080471B8)             = 0
  1062. 5975:   getpid()                                        = 5975 [5509]
  1063. 5975:   lwp_private(0, 1, 0xFEF42A00)                   = 0x000001C3
  1064. 5975:   setustack(0xFEF42A60)
  1065. 5975:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFC0000
  1066. 5975:   sysi86(SI86FPSTART, 0xFEF55BC0, 0x0000133F, 0x00001F80) = 0x00000001
  1067. 5975:   brk(0x08068FD0)                                 = 0
  1068. 5975:   brk(0x0806AFD0)                                 = 0
  1069. 5975:   xstat(2, "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 0x08046630) = 0
  1070. 5975:   resolvepath("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 1023) = 44
  1071. 5975:   open("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", O_RDONLY) = 3
  1072. 5975:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  1073. 5975:   mmap(0x00010000, 2297856, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEC00000
  1074. 5975:   mmap(0xFEC00000, 2225278, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEC00000
  1075. 5975:   mmap(0xFEE2F000, 4234, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 2224128) = 0xFEE2F000
  1076. 5975:   munmap(0xFEE20000, 61440)                       = 0
  1077. 5975:   memcntl(0xFEC00000, 7188, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  1078. 5975:   close(3)                                        = 0
  1079. 5975:   xstat(2, "/usr/lib/gss/methods_en_US.UTF-8.so.3", 0x08046588) Err#2 ENOENT
  1080. 5975:   xstat(2, "/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", 0x08046588) = 0
  1081. 5975:   resolvepath("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", "/usr/lib/locale/common/methods_unicode.so.3", 1023) = 43
  1082. 5975:   open("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", O_RDONLY) = 3
  1083. 5975:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  1084. 5975:   mmap(0x00010000, 122880, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE60000
  1085. 5975:   mmap(0xFEE60000, 55437, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE60000
  1086. 5975:   mmap(0xFEE7D000, 2524, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 53248) = 0xFEE7D000
  1087. 5975:   munmap(0xFEE6E000, 61440)                       = 0
  1088. 5975:   memcntl(0xFEE60000, 2532, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  1089. 5975:   close(3)                                        = 0
  1090. 5975:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046588)  Err#2 ENOENT
  1091. 5975:   xstat(2, "/usr/lib/locale/en_US.UTF-8/libc.so.1", 0x08046588) Err#2 ENOENT
  1092. 5975:   munmap(0xFEFB0000, 32768)                       = 0
  1093. 5975:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  1094. 5975:   xstat(2, "/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/magic", 0x08047550) Err#2 ENOENT
  1095. 5975:   brk(0x0806AFD0)                                 = 0
  1096. 5975:   brk(0x0806CFD0)                                 = 0
  1097. 5975:   open("/etc/magic", O_RDONLY)                    = 3
  1098. 5975:   fstat64(3, 0x08047450)                          = 0
  1099. 5975:   brk(0x0806CFD0)                                 = 0
  1100. 5975:   brk(0x0806EFD0)                                 = 0
  1101. 5975:   fstat64(3, 0x08047390)                          = 0
  1102. 5975:   ioctl(3, TCGETA, 0x08047424)                    Err#25 ENOTTY
  1103. 5975:   read(3, " #\n #   C o p y r i g h".., 8192)     = 8192
  1104. 5975:   brk(0x0806EFD0)                                 = 0
  1105. 5975:   brk(0x08070FD0)                                 = 0
  1106. 5975:   read(3, " e & 0 x 8 0\t > 0\t\t b".., 8192)     = 8192
  1107. 5975:   brk(0x08070FD0)                                 = 0
  1108. 5975:   brk(0x08072FD0)                                 = 0
  1109. 5975:   read(3, " n g\t\t - 2 . 0\t\t   2".., 8192)     = 1135
  1110. 5975:   brk(0x08072FD0)                                 = 0
  1111. 5975:   brk(0x08072FD0)                                 = 0
  1112. 5975:   brk(0x08074FD0)                                 = 0
  1113. 5975:   read(3, 0x0806BA4C, 8192)                       = 0
  1114. 5975:   llseek(3, 0, SEEK_CUR)                          = 17519
  1115. 5975:   close(3)                                        = 0
  1116. 5975:   ioctl(1, TCGETA, 0x08046934)                    Err#22 EINVAL
  1117. 5975:   fstat64(1, 0x08046960)                          = 0
  1118. 5975:   fstat64(1, 0x080468A0)                          = 0
  1119. 5975:   stat64("/tmp", 0x08068800)                      = 0
  1120. 5975:   open("/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/SUNW_OST_OSCMD.mo", O_RDONLY) Err#2 ENOENT
  1121. 5975:   write(1, " / t m p :\t\t d i r e c".., 17)      = 17
  1122. 5509:   read(10, " / t m p :\t\t d i r e c".., 1024)    = 17
  1123. 5975:   close(1)                                        = 0
  1124. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  1125. 5975:   _exit(0)
  1126. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  1127. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  1128. 5509:   read(10, 0x08046984, 1024)                      = 0
  1129. 5509:   ioctl(10, TCGETA, 0x08046458)                   Err#22 EINVAL
  1130. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  1131. 5509:   waitid(P_ALL, 0, 0x08046810, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED) = 0
  1132. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  1133. 5509:   close(10)                                       = 0
  1134. 5509:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  1135. 5508:   read(0, " 0", 1)                                = 1
  1136. 5509:   pipe()                                          = 3 [4]
  1137. 5509:   fcntl(3, F_DUPFD, 0x0000000A)                   = 10
  1138. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  1139. 5509:   close(3)                                        = 0
  1140. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  1141. 5509:   fcntl(4, F_DUPFD, 0x0000000A)                   = 11
  1142. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  1143. 5509:   close(4)                                        = 0
  1144. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 1
  1145. 5508:   read(0, " 1 2 3 4 5 6 7 8 9 A B C".., 63)       = 63
  1146. 5509:   fork1()                                         = 5977
  1147. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  1148. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  1149. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  1150. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 0
  1151. 5508:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  1152. 5509:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  1153. 5977:   fork1()         (returning as child ...)        = 5509
  1154. 5977:   getpid()                                        = 5977 [5509]
  1155. 5509:   close(11)                                       = 0
  1156. 5977:   lwp_self()                                      = 1
  1157. 5509:   fcntl(10, F_GETFL)                              = 2
  1158. 5509:   llseek(10, 0, SEEK_CUR)                         Err#29 ESPIPE
  1159. 5977:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  1160. 5509:   ioctl(10, TCGETS, 0x08089868)                   Err#22 EINVAL
  1161. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  1162. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  1163. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  1164. 5977:   getpid()                                        = 5977 [5509]
  1165. 5977:   close(1)                                        = 0
  1166. 5977:   fcntl(11, F_DUPFD, 0x00000001)                  = 1
  1167. 5977:   close(11)                                       = 0
  1168. 5977:   close(10)                                       = 0
  1169. 5977:   close(11)                                       Err#9 EBADF
  1170. 5977:   schedctl()                                      = 0xFEFF9000
  1171. 5977:   lwp_sigmask(SIG_SETMASK, 0x00020000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  1172. 5977:   stat64("/usr/bin/file", 0x08046600)             = 0
  1173. 5977:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  1174. 5977:   getpid()                                        = 5977 [5509]
  1175. 5977:   execve("/usr/bin/file", 0x0808F4DC, 0x0808F530)  argc = 2
  1176. 5977:   resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12
  1177. 5977:   resolvepath("/usr/bin/file", "/usr/bin/file", 1023) = 13
  1178. 5977:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  1179. 5977:   xstat(2, "/usr/bin/file", 0x08047408)           = 0
  1180. 5977:   open("/var/ld/ld.config", O_RDONLY)             Err#2 ENOENT
  1181. 5977:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFF0000
  1182. 5977:   xstat(2, "/usr/lib/gss/libelf.so.1", 0x08046C38) Err#2 ENOENT
  1183. 5977:   xstat(2, "/lib/libelf.so.1", 0x08046C38)        = 0
  1184. 5977:   resolvepath("/lib/libelf.so.1", "/lib/libelf.so.1", 1023) = 16
  1185. 5977:   open("/lib/libelf.so.1", O_RDONLY)              = 3
  1186. 5977:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  1187. 5977:   mmap(0x00010000, 176128, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF80000
  1188. 5977:   mmap(0xFEF80000, 103385, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF80000
  1189. 5977:   mmap(0xFEFAA000, 2688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 106496) = 0xFEFAA000
  1190. 5977:   munmap(0xFEF9A000, 65536)                       = 0
  1191. 5977:   memcntl(0xFEF80000, 9512, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  1192. 5977:   close(3)                                        = 0
  1193. 5977:   xstat(2, "/usr/lib/gss/libdoor.so.1", 0x08046C38) Err#2 ENOENT
  1194. 5977:   xstat(2, "/lib/libdoor.so.1", 0x08046C38)       = 0
  1195. 5977:   resolvepath("/lib/libdoor.so.1", "/lib/libdoor.so.1", 1023) = 17
  1196. 5977:   open("/lib/libdoor.so.1", O_RDONLY)             = 3
  1197. 5977:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  1198. 5977:   mmap(0x00010000, 73728, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF60000
  1199. 5977:   mmap(0xFEF60000, 3595, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF60000
  1200. 5977:   mmap(0xFEF71000, 328, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 4096) = 0xFEF71000
  1201. 5977:   munmap(0xFEF61000, 65536)                       = 0
  1202. 5977:   memcntl(0xFEF60000, 2048, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  1203. 5977:   close(3)                                        = 0
  1204. 5977:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  1205. 5977:   xstat(2, "/lib/libc.so.1", 0x08046C38)          = 0
  1206. 5977:   resolvepath("/lib/libc.so.1", "/lib/libc.so.1", 1023) = 14
  1207. 5977:   open("/lib/libc.so.1", O_RDONLY)                = 3
  1208. 5977:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  1209. 5977:   mmap(0x00010000, 880640, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE80000
  1210. 5977:   mmap(0xFEE80000, 775581, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE80000
  1211. 5977:   mmap(0xFEF4E000, 27239, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 778240) = 0xFEF4E000
  1212. 5977:   mmap(0xFEF55000, 5392, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFEF55000
  1213. 5977:   munmap(0xFEF3E000, 65536)                       = 0
  1214. 5977:   memcntl(0xFEE80000, 123472, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  1215. 5977:   close(3)                                        = 0
  1216. 5977:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  1217. 5977:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  1218. 5977:   mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF40000
  1219. 5977:   munmap(0xFEFB0000, 32768)                       = 0
  1220. 5977:   getcontext(0x080471C0)
  1221. 5977:   getrlimit(RLIMIT_STACK, 0x080471B8)             = 0
  1222. 5977:   getpid()                                        = 5977 [5509]
  1223. 5977:   lwp_private(0, 1, 0xFEF42A00)                   = 0x000001C3
  1224. 5977:   setustack(0xFEF42A60)
  1225. 5977:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFC0000
  1226. 5977:   sysi86(SI86FPSTART, 0xFEF55BC0, 0x0000133F, 0x00001F80) = 0x00000001
  1227. 5977:   brk(0x08068FD0)                                 = 0
  1228. 5977:   brk(0x0806AFD0)                                 = 0
  1229. 5977:   xstat(2, "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 0x08046630) = 0
  1230. 5977:   resolvepath("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 1023) = 44
  1231. 5977:   open("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", O_RDONLY) = 3
  1232. 5977:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  1233. 5977:   mmap(0x00010000, 2297856, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEC00000
  1234. 5977:   mmap(0xFEC00000, 2225278, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEC00000
  1235. 5977:   mmap(0xFEE2F000, 4234, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 2224128) = 0xFEE2F000
  1236. 5977:   munmap(0xFEE20000, 61440)                       = 0
  1237. 5977:   memcntl(0xFEC00000, 7188, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  1238. 5977:   close(3)                                        = 0
  1239. 5977:   xstat(2, "/usr/lib/gss/methods_en_US.UTF-8.so.3", 0x08046588) Err#2 ENOENT
  1240. 5977:   xstat(2, "/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", 0x08046588) = 0
  1241. 5977:   resolvepath("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", "/usr/lib/locale/common/methods_unicode.so.3", 1023) = 43
  1242. 5977:   open("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", O_RDONLY) = 3
  1243. 5977:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  1244. 5977:   mmap(0x00010000, 122880, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE60000
  1245. 5977:   mmap(0xFEE60000, 55437, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE60000
  1246. 5977:   mmap(0xFEE7D000, 2524, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 53248) = 0xFEE7D000
  1247. 5977:   munmap(0xFEE6E000, 61440)                       = 0
  1248. 5977:   memcntl(0xFEE60000, 2532, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  1249. 5977:   close(3)                                        = 0
  1250. 5977:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046588)  Err#2 ENOENT
  1251. 5977:   xstat(2, "/usr/lib/locale/en_US.UTF-8/libc.so.1", 0x08046588) Err#2 ENOENT
  1252. 5977:   munmap(0xFEFB0000, 32768)                       = 0
  1253. 5977:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  1254. 5977:   xstat(2, "/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/magic", 0x08047550) Err#2 ENOENT
  1255. 5977:   brk(0x0806AFD0)                                 = 0
  1256. 5977:   brk(0x0806CFD0)                                 = 0
  1257. 5977:   open("/etc/magic", O_RDONLY)                    = 3
  1258. 5977:   fstat64(3, 0x08047450)                          = 0
  1259. 5977:   brk(0x0806CFD0)                                 = 0
  1260. 5977:   brk(0x0806EFD0)                                 = 0
  1261. 5977:   fstat64(3, 0x08047390)                          = 0
  1262. 5977:   ioctl(3, TCGETA, 0x08047424)                    Err#25 ENOTTY
  1263. 5977:   read(3, " #\n #   C o p y r i g h".., 8192)     = 8192
  1264. 5977:   brk(0x0806EFD0)                                 = 0
  1265. 5977:   brk(0x08070FD0)                                 = 0
  1266. 5977:   read(3, " e & 0 x 8 0\t > 0\t\t b".., 8192)     = 8192
  1267. 5977:   brk(0x08070FD0)                                 = 0
  1268. 5977:   brk(0x08072FD0)                                 = 0
  1269. 5977:   read(3, " n g\t\t - 2 . 0\t\t   2".., 8192)     = 1135
  1270. 5977:   brk(0x08072FD0)                                 = 0
  1271. 5977:   brk(0x08072FD0)                                 = 0
  1272. 5977:   brk(0x08074FD0)                                 = 0
  1273. 5977:   read(3, 0x0806BA4C, 8192)                       = 0
  1274. 5977:   llseek(3, 0, SEEK_CUR)                          = 17519
  1275. 5977:   close(3)                                        = 0
  1276. 5977:   ioctl(1, TCGETA, 0x08046934)                    Err#22 EINVAL
  1277. 5977:   fstat64(1, 0x08046960)                          = 0
  1278. 5977:   fstat64(1, 0x080468A0)                          = 0
  1279. 5977:   stat64("/tmp", 0x08068800)                      = 0
  1280. 5977:   open("/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/SUNW_OST_OSCMD.mo", O_RDONLY) Err#2 ENOENT
  1281. 5977:   write(1, " / t m p :\t\t d i r e c".., 17)      = 17
  1282. 5977:   close(1)                                        = 0
  1283. 5509:   read(10, " / t m p :\t\t d i r e c".., 1024)    = 17
  1284. 5977:   _exit(0)
  1285. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  1286. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  1287. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  1288. 5509:   read(10, 0x08046984, 1024)                      = 0
  1289. 5509:   ioctl(10, TCGETA, 0x08046458)                   Err#22 EINVAL
  1290. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  1291. 5509:   waitid(P_ALL, 0, 0x08046810, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED) = 0
  1292. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  1293. 5509:   close(10)                                       = 0
  1294. 5509:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  1295. 5508:   read(0, " 0", 1)                                = 1
  1296. 5509:   pipe()                                          = 3 [4]
  1297. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  1298. 5509:   fcntl(3, F_DUPFD, 0x0000000A)                   = 10
  1299. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  1300. 5509:   close(3)                                        = 0
  1301. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  1302. 5509:   fcntl(4, F_DUPFD, 0x0000000A)                   = 11
  1303. 5509:   close(4)                                        = 0
  1304. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 1
  1305. 5508:   read(0, " 1 2 3 4 5 6 7 8 9 A B C".., 63)       = 63
  1306. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  1307. 5509:   fork1()                                         = 5979
  1308. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  1309. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  1310. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 0
  1311. 5508:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  1312. 5509:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  1313. 5979:   fork1()         (returning as child ...)        = 5509
  1314. 5509:   close(11)                                       = 0
  1315. 5979:   getpid()                                        = 5979 [5509]
  1316. 5509:   fcntl(10, F_GETFL)                              = 2
  1317. 5509:   llseek(10, 0, SEEK_CUR)                         Err#29 ESPIPE
  1318. 5979:   lwp_self()                                      = 1
  1319. 5509:   ioctl(10, TCGETS, 0x08089868)                   Err#22 EINVAL
  1320. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  1321. 5979:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  1322. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  1323. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  1324. 5979:   getpid()                                        = 5979 [5509]
  1325. 5979:   close(1)                                        = 0
  1326. 5979:   fcntl(11, F_DUPFD, 0x00000001)                  = 1
  1327. 5979:   close(11)                                       = 0
  1328. 5979:   close(10)                                       = 0
  1329. 5979:   close(11)                                       Err#9 EBADF
  1330. 5979:   schedctl()                                      = 0xFEFF9000
  1331. 5979:   lwp_sigmask(SIG_SETMASK, 0x00020000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  1332. 5979:   stat64("/usr/bin/file", 0x08046600)             = 0
  1333. 5979:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  1334. 5979:   getpid()                                        = 5979 [5509]
  1335. 5979:   execve("/usr/bin/file", 0x0808F4DC, 0x0808F530)  argc = 2
  1336. 5979:   resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12
  1337. 5979:   resolvepath("/usr/bin/file", "/usr/bin/file", 1023) = 13
  1338. 5979:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  1339. 5979:   xstat(2, "/usr/bin/file", 0x08047408)           = 0
  1340. 5979:   open("/var/ld/ld.config", O_RDONLY)             Err#2 ENOENT
  1341. 5979:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFF0000
  1342. 5979:   xstat(2, "/usr/lib/gss/libelf.so.1", 0x08046C38) Err#2 ENOENT
  1343. 5979:   xstat(2, "/lib/libelf.so.1", 0x08046C38)        = 0
  1344. 5979:   resolvepath("/lib/libelf.so.1", "/lib/libelf.so.1", 1023) = 16
  1345. 5979:   open("/lib/libelf.so.1", O_RDONLY)              = 3
  1346. 5979:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  1347. 5979:   mmap(0x00010000, 176128, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF80000
  1348. 5979:   mmap(0xFEF80000, 103385, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF80000
  1349. 5979:   mmap(0xFEFAA000, 2688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 106496) = 0xFEFAA000
  1350. 5979:   munmap(0xFEF9A000, 65536)                       = 0
  1351. 5979:   memcntl(0xFEF80000, 9512, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  1352. 5979:   close(3)                                        = 0
  1353. 5979:   xstat(2, "/usr/lib/gss/libdoor.so.1", 0x08046C38) Err#2 ENOENT
  1354. 5979:   xstat(2, "/lib/libdoor.so.1", 0x08046C38)       = 0
  1355. 5979:   resolvepath("/lib/libdoor.so.1", "/lib/libdoor.so.1", 1023) = 17
  1356. 5979:   open("/lib/libdoor.so.1", O_RDONLY)             = 3
  1357. 5979:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  1358. 5979:   mmap(0x00010000, 73728, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF60000
  1359. 5979:   mmap(0xFEF60000, 3595, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF60000
  1360. 5979:   mmap(0xFEF71000, 328, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 4096) = 0xFEF71000
  1361. 5979:   munmap(0xFEF61000, 65536)                       = 0
  1362. 5979:   memcntl(0xFEF60000, 2048, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  1363. 5979:   close(3)                                        = 0
  1364. 5979:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  1365. 5979:   xstat(2, "/lib/libc.so.1", 0x08046C38)          = 0
  1366. 5979:   resolvepath("/lib/libc.so.1", "/lib/libc.so.1", 1023) = 14
  1367. 5979:   open("/lib/libc.so.1", O_RDONLY)                = 3
  1368. 5979:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  1369. 5979:   mmap(0x00010000, 880640, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE80000
  1370. 5979:   mmap(0xFEE80000, 775581, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE80000
  1371. 5979:   mmap(0xFEF4E000, 27239, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 778240) = 0xFEF4E000
  1372. 5979:   mmap(0xFEF55000, 5392, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFEF55000
  1373. 5979:   munmap(0xFEF3E000, 65536)                       = 0
  1374. 5979:   memcntl(0xFEE80000, 123472, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  1375. 5979:   close(3)                                        = 0
  1376. 5979:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  1377. 5979:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  1378. 5979:   mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF40000
  1379. 5979:   munmap(0xFEFB0000, 32768)                       = 0
  1380. 5979:   getcontext(0x080471C0)
  1381. 5979:   getrlimit(RLIMIT_STACK, 0x080471B8)             = 0
  1382. 5979:   getpid()                                        = 5979 [5509]
  1383. 5979:   lwp_private(0, 1, 0xFEF42A00)                   = 0x000001C3
  1384. 5979:   setustack(0xFEF42A60)
  1385. 5979:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFC0000
  1386. 5979:   sysi86(SI86FPSTART, 0xFEF55BC0, 0x0000133F, 0x00001F80) = 0x00000001
  1387. 5979:   brk(0x08068FD0)                                 = 0
  1388. 5979:   brk(0x0806AFD0)                                 = 0
  1389. 5979:   xstat(2, "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 0x08046630) = 0
  1390. 5979:   resolvepath("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 1023) = 44
  1391. 5979:   open("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", O_RDONLY) = 3
  1392. 5979:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  1393. 5979:   mmap(0x00010000, 2297856, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEC00000
  1394. 5979:   mmap(0xFEC00000, 2225278, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEC00000
  1395. 5979:   mmap(0xFEE2F000, 4234, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 2224128) = 0xFEE2F000
  1396. 5979:   munmap(0xFEE20000, 61440)                       = 0
  1397. 5979:   memcntl(0xFEC00000, 7188, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  1398. 5979:   close(3)                                        = 0
  1399. 5979:   xstat(2, "/usr/lib/gss/methods_en_US.UTF-8.so.3", 0x08046588) Err#2 ENOENT
  1400. 5979:   xstat(2, "/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", 0x08046588) = 0
  1401. 5979:   resolvepath("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", "/usr/lib/locale/common/methods_unicode.so.3", 1023) = 43
  1402. 5979:   open("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", O_RDONLY) = 3
  1403. 5979:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  1404. 5979:   mmap(0x00010000, 122880, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE60000
  1405. 5979:   mmap(0xFEE60000, 55437, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE60000
  1406. 5979:   mmap(0xFEE7D000, 2524, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 53248) = 0xFEE7D000
  1407. 5979:   munmap(0xFEE6E000, 61440)                       = 0
  1408. 5979:   memcntl(0xFEE60000, 2532, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  1409. 5979:   close(3)                                        = 0
  1410. 5979:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046588)  Err#2 ENOENT
  1411. 5979:   xstat(2, "/usr/lib/locale/en_US.UTF-8/libc.so.1", 0x08046588) Err#2 ENOENT
  1412. 5979:   munmap(0xFEFB0000, 32768)                       = 0
  1413. 5979:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  1414. 5979:   xstat(2, "/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/magic", 0x08047550) Err#2 ENOENT
  1415. 5979:   brk(0x0806AFD0)                                 = 0
  1416. 5979:   brk(0x0806CFD0)                                 = 0
  1417. 5979:   open("/etc/magic", O_RDONLY)                    = 3
  1418. 5979:   fstat64(3, 0x08047450)                          = 0
  1419. 5979:   brk(0x0806CFD0)                                 = 0
  1420. 5979:   brk(0x0806EFD0)                                 = 0
  1421. 5979:   fstat64(3, 0x08047390)                          = 0
  1422. 5979:   ioctl(3, TCGETA, 0x08047424)                    Err#25 ENOTTY
  1423. 5979:   read(3, " #\n #   C o p y r i g h".., 8192)     = 8192
  1424. 5979:   brk(0x0806EFD0)                                 = 0
  1425. 5979:   brk(0x08070FD0)                                 = 0
  1426. 5979:   read(3, " e & 0 x 8 0\t > 0\t\t b".., 8192)     = 8192
  1427. 5979:   brk(0x08070FD0)                                 = 0
  1428. 5979:   brk(0x08072FD0)                                 = 0
  1429. 5979:   read(3, " n g\t\t - 2 . 0\t\t   2".., 8192)     = 1135
  1430. 5979:   brk(0x08072FD0)                                 = 0
  1431. 5979:   brk(0x08072FD0)                                 = 0
  1432. 5979:   brk(0x08074FD0)                                 = 0
  1433. 5979:   read(3, 0x0806BA4C, 8192)                       = 0
  1434. 5979:   llseek(3, 0, SEEK_CUR)                          = 17519
  1435. 5979:   close(3)                                        = 0
  1436. 5979:   ioctl(1, TCGETA, 0x08046934)                    Err#22 EINVAL
  1437. 5979:   fstat64(1, 0x08046960)                          = 0
  1438. 5979:   fstat64(1, 0x080468A0)                          = 0
  1439. 5979:   stat64("/tmp", 0x08068800)                      = 0
  1440. 5979:   open("/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/SUNW_OST_OSCMD.mo", O_RDONLY) Err#2 ENOENT
  1441. 5979:   write(1, " / t m p :\t\t d i r e c".., 17)      = 17
  1442. 5509:   read(10, " / t m p :\t\t d i r e c".., 1024)    = 17
  1443. 5979:   close(1)                                        = 0
  1444. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  1445. 5979:   _exit(0)
  1446. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  1447. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  1448. 5509:   read(10, 0x08046984, 1024)                      = 0
  1449. 5509:   ioctl(10, TCGETA, 0x08046458)                   Err#22 EINVAL
  1450. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  1451. 5509:   waitid(P_ALL, 0, 0x08046810, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED) = 0
  1452. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  1453. 5509:   close(10)                                       = 0
  1454. 5509:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  1455. 5508:   read(0, " 0", 1)                                = 1
  1456. 5509:   pipe()                                          = 3 [4]
  1457. 5509:   fcntl(3, F_DUPFD, 0x0000000A)                   = 10
  1458. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  1459. 5509:   close(3)                                        = 0
  1460. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  1461. 5509:   fcntl(4, F_DUPFD, 0x0000000A)                   = 11
  1462. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  1463. 5509:   close(4)                                        = 0
  1464. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 1
  1465. 5508:   read(0, " 1 2 3 4 5 6 7 8 9 A B C".., 63)       = 63
  1466. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  1467. 5509:   fork1()                                         = 5981
  1468. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  1469. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  1470. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 0
  1471. 5508:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  1472. 5509:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  1473. 5981:   fork1()         (returning as child ...)        = 5509
  1474. 5509:   close(11)                                       = 0
  1475. 5981:   getpid()                                        = 5981 [5509]
  1476. 5509:   fcntl(10, F_GETFL)                              = 2
  1477. 5509:   llseek(10, 0, SEEK_CUR)                         Err#29 ESPIPE
  1478. 5981:   lwp_self()                                      = 1
  1479. 5509:   ioctl(10, TCGETS, 0x08089868)                   Err#22 EINVAL
  1480. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  1481. 5981:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  1482. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  1483. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  1484. 5981:   getpid()                                        = 5981 [5509]
  1485. 5981:   close(1)                                        = 0
  1486. 5981:   fcntl(11, F_DUPFD, 0x00000001)                  = 1
  1487. 5981:   close(11)                                       = 0
  1488. 5981:   close(10)                                       = 0
  1489. 5981:   close(11)                                       Err#9 EBADF
  1490. 5981:   schedctl()                                      = 0xFEFF9000
  1491. 5981:   lwp_sigmask(SIG_SETMASK, 0x00020000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  1492. 5981:   stat64("/usr/bin/file", 0x08046600)             = 0
  1493. 5981:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  1494. 5981:   getpid()                                        = 5981 [5509]
  1495. 5981:   execve("/usr/bin/file", 0x0808F4DC, 0x0808F530)  argc = 2
  1496. 5981:   resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12
  1497. 5981:   resolvepath("/usr/bin/file", "/usr/bin/file", 1023) = 13
  1498. 5981:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  1499. 5981:   xstat(2, "/usr/bin/file", 0x08047408)           = 0
  1500. 5981:   open("/var/ld/ld.config", O_RDONLY)             Err#2 ENOENT
  1501. 5981:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFF0000
  1502. 5981:   xstat(2, "/usr/lib/gss/libelf.so.1", 0x08046C38) Err#2 ENOENT
  1503. 5981:   xstat(2, "/lib/libelf.so.1", 0x08046C38)        = 0
  1504. 5981:   resolvepath("/lib/libelf.so.1", "/lib/libelf.so.1", 1023) = 16
  1505. 5981:   open("/lib/libelf.so.1", O_RDONLY)              = 3
  1506. 5981:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  1507. 5981:   mmap(0x00010000, 176128, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF80000
  1508. 5981:   mmap(0xFEF80000, 103385, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF80000
  1509. 5981:   mmap(0xFEFAA000, 2688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 106496) = 0xFEFAA000
  1510. 5981:   munmap(0xFEF9A000, 65536)                       = 0
  1511. 5981:   memcntl(0xFEF80000, 9512, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  1512. 5981:   close(3)                                        = 0
  1513. 5981:   xstat(2, "/usr/lib/gss/libdoor.so.1", 0x08046C38) Err#2 ENOENT
  1514. 5981:   xstat(2, "/lib/libdoor.so.1", 0x08046C38)       = 0
  1515. 5981:   resolvepath("/lib/libdoor.so.1", "/lib/libdoor.so.1", 1023) = 17
  1516. 5981:   open("/lib/libdoor.so.1", O_RDONLY)             = 3
  1517. 5981:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  1518. 5981:   mmap(0x00010000, 73728, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF60000
  1519. 5981:   mmap(0xFEF60000, 3595, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF60000
  1520. 5981:   mmap(0xFEF71000, 328, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 4096) = 0xFEF71000
  1521. 5981:   munmap(0xFEF61000, 65536)                       = 0
  1522. 5981:   memcntl(0xFEF60000, 2048, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  1523. 5981:   close(3)                                        = 0
  1524. 5981:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  1525. 5981:   xstat(2, "/lib/libc.so.1", 0x08046C38)          = 0
  1526. 5981:   resolvepath("/lib/libc.so.1", "/lib/libc.so.1", 1023) = 14
  1527. 5981:   open("/lib/libc.so.1", O_RDONLY)                = 3
  1528. 5981:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  1529. 5981:   mmap(0x00010000, 880640, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE80000
  1530. 5981:   mmap(0xFEE80000, 775581, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE80000
  1531. 5981:   mmap(0xFEF4E000, 27239, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 778240) = 0xFEF4E000
  1532. 5981:   mmap(0xFEF55000, 5392, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFEF55000
  1533. 5981:   munmap(0xFEF3E000, 65536)                       = 0
  1534. 5981:   memcntl(0xFEE80000, 123472, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  1535. 5981:   close(3)                                        = 0
  1536. 5981:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  1537. 5981:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  1538. 5981:   mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF40000
  1539. 5981:   munmap(0xFEFB0000, 32768)                       = 0
  1540. 5981:   getcontext(0x080471C0)
  1541. 5981:   getrlimit(RLIMIT_STACK, 0x080471B8)             = 0
  1542. 5981:   getpid()                                        = 5981 [5509]
  1543. 5981:   lwp_private(0, 1, 0xFEF42A00)                   = 0x000001C3
  1544. 5981:   setustack(0xFEF42A60)
  1545. 5981:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFC0000
  1546. 5981:   sysi86(SI86FPSTART, 0xFEF55BC0, 0x0000133F, 0x00001F80) = 0x00000001
  1547. 5981:   brk(0x08068FD0)                                 = 0
  1548. 5981:   brk(0x0806AFD0)                                 = 0
  1549. 5981:   xstat(2, "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 0x08046630) = 0
  1550. 5981:   resolvepath("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 1023) = 44
  1551. 5981:   open("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", O_RDONLY) = 3
  1552. 5981:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  1553. 5981:   mmap(0x00010000, 2297856, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEC00000
  1554. 5981:   mmap(0xFEC00000, 2225278, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEC00000
  1555. 5981:   mmap(0xFEE2F000, 4234, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 2224128) = 0xFEE2F000
  1556. 5981:   munmap(0xFEE20000, 61440)                       = 0
  1557. 5981:   memcntl(0xFEC00000, 7188, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  1558. 5981:   close(3)                                        = 0
  1559. 5981:   xstat(2, "/usr/lib/gss/methods_en_US.UTF-8.so.3", 0x08046588) Err#2 ENOENT
  1560. 5981:   xstat(2, "/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", 0x08046588) = 0
  1561. 5981:   resolvepath("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", "/usr/lib/locale/common/methods_unicode.so.3", 1023) = 43
  1562. 5981:   open("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", O_RDONLY) = 3
  1563. 5981:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  1564. 5981:   mmap(0x00010000, 122880, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE60000
  1565. 5981:   mmap(0xFEE60000, 55437, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE60000
  1566. 5981:   mmap(0xFEE7D000, 2524, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 53248) = 0xFEE7D000
  1567. 5981:   munmap(0xFEE6E000, 61440)                       = 0
  1568. 5981:   memcntl(0xFEE60000, 2532, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  1569. 5981:   close(3)                                        = 0
  1570. 5981:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046588)  Err#2 ENOENT
  1571. 5981:   xstat(2, "/usr/lib/locale/en_US.UTF-8/libc.so.1", 0x08046588) Err#2 ENOENT
  1572. 5981:   munmap(0xFEFB0000, 32768)                       = 0
  1573. 5981:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  1574. 5981:   xstat(2, "/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/magic", 0x08047550) Err#2 ENOENT
  1575. 5981:   brk(0x0806AFD0)                                 = 0
  1576. 5981:   brk(0x0806CFD0)                                 = 0
  1577. 5981:   open("/etc/magic", O_RDONLY)                    = 3
  1578. 5981:   fstat64(3, 0x08047450)                          = 0
  1579. 5981:   brk(0x0806CFD0)                                 = 0
  1580. 5981:   brk(0x0806EFD0)                                 = 0
  1581. 5981:   fstat64(3, 0x08047390)                          = 0
  1582. 5981:   ioctl(3, TCGETA, 0x08047424)                    Err#25 ENOTTY
  1583. 5981:   read(3, " #\n #   C o p y r i g h".., 8192)     = 8192
  1584. 5981:   brk(0x0806EFD0)                                 = 0
  1585. 5981:   brk(0x08070FD0)                                 = 0
  1586. 5981:   read(3, " e & 0 x 8 0\t > 0\t\t b".., 8192)     = 8192
  1587. 5981:   brk(0x08070FD0)                                 = 0
  1588. 5981:   brk(0x08072FD0)                                 = 0
  1589. 5981:   read(3, " n g\t\t - 2 . 0\t\t   2".., 8192)     = 1135
  1590. 5981:   brk(0x08072FD0)                                 = 0
  1591. 5981:   brk(0x08072FD0)                                 = 0
  1592. 5981:   brk(0x08074FD0)                                 = 0
  1593. 5981:   read(3, 0x0806BA4C, 8192)                       = 0
  1594. 5981:   llseek(3, 0, SEEK_CUR)                          = 17519
  1595. 5981:   close(3)                                        = 0
  1596. 5981:   ioctl(1, TCGETA, 0x08046934)                    Err#22 EINVAL
  1597. 5981:   fstat64(1, 0x08046960)                          = 0
  1598. 5981:   fstat64(1, 0x080468A0)                          = 0
  1599. 5981:   stat64("/tmp", 0x08068800)                      = 0
  1600. 5981:   open("/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/SUNW_OST_OSCMD.mo", O_RDONLY) Err#2 ENOENT
  1601. 5981:   write(1, " / t m p :\t\t d i r e c".., 17)      = 17
  1602. 5509:   read(10, " / t m p :\t\t d i r e c".., 1024)    = 17
  1603. 5981:   close(1)                                        = 0
  1604. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  1605. 5981:   _exit(0)
  1606. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  1607. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  1608. 5509:   read(10, 0x08046984, 1024)                      = 0
  1609. 5509:   ioctl(10, TCGETA, 0x08046458)                   Err#22 EINVAL
  1610. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  1611. 5509:   waitid(P_ALL, 0, 0x08046810, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED) = 0
  1612. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  1613. 5509:   close(10)                                       = 0
  1614. 5509:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  1615. 5508:   read(0, " 0", 1)                                = 1
  1616. 5509:   pipe()                                          = 3 [4]
  1617. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  1618. 5509:   fcntl(3, F_DUPFD, 0x0000000A)                   = 10
  1619. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  1620. 5509:   close(3)                                        = 0
  1621. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  1622. 5509:   fcntl(4, F_DUPFD, 0x0000000A)                   = 11
  1623. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 1
  1624. 5509:   close(4)                                        = 0
  1625. 5508:   read(0, " 1 2 3 4 5 6 7 8 9 A B C".., 63)       = 63
  1626. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  1627. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  1628. 5509:   fork1()                                         = 5983
  1629. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  1630. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 0
  1631. 5508:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  1632. 5509:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  1633. 5983:   fork1()         (returning as child ...)        = 5509
  1634. 5509:   close(11)                                       = 0
  1635. 5509:   fcntl(10, F_GETFL)                              = 2
  1636. 5509:   llseek(10, 0, SEEK_CUR)                         Err#29 ESPIPE
  1637. 5983:   getpid()                                        = 5983 [5509]
  1638. 5509:   ioctl(10, TCGETS, 0x08089868)                   Err#22 EINVAL
  1639. 5983:   lwp_self()                                      = 1
  1640. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  1641. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  1642. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  1643. 5983:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  1644. 5983:   getpid()                                        = 5983 [5509]
  1645. 5983:   close(1)                                        = 0
  1646. 5983:   fcntl(11, F_DUPFD, 0x00000001)                  = 1
  1647. 5983:   close(11)                                       = 0
  1648. 5983:   close(10)                                       = 0
  1649. 5983:   close(11)                                       Err#9 EBADF
  1650. 5983:   schedctl()                                      = 0xFEFED000
  1651. 5983:   lwp_sigmask(SIG_SETMASK, 0x00020000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  1652. 5983:   stat64("/usr/bin/file", 0x08046600)             = 0
  1653. 5983:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  1654. 5983:   getpid()                                        = 5983 [5509]
  1655. 5983:   execve("/usr/bin/file", 0x0808F4DC, 0x0808F530)  argc = 2
  1656. 5983:   resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12
  1657. 5983:   resolvepath("/usr/bin/file", "/usr/bin/file", 1023) = 13
  1658. 5983:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  1659. 5983:   xstat(2, "/usr/bin/file", 0x08047408)           = 0
  1660. 5983:   open("/var/ld/ld.config", O_RDONLY)             Err#2 ENOENT
  1661. 5983:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFF0000
  1662. 5983:   xstat(2, "/usr/lib/gss/libelf.so.1", 0x08046C38) Err#2 ENOENT
  1663. 5983:   xstat(2, "/lib/libelf.so.1", 0x08046C38)        = 0
  1664. 5983:   resolvepath("/lib/libelf.so.1", "/lib/libelf.so.1", 1023) = 16
  1665. 5983:   open("/lib/libelf.so.1", O_RDONLY)              = 3
  1666. 5983:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  1667. 5983:   mmap(0x00010000, 176128, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF80000
  1668. 5983:   mmap(0xFEF80000, 103385, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF80000
  1669. 5983:   mmap(0xFEFAA000, 2688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 106496) = 0xFEFAA000
  1670. 5983:   munmap(0xFEF9A000, 65536)                       = 0
  1671. 5983:   memcntl(0xFEF80000, 9512, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  1672. 5983:   close(3)                                        = 0
  1673. 5983:   xstat(2, "/usr/lib/gss/libdoor.so.1", 0x08046C38) Err#2 ENOENT
  1674. 5983:   xstat(2, "/lib/libdoor.so.1", 0x08046C38)       = 0
  1675. 5983:   resolvepath("/lib/libdoor.so.1", "/lib/libdoor.so.1", 1023) = 17
  1676. 5983:   open("/lib/libdoor.so.1", O_RDONLY)             = 3
  1677. 5983:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  1678. 5983:   mmap(0x00010000, 73728, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF60000
  1679. 5983:   mmap(0xFEF60000, 3595, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF60000
  1680. 5983:   mmap(0xFEF71000, 328, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 4096) = 0xFEF71000
  1681. 5983:   munmap(0xFEF61000, 65536)                       = 0
  1682. 5983:   memcntl(0xFEF60000, 2048, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  1683. 5983:   close(3)                                        = 0
  1684. 5983:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  1685. 5983:   xstat(2, "/lib/libc.so.1", 0x08046C38)          = 0
  1686. 5983:   resolvepath("/lib/libc.so.1", "/lib/libc.so.1", 1023) = 14
  1687. 5983:   open("/lib/libc.so.1", O_RDONLY)                = 3
  1688. 5983:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  1689. 5983:   mmap(0x00010000, 880640, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE80000
  1690. 5983:   mmap(0xFEE80000, 775581, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE80000
  1691. 5983:   mmap(0xFEF4E000, 27239, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 778240) = 0xFEF4E000
  1692. 5983:   mmap(0xFEF55000, 5392, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFEF55000
  1693. 5983:   munmap(0xFEF3E000, 65536)                       = 0
  1694. 5983:   memcntl(0xFEE80000, 123472, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  1695. 5983:   close(3)                                        = 0
  1696. 5983:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  1697. 5983:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  1698. 5983:   mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF40000
  1699. 5983:   munmap(0xFEFB0000, 32768)                       = 0
  1700. 5983:   getcontext(0x080471C0)
  1701. 5983:   getrlimit(RLIMIT_STACK, 0x080471B8)             = 0
  1702. 5983:   getpid()                                        = 5983 [5509]
  1703. 5983:   lwp_private(0, 1, 0xFEF42A00)                   = 0x000001C3
  1704. 5983:   setustack(0xFEF42A60)
  1705. 5983:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFC0000
  1706. 5983:   sysi86(SI86FPSTART, 0xFEF55BC0, 0x0000133F, 0x00001F80) = 0x00000001
  1707. 5983:   brk(0x08068FD0)                                 = 0
  1708. 5983:   brk(0x0806AFD0)                                 = 0
  1709. 5983:   xstat(2, "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 0x08046630) = 0
  1710. 5983:   resolvepath("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 1023) = 44
  1711. 5983:   open("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", O_RDONLY) = 3
  1712. 5983:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  1713. 5983:   mmap(0x00010000, 2297856, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEC00000
  1714. 5983:   mmap(0xFEC00000, 2225278, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEC00000
  1715. 5983:   mmap(0xFEE2F000, 4234, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 2224128) = 0xFEE2F000
  1716. 5983:   munmap(0xFEE20000, 61440)                       = 0
  1717. 5983:   memcntl(0xFEC00000, 7188, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  1718. 5983:   close(3)                                        = 0
  1719. 5983:   xstat(2, "/usr/lib/gss/methods_en_US.UTF-8.so.3", 0x08046588) Err#2 ENOENT
  1720. 5983:   xstat(2, "/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", 0x08046588) = 0
  1721. 5983:   resolvepath("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", "/usr/lib/locale/common/methods_unicode.so.3", 1023) = 43
  1722. 5983:   open("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", O_RDONLY) = 3
  1723. 5983:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  1724. 5983:   mmap(0x00010000, 122880, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE60000
  1725. 5983:   mmap(0xFEE60000, 55437, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE60000
  1726. 5983:   mmap(0xFEE7D000, 2524, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 53248) = 0xFEE7D000
  1727. 5983:   munmap(0xFEE6E000, 61440)                       = 0
  1728. 5983:   memcntl(0xFEE60000, 2532, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  1729. 5983:   close(3)                                        = 0
  1730. 5983:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046588)  Err#2 ENOENT
  1731. 5983:   xstat(2, "/usr/lib/locale/en_US.UTF-8/libc.so.1", 0x08046588) Err#2 ENOENT
  1732. 5983:   munmap(0xFEFB0000, 32768)                       = 0
  1733. 5983:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  1734. 5983:   xstat(2, "/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/magic", 0x08047550) Err#2 ENOENT
  1735. 5983:   brk(0x0806AFD0)                                 = 0
  1736. 5983:   brk(0x0806CFD0)                                 = 0
  1737. 5983:   open("/etc/magic", O_RDONLY)                    = 3
  1738. 5983:   fstat64(3, 0x08047450)                          = 0
  1739. 5983:   brk(0x0806CFD0)                                 = 0
  1740. 5983:   brk(0x0806EFD0)                                 = 0
  1741. 5983:   fstat64(3, 0x08047390)                          = 0
  1742. 5983:   ioctl(3, TCGETA, 0x08047424)                    Err#25 ENOTTY
  1743. 5983:   read(3, " #\n #   C o p y r i g h".., 8192)     = 8192
  1744. 5983:   brk(0x0806EFD0)                                 = 0
  1745. 5983:   brk(0x08070FD0)                                 = 0
  1746. 5983:   read(3, " e & 0 x 8 0\t > 0\t\t b".., 8192)     = 8192
  1747. 5983:   brk(0x08070FD0)                                 = 0
  1748. 5983:   brk(0x08072FD0)                                 = 0
  1749. 5983:   read(3, " n g\t\t - 2 . 0\t\t   2".., 8192)     = 1135
  1750. 5983:   brk(0x08072FD0)                                 = 0
  1751. 5983:   brk(0x08072FD0)                                 = 0
  1752. 5983:   brk(0x08074FD0)                                 = 0
  1753. 5983:   read(3, 0x0806BA4C, 8192)                       = 0
  1754. 5983:   llseek(3, 0, SEEK_CUR)                          = 17519
  1755. 5983:   close(3)                                        = 0
  1756. 5983:   ioctl(1, TCGETA, 0x08046934)                    Err#22 EINVAL
  1757. 5983:   fstat64(1, 0x08046960)                          = 0
  1758. 5983:   fstat64(1, 0x080468A0)                          = 0
  1759. 5983:   stat64("/tmp", 0x08068800)                      = 0
  1760. 5983:   open("/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/SUNW_OST_OSCMD.mo", O_RDONLY) Err#2 ENOENT
  1761. 5983:   write(1, " / t m p :\t\t d i r e c".., 17)      = 17
  1762. 5983:   close(1)                                        = 0
  1763. 5509:   read(10, " / t m p :\t\t d i r e c".., 1024)    = 17
  1764. 5983:   _exit(0)
  1765. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  1766. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  1767. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  1768. 5509:   read(10, 0x08046984, 1024)                      = 0
  1769. 5509:   ioctl(10, TCGETA, 0x08046458)                   Err#22 EINVAL
  1770. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  1771. 5509:   waitid(P_ALL, 0, 0x08046810, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED) = 0
  1772. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  1773. 5509:   close(10)                                       = 0
  1774. 5509:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  1775. 5508:   read(0, " 0", 1)                                = 1
  1776. 5509:   pipe()                                          = 3 [4]
  1777. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  1778. 5509:   fcntl(3, F_DUPFD, 0x0000000A)                   = 10
  1779. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  1780. 5509:   close(3)                                        = 0
  1781. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  1782. 5509:   fcntl(4, F_DUPFD, 0x0000000A)                   = 11
  1783. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 1
  1784. 5509:   close(4)                                        = 0
  1785. 5508:   read(0, " 1 2 3 4 5 6 7 8 9 A B C".., 63)       = 63
  1786. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  1787. 5509:   fork1()                                         = 5985
  1788. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  1789. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  1790. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 0
  1791. 5508:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  1792. 5509:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  1793. 5985:   fork1()         (returning as child ...)        = 5509
  1794. 5509:   close(11)                                       = 0
  1795. 5985:   getpid()                                        = 5985 [5509]
  1796. 5509:   fcntl(10, F_GETFL)                              = 2
  1797. 5509:   llseek(10, 0, SEEK_CUR)                         Err#29 ESPIPE
  1798. 5985:   lwp_self()                                      = 1
  1799. 5509:   ioctl(10, TCGETS, 0x08089868)                   Err#22 EINVAL
  1800. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  1801. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  1802. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  1803. 5985:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  1804. 5985:   getpid()                                        = 5985 [5509]
  1805. 5985:   close(1)                                        = 0
  1806. 5985:   fcntl(11, F_DUPFD, 0x00000001)                  = 1
  1807. 5985:   close(11)                                       = 0
  1808. 5985:   close(10)                                       = 0
  1809. 5985:   close(11)                                       Err#9 EBADF
  1810. 5985:   schedctl()                                      = 0xFEFF9000
  1811. 5985:   lwp_sigmask(SIG_SETMASK, 0x00020000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  1812. 5985:   stat64("/usr/bin/file", 0x08046600)             = 0
  1813. 5985:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  1814. 5985:   getpid()                                        = 5985 [5509]
  1815. 5985:   execve("/usr/bin/file", 0x0808F4DC, 0x0808F530)  argc = 2
  1816. 5985:   resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12
  1817. 5985:   resolvepath("/usr/bin/file", "/usr/bin/file", 1023) = 13
  1818. 5985:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  1819. 5985:   xstat(2, "/usr/bin/file", 0x08047408)           = 0
  1820. 5985:   open("/var/ld/ld.config", O_RDONLY)             Err#2 ENOENT
  1821. 5985:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFF0000
  1822. 5985:   xstat(2, "/usr/lib/gss/libelf.so.1", 0x08046C38) Err#2 ENOENT
  1823. 5985:   xstat(2, "/lib/libelf.so.1", 0x08046C38)        = 0
  1824. 5985:   resolvepath("/lib/libelf.so.1", "/lib/libelf.so.1", 1023) = 16
  1825. 5985:   open("/lib/libelf.so.1", O_RDONLY)              = 3
  1826. 5985:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  1827. 5985:   mmap(0x00010000, 176128, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF80000
  1828. 5985:   mmap(0xFEF80000, 103385, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF80000
  1829. 5985:   mmap(0xFEFAA000, 2688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 106496) = 0xFEFAA000
  1830. 5985:   munmap(0xFEF9A000, 65536)                       = 0
  1831. 5985:   memcntl(0xFEF80000, 9512, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  1832. 5985:   close(3)                                        = 0
  1833. 5985:   xstat(2, "/usr/lib/gss/libdoor.so.1", 0x08046C38) Err#2 ENOENT
  1834. 5985:   xstat(2, "/lib/libdoor.so.1", 0x08046C38)       = 0
  1835. 5985:   resolvepath("/lib/libdoor.so.1", "/lib/libdoor.so.1", 1023) = 17
  1836. 5985:   open("/lib/libdoor.so.1", O_RDONLY)             = 3
  1837. 5985:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  1838. 5985:   mmap(0x00010000, 73728, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF60000
  1839. 5985:   mmap(0xFEF60000, 3595, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF60000
  1840. 5985:   mmap(0xFEF71000, 328, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 4096) = 0xFEF71000
  1841. 5985:   munmap(0xFEF61000, 65536)                       = 0
  1842. 5985:   memcntl(0xFEF60000, 2048, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  1843. 5985:   close(3)                                        = 0
  1844. 5985:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  1845. 5985:   xstat(2, "/lib/libc.so.1", 0x08046C38)          = 0
  1846. 5985:   resolvepath("/lib/libc.so.1", "/lib/libc.so.1", 1023) = 14
  1847. 5985:   open("/lib/libc.so.1", O_RDONLY)                = 3
  1848. 5985:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  1849. 5985:   mmap(0x00010000, 880640, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE80000
  1850. 5985:   mmap(0xFEE80000, 775581, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE80000
  1851. 5985:   mmap(0xFEF4E000, 27239, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 778240) = 0xFEF4E000
  1852. 5985:   mmap(0xFEF55000, 5392, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFEF55000
  1853. 5985:   munmap(0xFEF3E000, 65536)                       = 0
  1854. 5985:   memcntl(0xFEE80000, 123472, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  1855. 5985:   close(3)                                        = 0
  1856. 5985:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  1857. 5985:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  1858. 5985:   mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF40000
  1859. 5985:   munmap(0xFEFB0000, 32768)                       = 0
  1860. 5985:   getcontext(0x080471C0)
  1861. 5985:   getrlimit(RLIMIT_STACK, 0x080471B8)             = 0
  1862. 5985:   getpid()                                        = 5985 [5509]
  1863. 5985:   lwp_private(0, 1, 0xFEF42A00)                   = 0x000001C3
  1864. 5985:   setustack(0xFEF42A60)
  1865. 5985:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFC0000
  1866. 5985:   sysi86(SI86FPSTART, 0xFEF55BC0, 0x0000133F, 0x00001F80) = 0x00000001
  1867. 5985:   brk(0x08068FD0)                                 = 0
  1868. 5985:   brk(0x0806AFD0)                                 = 0
  1869. 5985:   xstat(2, "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 0x08046630) = 0
  1870. 5985:   resolvepath("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 1023) = 44
  1871. 5985:   open("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", O_RDONLY) = 3
  1872. 5985:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  1873. 5985:   mmap(0x00010000, 2297856, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEC00000
  1874. 5985:   mmap(0xFEC00000, 2225278, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEC00000
  1875. 5985:   mmap(0xFEE2F000, 4234, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 2224128) = 0xFEE2F000
  1876. 5985:   munmap(0xFEE20000, 61440)                       = 0
  1877. 5985:   memcntl(0xFEC00000, 7188, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  1878. 5985:   close(3)                                        = 0
  1879. 5985:   xstat(2, "/usr/lib/gss/methods_en_US.UTF-8.so.3", 0x08046588) Err#2 ENOENT
  1880. 5985:   xstat(2, "/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", 0x08046588) = 0
  1881. 5985:   resolvepath("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", "/usr/lib/locale/common/methods_unicode.so.3", 1023) = 43
  1882. 5985:   open("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", O_RDONLY) = 3
  1883. 5985:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  1884. 5985:   mmap(0x00010000, 122880, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE60000
  1885. 5985:   mmap(0xFEE60000, 55437, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE60000
  1886. 5985:   mmap(0xFEE7D000, 2524, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 53248) = 0xFEE7D000
  1887. 5985:   munmap(0xFEE6E000, 61440)                       = 0
  1888. 5985:   memcntl(0xFEE60000, 2532, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  1889. 5985:   close(3)                                        = 0
  1890. 5985:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046588)  Err#2 ENOENT
  1891. 5985:   xstat(2, "/usr/lib/locale/en_US.UTF-8/libc.so.1", 0x08046588) Err#2 ENOENT
  1892. 5985:   munmap(0xFEFB0000, 32768)                       = 0
  1893. 5985:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  1894. 5985:   xstat(2, "/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/magic", 0x08047550) Err#2 ENOENT
  1895. 5985:   brk(0x0806AFD0)                                 = 0
  1896. 5985:   brk(0x0806CFD0)                                 = 0
  1897. 5985:   open("/etc/magic", O_RDONLY)                    = 3
  1898. 5985:   fstat64(3, 0x08047450)                          = 0
  1899. 5985:   brk(0x0806CFD0)                                 = 0
  1900. 5985:   brk(0x0806EFD0)                                 = 0
  1901. 5985:   fstat64(3, 0x08047390)                          = 0
  1902. 5985:   ioctl(3, TCGETA, 0x08047424)                    Err#25 ENOTTY
  1903. 5985:   read(3, " #\n #   C o p y r i g h".., 8192)     = 8192
  1904. 5985:   brk(0x0806EFD0)                                 = 0
  1905. 5985:   brk(0x08070FD0)                                 = 0
  1906. 5985:   read(3, " e & 0 x 8 0\t > 0\t\t b".., 8192)     = 8192
  1907. 5985:   brk(0x08070FD0)                                 = 0
  1908. 5985:   brk(0x08072FD0)                                 = 0
  1909. 5985:   read(3, " n g\t\t - 2 . 0\t\t   2".., 8192)     = 1135
  1910. 5985:   brk(0x08072FD0)                                 = 0
  1911. 5985:   brk(0x08072FD0)                                 = 0
  1912. 5985:   brk(0x08074FD0)                                 = 0
  1913. 5985:   read(3, 0x0806BA4C, 8192)                       = 0
  1914. 5985:   llseek(3, 0, SEEK_CUR)                          = 17519
  1915. 5985:   close(3)                                        = 0
  1916. 5985:   ioctl(1, TCGETA, 0x08046934)                    Err#22 EINVAL
  1917. 5985:   fstat64(1, 0x08046960)                          = 0
  1918. 5985:   fstat64(1, 0x080468A0)                          = 0
  1919. 5985:   stat64("/tmp", 0x08068800)                      = 0
  1920. 5985:   open("/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/SUNW_OST_OSCMD.mo", O_RDONLY) Err#2 ENOENT
  1921. 5985:   write(1, " / t m p :\t\t d i r e c".., 17)      = 17
  1922. 5509:   read(10, " / t m p :\t\t d i r e c".., 1024)    = 17
  1923. 5985:   close(1)                                        = 0
  1924. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  1925. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  1926. 5985:   _exit(0)
  1927. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  1928. 5509:   read(10, 0x08046984, 1024)                      = 0
  1929. 5509:   ioctl(10, TCGETA, 0x08046458)                   Err#22 EINVAL
  1930. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  1931. 5509:   waitid(P_ALL, 0, 0x08046810, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED) = 0
  1932. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  1933. 5509:   close(10)                                       = 0
  1934. 5509:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  1935. 5508:   read(0, " 0", 1)                                = 1
  1936. 5509:   pipe()                                          = 3 [4]
  1937. 5509:   fcntl(3, F_DUPFD, 0x0000000A)                   = 10
  1938. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  1939. 5509:   close(3)                                        = 0
  1940. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  1941. 5509:   fcntl(4, F_DUPFD, 0x0000000A)                   = 11
  1942. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  1943. 5509:   close(4)                                        = 0
  1944. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 1
  1945. 5508:   read(0, " 1 2 3 4 5 6 7 8 9 A B C".., 63)       = 63
  1946. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  1947. 5509:   fork1()                                         = 5987
  1948. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  1949. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  1950. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 0
  1951. 5508:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  1952. 5509:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  1953. 5987:   fork1()         (returning as child ...)        = 5509
  1954. 5509:   close(11)                                       = 0
  1955. 5509:   fcntl(10, F_GETFL)                              = 2
  1956. 5987:   getpid()                                        = 5987 [5509]
  1957. 5509:   llseek(10, 0, SEEK_CUR)                         Err#29 ESPIPE
  1958. 5987:   lwp_self()                                      = 1
  1959. 5509:   ioctl(10, TCGETS, 0x08089868)                   Err#22 EINVAL
  1960. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  1961. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  1962. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  1963. 5987:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  1964. 5987:   getpid()                                        = 5987 [5509]
  1965. 5987:   close(1)                                        = 0
  1966. 5987:   fcntl(11, F_DUPFD, 0x00000001)                  = 1
  1967. 5987:   close(11)                                       = 0
  1968. 5987:   close(10)                                       = 0
  1969. 5987:   close(11)                                       Err#9 EBADF
  1970. 5987:   schedctl()                                      = 0xFEFBA000
  1971. 5987:   lwp_sigmask(SIG_SETMASK, 0x00020000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  1972. 5987:   stat64("/usr/bin/file", 0x08046600)             = 0
  1973. 5987:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  1974. 5987:   getpid()                                        = 5987 [5509]
  1975. 5987:   execve("/usr/bin/file", 0x0808F4DC, 0x0808F530)  argc = 2
  1976. 5987:   resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12
  1977. 5987:   resolvepath("/usr/bin/file", "/usr/bin/file", 1023) = 13
  1978. 5987:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  1979. 5987:   xstat(2, "/usr/bin/file", 0x08047408)           = 0
  1980. 5987:   open("/var/ld/ld.config", O_RDONLY)             Err#2 ENOENT
  1981. 5987:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFF0000
  1982. 5987:   xstat(2, "/usr/lib/gss/libelf.so.1", 0x08046C38) Err#2 ENOENT
  1983. 5987:   xstat(2, "/lib/libelf.so.1", 0x08046C38)        = 0
  1984. 5987:   resolvepath("/lib/libelf.so.1", "/lib/libelf.so.1", 1023) = 16
  1985. 5987:   open("/lib/libelf.so.1", O_RDONLY)              = 3
  1986. 5987:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  1987. 5987:   mmap(0x00010000, 176128, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF80000
  1988. 5987:   mmap(0xFEF80000, 103385, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF80000
  1989. 5987:   mmap(0xFEFAA000, 2688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 106496) = 0xFEFAA000
  1990. 5987:   munmap(0xFEF9A000, 65536)                       = 0
  1991. 5987:   memcntl(0xFEF80000, 9512, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  1992. 5987:   close(3)                                        = 0
  1993. 5987:   xstat(2, "/usr/lib/gss/libdoor.so.1", 0x08046C38) Err#2 ENOENT
  1994. 5987:   xstat(2, "/lib/libdoor.so.1", 0x08046C38)       = 0
  1995. 5987:   resolvepath("/lib/libdoor.so.1", "/lib/libdoor.so.1", 1023) = 17
  1996. 5987:   open("/lib/libdoor.so.1", O_RDONLY)             = 3
  1997. 5987:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  1998. 5987:   mmap(0x00010000, 73728, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF60000
  1999. 5987:   mmap(0xFEF60000, 3595, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF60000
  2000. 5987:   mmap(0xFEF71000, 328, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 4096) = 0xFEF71000
  2001. 5987:   munmap(0xFEF61000, 65536)                       = 0
  2002. 5987:   memcntl(0xFEF60000, 2048, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  2003. 5987:   close(3)                                        = 0
  2004. 5987:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  2005. 5987:   xstat(2, "/lib/libc.so.1", 0x08046C38)          = 0
  2006. 5987:   resolvepath("/lib/libc.so.1", "/lib/libc.so.1", 1023) = 14
  2007. 5987:   open("/lib/libc.so.1", O_RDONLY)                = 3
  2008. 5987:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  2009. 5987:   mmap(0x00010000, 880640, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE80000
  2010. 5987:   mmap(0xFEE80000, 775581, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE80000
  2011. 5987:   mmap(0xFEF4E000, 27239, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 778240) = 0xFEF4E000
  2012. 5987:   mmap(0xFEF55000, 5392, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFEF55000
  2013. 5987:   munmap(0xFEF3E000, 65536)                       = 0
  2014. 5987:   memcntl(0xFEE80000, 123472, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  2015. 5987:   close(3)                                        = 0
  2016. 5987:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  2017. 5987:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  2018. 5987:   mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF40000
  2019. 5987:   munmap(0xFEFB0000, 32768)                       = 0
  2020. 5987:   getcontext(0x080471C0)
  2021. 5987:   getrlimit(RLIMIT_STACK, 0x080471B8)             = 0
  2022. 5987:   getpid()                                        = 5987 [5509]
  2023. 5987:   lwp_private(0, 1, 0xFEF42A00)                   = 0x000001C3
  2024. 5987:   setustack(0xFEF42A60)
  2025. 5987:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFC0000
  2026. 5987:   sysi86(SI86FPSTART, 0xFEF55BC0, 0x0000133F, 0x00001F80) = 0x00000001
  2027. 5987:   brk(0x08068FD0)                                 = 0
  2028. 5987:   brk(0x0806AFD0)                                 = 0
  2029. 5987:   xstat(2, "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 0x08046630) = 0
  2030. 5987:   resolvepath("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 1023) = 44
  2031. 5987:   open("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", O_RDONLY) = 3
  2032. 5987:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  2033. 5987:   mmap(0x00010000, 2297856, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEC00000
  2034. 5987:   mmap(0xFEC00000, 2225278, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEC00000
  2035. 5987:   mmap(0xFEE2F000, 4234, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 2224128) = 0xFEE2F000
  2036. 5987:   munmap(0xFEE20000, 61440)                       = 0
  2037. 5987:   memcntl(0xFEC00000, 7188, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  2038. 5987:   close(3)                                        = 0
  2039. 5987:   xstat(2, "/usr/lib/gss/methods_en_US.UTF-8.so.3", 0x08046588) Err#2 ENOENT
  2040. 5987:   xstat(2, "/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", 0x08046588) = 0
  2041. 5987:   resolvepath("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", "/usr/lib/locale/common/methods_unicode.so.3", 1023) = 43
  2042. 5987:   open("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", O_RDONLY) = 3
  2043. 5987:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  2044. 5987:   mmap(0x00010000, 122880, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE60000
  2045. 5987:   mmap(0xFEE60000, 55437, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE60000
  2046. 5987:   mmap(0xFEE7D000, 2524, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 53248) = 0xFEE7D000
  2047. 5987:   munmap(0xFEE6E000, 61440)                       = 0
  2048. 5987:   memcntl(0xFEE60000, 2532, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  2049. 5987:   close(3)                                        = 0
  2050. 5987:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046588)  Err#2 ENOENT
  2051. 5987:   xstat(2, "/usr/lib/locale/en_US.UTF-8/libc.so.1", 0x08046588) Err#2 ENOENT
  2052. 5987:   munmap(0xFEFB0000, 32768)                       = 0
  2053. 5987:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  2054. 5987:   xstat(2, "/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/magic", 0x08047550) Err#2 ENOENT
  2055. 5987:   brk(0x0806AFD0)                                 = 0
  2056. 5987:   brk(0x0806CFD0)                                 = 0
  2057. 5987:   open("/etc/magic", O_RDONLY)                    = 3
  2058. 5987:   fstat64(3, 0x08047450)                          = 0
  2059. 5987:   brk(0x0806CFD0)                                 = 0
  2060. 5987:   brk(0x0806EFD0)                                 = 0
  2061. 5987:   fstat64(3, 0x08047390)                          = 0
  2062. 5987:   ioctl(3, TCGETA, 0x08047424)                    Err#25 ENOTTY
  2063. 5987:   read(3, " #\n #   C o p y r i g h".., 8192)     = 8192
  2064. 5987:   brk(0x0806EFD0)                                 = 0
  2065. 5987:   brk(0x08070FD0)                                 = 0
  2066. 5987:   read(3, " e & 0 x 8 0\t > 0\t\t b".., 8192)     = 8192
  2067. 5987:   brk(0x08070FD0)                                 = 0
  2068. 5987:   brk(0x08072FD0)                                 = 0
  2069. 5987:   read(3, " n g\t\t - 2 . 0\t\t   2".., 8192)     = 1135
  2070. 5987:   brk(0x08072FD0)                                 = 0
  2071. 5987:   brk(0x08072FD0)                                 = 0
  2072. 5987:   brk(0x08074FD0)                                 = 0
  2073. 5987:   read(3, 0x0806BA4C, 8192)                       = 0
  2074. 5987:   llseek(3, 0, SEEK_CUR)                          = 17519
  2075. 5987:   close(3)                                        = 0
  2076. 5987:   ioctl(1, TCGETA, 0x08046934)                    Err#22 EINVAL
  2077. 5987:   fstat64(1, 0x08046960)                          = 0
  2078. 5987:   fstat64(1, 0x080468A0)                          = 0
  2079. 5987:   stat64("/tmp", 0x08068800)                      = 0
  2080. 5987:   open("/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/SUNW_OST_OSCMD.mo", O_RDONLY) Err#2 ENOENT
  2081. 5987:   write(1, " / t m p :\t\t d i r e c".., 17)      = 17
  2082. 5509:   read(10, " / t m p :\t\t d i r e c".., 1024)    = 17
  2083. 5987:   close(1)                                        = 0
  2084. 5987:   _exit(0)
  2085. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  2086. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  2087. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  2088. 5509:   read(10, 0x08046984, 1024)                      = 0
  2089. 5509:   ioctl(10, TCGETA, 0x08046458)                   Err#22 EINVAL
  2090. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  2091. 5509:   waitid(P_ALL, 0, 0x08046810, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED) = 0
  2092. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  2093. 5509:   close(10)                                       = 0
  2094. 5509:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  2095. 5508:   read(0, " 0", 1)                                = 1
  2096. 5509:   pipe()                                          = 3 [4]
  2097. 5509:   fcntl(3, F_DUPFD, 0x0000000A)                   = 10
  2098. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  2099. 5509:   close(3)                                        = 0
  2100. 5509:   fcntl(4, F_DUPFD, 0x0000000A)                   = 11
  2101. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  2102. 5509:   close(4)                                        = 0
  2103. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  2104. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 1
  2105. 5508:   read(0, " 1 2 3 4 5 6 7 8 9 A B C".., 63)       = 63
  2106. 5509:   fork1()                                         = 5989
  2107. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  2108. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  2109. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  2110. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 0
  2111. 5508:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  2112. 5509:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  2113. 5989:   fork1()         (returning as child ...)        = 5509
  2114. 5509:   close(11)                                       = 0
  2115. 5989:   getpid()                                        = 5989 [5509]
  2116. 5509:   fcntl(10, F_GETFL)                              = 2
  2117. 5509:   llseek(10, 0, SEEK_CUR)                         Err#29 ESPIPE
  2118. 5989:   lwp_self()                                      = 1
  2119. 5509:   ioctl(10, TCGETS, 0x08089868)                   Err#22 EINVAL
  2120. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  2121. 5989:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  2122. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  2123. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  2124. 5989:   getpid()                                        = 5989 [5509]
  2125. 5989:   close(1)                                        = 0
  2126. 5989:   fcntl(11, F_DUPFD, 0x00000001)                  = 1
  2127. 5989:   close(11)                                       = 0
  2128. 5989:   close(10)                                       = 0
  2129. 5989:   close(11)                                       Err#9 EBADF
  2130. 5989:   schedctl()                                      = 0xFEFF9000
  2131. 5989:   lwp_sigmask(SIG_SETMASK, 0x00020000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  2132. 5989:   stat64("/usr/bin/file", 0x08046600)             = 0
  2133. 5989:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  2134. 5989:   getpid()                                        = 5989 [5509]
  2135. 5989:   execve("/usr/bin/file", 0x0808F4DC, 0x0808F530)  argc = 2
  2136. 5989:   resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12
  2137. 5989:   resolvepath("/usr/bin/file", "/usr/bin/file", 1023) = 13
  2138. 5989:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  2139. 5989:   xstat(2, "/usr/bin/file", 0x08047408)           = 0
  2140. 5989:   open("/var/ld/ld.config", O_RDONLY)             Err#2 ENOENT
  2141. 5989:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFF0000
  2142. 5989:   xstat(2, "/usr/lib/gss/libelf.so.1", 0x08046C38) Err#2 ENOENT
  2143. 5989:   xstat(2, "/lib/libelf.so.1", 0x08046C38)        = 0
  2144. 5989:   resolvepath("/lib/libelf.so.1", "/lib/libelf.so.1", 1023) = 16
  2145. 5989:   open("/lib/libelf.so.1", O_RDONLY)              = 3
  2146. 5989:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  2147. 5989:   mmap(0x00010000, 176128, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF80000
  2148. 5989:   mmap(0xFEF80000, 103385, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF80000
  2149. 5989:   mmap(0xFEFAA000, 2688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 106496) = 0xFEFAA000
  2150. 5989:   munmap(0xFEF9A000, 65536)                       = 0
  2151. 5989:   memcntl(0xFEF80000, 9512, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  2152. 5989:   close(3)                                        = 0
  2153. 5989:   xstat(2, "/usr/lib/gss/libdoor.so.1", 0x08046C38) Err#2 ENOENT
  2154. 5989:   xstat(2, "/lib/libdoor.so.1", 0x08046C38)       = 0
  2155. 5989:   resolvepath("/lib/libdoor.so.1", "/lib/libdoor.so.1", 1023) = 17
  2156. 5989:   open("/lib/libdoor.so.1", O_RDONLY)             = 3
  2157. 5989:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  2158. 5989:   mmap(0x00010000, 73728, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF60000
  2159. 5989:   mmap(0xFEF60000, 3595, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF60000
  2160. 5989:   mmap(0xFEF71000, 328, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 4096) = 0xFEF71000
  2161. 5989:   munmap(0xFEF61000, 65536)                       = 0
  2162. 5989:   memcntl(0xFEF60000, 2048, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  2163. 5989:   close(3)                                        = 0
  2164. 5989:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  2165. 5989:   xstat(2, "/lib/libc.so.1", 0x08046C38)          = 0
  2166. 5989:   resolvepath("/lib/libc.so.1", "/lib/libc.so.1", 1023) = 14
  2167. 5989:   open("/lib/libc.so.1", O_RDONLY)                = 3
  2168. 5989:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  2169. 5989:   mmap(0x00010000, 880640, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE80000
  2170. 5989:   mmap(0xFEE80000, 775581, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE80000
  2171. 5989:   mmap(0xFEF4E000, 27239, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 778240) = 0xFEF4E000
  2172. 5989:   mmap(0xFEF55000, 5392, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFEF55000
  2173. 5989:   munmap(0xFEF3E000, 65536)                       = 0
  2174. 5989:   memcntl(0xFEE80000, 123472, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  2175. 5989:   close(3)                                        = 0
  2176. 5989:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  2177. 5989:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  2178. 5989:   mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF40000
  2179. 5989:   munmap(0xFEFB0000, 32768)                       = 0
  2180. 5989:   getcontext(0x080471C0)
  2181. 5989:   getrlimit(RLIMIT_STACK, 0x080471B8)             = 0
  2182. 5989:   getpid()                                        = 5989 [5509]
  2183. 5989:   lwp_private(0, 1, 0xFEF42A00)                   = 0x000001C3
  2184. 5989:   setustack(0xFEF42A60)
  2185. 5989:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFC0000
  2186. 5989:   sysi86(SI86FPSTART, 0xFEF55BC0, 0x0000133F, 0x00001F80) = 0x00000001
  2187. 5989:   brk(0x08068FD0)                                 = 0
  2188. 5989:   brk(0x0806AFD0)                                 = 0
  2189. 5989:   xstat(2, "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 0x08046630) = 0
  2190. 5989:   resolvepath("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 1023) = 44
  2191. 5989:   open("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", O_RDONLY) = 3
  2192. 5989:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  2193. 5989:   mmap(0x00010000, 2297856, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEC00000
  2194. 5989:   mmap(0xFEC00000, 2225278, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEC00000
  2195. 5989:   mmap(0xFEE2F000, 4234, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 2224128) = 0xFEE2F000
  2196. 5989:   munmap(0xFEE20000, 61440)                       = 0
  2197. 5989:   memcntl(0xFEC00000, 7188, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  2198. 5989:   close(3)                                        = 0
  2199. 5989:   xstat(2, "/usr/lib/gss/methods_en_US.UTF-8.so.3", 0x08046588) Err#2 ENOENT
  2200. 5989:   xstat(2, "/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", 0x08046588) = 0
  2201. 5989:   resolvepath("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", "/usr/lib/locale/common/methods_unicode.so.3", 1023) = 43
  2202. 5989:   open("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", O_RDONLY) = 3
  2203. 5989:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  2204. 5989:   mmap(0x00010000, 122880, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE60000
  2205. 5989:   mmap(0xFEE60000, 55437, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE60000
  2206. 5989:   mmap(0xFEE7D000, 2524, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 53248) = 0xFEE7D000
  2207. 5989:   munmap(0xFEE6E000, 61440)                       = 0
  2208. 5989:   memcntl(0xFEE60000, 2532, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  2209. 5989:   close(3)                                        = 0
  2210. 5989:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046588)  Err#2 ENOENT
  2211. 5989:   xstat(2, "/usr/lib/locale/en_US.UTF-8/libc.so.1", 0x08046588) Err#2 ENOENT
  2212. 5989:   munmap(0xFEFB0000, 32768)                       = 0
  2213. 5989:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  2214. 5989:   xstat(2, "/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/magic", 0x08047550) Err#2 ENOENT
  2215. 5989:   brk(0x0806AFD0)                                 = 0
  2216. 5989:   brk(0x0806CFD0)                                 = 0
  2217. 5989:   open("/etc/magic", O_RDONLY)                    = 3
  2218. 5989:   fstat64(3, 0x08047450)                          = 0
  2219. 5989:   brk(0x0806CFD0)                                 = 0
  2220. 5989:   brk(0x0806EFD0)                                 = 0
  2221. 5989:   fstat64(3, 0x08047390)                          = 0
  2222. 5989:   ioctl(3, TCGETA, 0x08047424)                    Err#25 ENOTTY
  2223. 5989:   read(3, " #\n #   C o p y r i g h".., 8192)     = 8192
  2224. 5989:   brk(0x0806EFD0)                                 = 0
  2225. 5989:   brk(0x08070FD0)                                 = 0
  2226. 5989:   read(3, " e & 0 x 8 0\t > 0\t\t b".., 8192)     = 8192
  2227. 5989:   brk(0x08070FD0)                                 = 0
  2228. 5989:   brk(0x08072FD0)                                 = 0
  2229. 5989:   read(3, " n g\t\t - 2 . 0\t\t   2".., 8192)     = 1135
  2230. 5989:   brk(0x08072FD0)                                 = 0
  2231. 5989:   brk(0x08072FD0)                                 = 0
  2232. 5989:   brk(0x08074FD0)                                 = 0
  2233. 5989:   read(3, 0x0806BA4C, 8192)                       = 0
  2234. 5989:   llseek(3, 0, SEEK_CUR)                          = 17519
  2235. 5989:   close(3)                                        = 0
  2236. 5989:   ioctl(1, TCGETA, 0x08046934)                    Err#22 EINVAL
  2237. 5989:   fstat64(1, 0x08046960)                          = 0
  2238. 5989:   fstat64(1, 0x080468A0)                          = 0
  2239. 5989:   stat64("/tmp", 0x08068800)                      = 0
  2240. 5989:   open("/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/SUNW_OST_OSCMD.mo", O_RDONLY) Err#2 ENOENT
  2241. 5989:   write(1, " / t m p :\t\t d i r e c".., 17)      = 17
  2242. 5509:   read(10, " / t m p :\t\t d i r e c".., 1024)    = 17
  2243. 5989:   close(1)                                        = 0
  2244. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  2245. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  2246. 5989:   _exit(0)
  2247. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  2248. 5509:   read(10, 0x08046984, 1024)                      = 0
  2249. 5509:   ioctl(10, TCGETA, 0x08046458)                   Err#22 EINVAL
  2250. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  2251. 5509:   waitid(P_ALL, 0, 0x08046810, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED) = 0
  2252. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  2253. 5509:   close(10)                                       = 0
  2254. 5509:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  2255. 5508:   read(0, " 0", 1)                                = 1
  2256. 5509:   pipe()                                          = 3 [4]
  2257. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  2258. 5509:   fcntl(3, F_DUPFD, 0x0000000A)                   = 10
  2259. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  2260. 5509:   close(3)                                        = 0
  2261. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  2262. 5509:   fcntl(4, F_DUPFD, 0x0000000A)                   = 11
  2263. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 1
  2264. 5509:   close(4)                                        = 0
  2265. 5508:   read(0, " 1 2 3 4 5 6 7 8 9 A B C".., 63)       = 63
  2266. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  2267. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  2268. 5509:   fork1()                                         = 5991
  2269. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  2270. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 0
  2271. 5508:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  2272. 5509:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  2273. 5991:   fork1()         (returning as child ...)        = 5509
  2274. 5509:   close(11)                                       = 0
  2275. 5509:   fcntl(10, F_GETFL)                              = 2
  2276. 5509:   llseek(10, 0, SEEK_CUR)                         Err#29 ESPIPE
  2277. 5991:   getpid()                                        = 5991 [5509]
  2278. 5509:   ioctl(10, TCGETS, 0x08089868)                   Err#22 EINVAL
  2279. 5991:   lwp_self()                                      = 1
  2280. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  2281. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  2282. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  2283. 5991:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  2284. 5991:   getpid()                                        = 5991 [5509]
  2285. 5991:   close(1)                                        = 0
  2286. 5991:   fcntl(11, F_DUPFD, 0x00000001)                  = 1
  2287. 5991:   close(11)                                       = 0
  2288. 5991:   close(10)                                       = 0
  2289. 5991:   close(11)                                       Err#9 EBADF
  2290. 5991:   schedctl()                                      = 0xFEFED000
  2291. 5991:   lwp_sigmask(SIG_SETMASK, 0x00020000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  2292. 5991:   stat64("/usr/bin/file", 0x08046600)             = 0
  2293. 5991:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  2294. 5991:   getpid()                                        = 5991 [5509]
  2295. 5991:   execve("/usr/bin/file", 0x0808F4DC, 0x0808F530)  argc = 2
  2296. 5991:   resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12
  2297. 5991:   resolvepath("/usr/bin/file", "/usr/bin/file", 1023) = 13
  2298. 5991:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  2299. 5991:   xstat(2, "/usr/bin/file", 0x08047408)           = 0
  2300. 5991:   open("/var/ld/ld.config", O_RDONLY)             Err#2 ENOENT
  2301. 5991:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFF0000
  2302. 5991:   xstat(2, "/usr/lib/gss/libelf.so.1", 0x08046C38) Err#2 ENOENT
  2303. 5991:   xstat(2, "/lib/libelf.so.1", 0x08046C38)        = 0
  2304. 5991:   resolvepath("/lib/libelf.so.1", "/lib/libelf.so.1", 1023) = 16
  2305. 5991:   open("/lib/libelf.so.1", O_RDONLY)              = 3
  2306. 5991:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  2307. 5991:   mmap(0x00010000, 176128, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF80000
  2308. 5991:   mmap(0xFEF80000, 103385, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF80000
  2309. 5991:   mmap(0xFEFAA000, 2688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 106496) = 0xFEFAA000
  2310. 5991:   munmap(0xFEF9A000, 65536)                       = 0
  2311. 5991:   memcntl(0xFEF80000, 9512, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  2312. 5991:   close(3)                                        = 0
  2313. 5991:   xstat(2, "/usr/lib/gss/libdoor.so.1", 0x08046C38) Err#2 ENOENT
  2314. 5991:   xstat(2, "/lib/libdoor.so.1", 0x08046C38)       = 0
  2315. 5991:   resolvepath("/lib/libdoor.so.1", "/lib/libdoor.so.1", 1023) = 17
  2316. 5991:   open("/lib/libdoor.so.1", O_RDONLY)             = 3
  2317. 5991:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  2318. 5991:   mmap(0x00010000, 73728, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF60000
  2319. 5991:   mmap(0xFEF60000, 3595, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF60000
  2320. 5991:   mmap(0xFEF71000, 328, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 4096) = 0xFEF71000
  2321. 5991:   munmap(0xFEF61000, 65536)                       = 0
  2322. 5991:   memcntl(0xFEF60000, 2048, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  2323. 5991:   close(3)                                        = 0
  2324. 5991:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  2325. 5991:   xstat(2, "/lib/libc.so.1", 0x08046C38)          = 0
  2326. 5991:   resolvepath("/lib/libc.so.1", "/lib/libc.so.1", 1023) = 14
  2327. 5991:   open("/lib/libc.so.1", O_RDONLY)                = 3
  2328. 5991:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  2329. 5991:   mmap(0x00010000, 880640, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE80000
  2330. 5991:   mmap(0xFEE80000, 775581, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE80000
  2331. 5991:   mmap(0xFEF4E000, 27239, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 778240) = 0xFEF4E000
  2332. 5991:   mmap(0xFEF55000, 5392, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFEF55000
  2333. 5991:   munmap(0xFEF3E000, 65536)                       = 0
  2334. 5991:   memcntl(0xFEE80000, 123472, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  2335. 5991:   close(3)                                        = 0
  2336. 5991:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  2337. 5991:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  2338. 5991:   mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF40000
  2339. 5991:   munmap(0xFEFB0000, 32768)                       = 0
  2340. 5991:   getcontext(0x080471C0)
  2341. 5991:   getrlimit(RLIMIT_STACK, 0x080471B8)             = 0
  2342. 5991:   getpid()                                        = 5991 [5509]
  2343. 5991:   lwp_private(0, 1, 0xFEF42A00)                   = 0x000001C3
  2344. 5991:   setustack(0xFEF42A60)
  2345. 5991:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFC0000
  2346. 5991:   sysi86(SI86FPSTART, 0xFEF55BC0, 0x0000133F, 0x00001F80) = 0x00000001
  2347. 5991:   brk(0x08068FD0)                                 = 0
  2348. 5991:   brk(0x0806AFD0)                                 = 0
  2349. 5991:   xstat(2, "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 0x08046630) = 0
  2350. 5991:   resolvepath("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 1023) = 44
  2351. 5991:   open("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", O_RDONLY) = 3
  2352. 5991:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  2353. 5991:   mmap(0x00010000, 2297856, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEC00000
  2354. 5991:   mmap(0xFEC00000, 2225278, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEC00000
  2355. 5991:   mmap(0xFEE2F000, 4234, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 2224128) = 0xFEE2F000
  2356. 5991:   munmap(0xFEE20000, 61440)                       = 0
  2357. 5991:   memcntl(0xFEC00000, 7188, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  2358. 5991:   close(3)                                        = 0
  2359. 5991:   xstat(2, "/usr/lib/gss/methods_en_US.UTF-8.so.3", 0x08046588) Err#2 ENOENT
  2360. 5991:   xstat(2, "/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", 0x08046588) = 0
  2361. 5991:   resolvepath("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", "/usr/lib/locale/common/methods_unicode.so.3", 1023) = 43
  2362. 5991:   open("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", O_RDONLY) = 3
  2363. 5991:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  2364. 5991:   mmap(0x00010000, 122880, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE60000
  2365. 5991:   mmap(0xFEE60000, 55437, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE60000
  2366. 5991:   mmap(0xFEE7D000, 2524, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 53248) = 0xFEE7D000
  2367. 5991:   munmap(0xFEE6E000, 61440)                       = 0
  2368. 5991:   memcntl(0xFEE60000, 2532, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  2369. 5991:   close(3)                                        = 0
  2370. 5991:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046588)  Err#2 ENOENT
  2371. 5991:   xstat(2, "/usr/lib/locale/en_US.UTF-8/libc.so.1", 0x08046588) Err#2 ENOENT
  2372. 5991:   munmap(0xFEFB0000, 32768)                       = 0
  2373. 5991:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  2374. 5991:   xstat(2, "/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/magic", 0x08047550) Err#2 ENOENT
  2375. 5991:   brk(0x0806AFD0)                                 = 0
  2376. 5991:   brk(0x0806CFD0)                                 = 0
  2377. 5991:   open("/etc/magic", O_RDONLY)                    = 3
  2378. 5991:   fstat64(3, 0x08047450)                          = 0
  2379. 5991:   brk(0x0806CFD0)                                 = 0
  2380. 5991:   brk(0x0806EFD0)                                 = 0
  2381. 5991:   fstat64(3, 0x08047390)                          = 0
  2382. 5991:   ioctl(3, TCGETA, 0x08047424)                    Err#25 ENOTTY
  2383. 5991:   read(3, " #\n #   C o p y r i g h".., 8192)     = 8192
  2384. 5991:   brk(0x0806EFD0)                                 = 0
  2385. 5991:   brk(0x08070FD0)                                 = 0
  2386. 5991:   read(3, " e & 0 x 8 0\t > 0\t\t b".., 8192)     = 8192
  2387. 5991:   brk(0x08070FD0)                                 = 0
  2388. 5991:   brk(0x08072FD0)                                 = 0
  2389. 5991:   read(3, " n g\t\t - 2 . 0\t\t   2".., 8192)     = 1135
  2390. 5991:   brk(0x08072FD0)                                 = 0
  2391. 5991:   brk(0x08072FD0)                                 = 0
  2392. 5991:   brk(0x08074FD0)                                 = 0
  2393. 5991:   read(3, 0x0806BA4C, 8192)                       = 0
  2394. 5991:   llseek(3, 0, SEEK_CUR)                          = 17519
  2395. 5991:   close(3)                                        = 0
  2396. 5991:   ioctl(1, TCGETA, 0x08046934)                    Err#22 EINVAL
  2397. 5991:   fstat64(1, 0x08046960)                          = 0
  2398. 5991:   fstat64(1, 0x080468A0)                          = 0
  2399. 5991:   stat64("/tmp", 0x08068800)                      = 0
  2400. 5991:   open("/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/SUNW_OST_OSCMD.mo", O_RDONLY) Err#2 ENOENT
  2401. 5991:   write(1, " / t m p :\t\t d i r e c".., 17)      = 17
  2402. 5509:   read(10, " / t m p :\t\t d i r e c".., 1024)    = 17
  2403. 5991:   close(1)                                        = 0
  2404. 5991:   _exit(0)
  2405. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  2406. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  2407. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  2408. 5509:   read(10, 0x08046984, 1024)                      = 0
  2409. 5509:   ioctl(10, TCGETA, 0x08046458)                   Err#22 EINVAL
  2410. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  2411. 5509:   waitid(P_ALL, 0, 0x08046810, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED) = 0
  2412. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  2413. 5509:   close(10)                                       = 0
  2414. 5508:   read(0, " 0", 1)                                = 1
  2415. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  2416. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  2417. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  2418. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 1
  2419. 5508:   read(0, " 1 2 3 4 5 6 7 8 9 A B C".., 63)       = 63
  2420. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  2421. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  2422. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  2423. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 0
  2424. 5508:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  2425. 5509:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  2426. 5509:   pipe()                                          = 3 [4]
  2427. 5509:   fcntl(3, F_DUPFD, 0x0000000A)                   = 10
  2428. 5509:   close(3)                                        = 0
  2429. 5509:   fcntl(4, F_DUPFD, 0x0000000A)                   = 11
  2430. 5509:   close(4)                                        = 0
  2431. 5509:   fork1()                                         = 5993
  2432. 5509:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  2433. 5993:   fork1()         (returning as child ...)        = 5509
  2434. 5993:   getpid()                                        = 5993 [5509]
  2435. 5509:   close(11)                                       = 0
  2436. 5993:   lwp_self()                                      = 1
  2437. 5509:   fcntl(10, F_GETFL)                              = 2
  2438. 5509:   llseek(10, 0, SEEK_CUR)                         Err#29 ESPIPE
  2439. 5509:   ioctl(10, TCGETS, 0x08089868)                   Err#22 EINVAL
  2440. 5993:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  2441. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  2442. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  2443. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  2444. 5993:   getpid()                                        = 5993 [5509]
  2445. 5993:   close(1)                                        = 0
  2446. 5993:   fcntl(11, F_DUPFD, 0x00000001)                  = 1
  2447. 5993:   close(11)                                       = 0
  2448. 5993:   close(10)                                       = 0
  2449. 5993:   close(11)                                       Err#9 EBADF
  2450. 5993:   schedctl()                                      = 0xFEFF9000
  2451. 5993:   lwp_sigmask(SIG_SETMASK, 0x00020000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  2452. 5993:   stat64("/usr/bin/file", 0x08046600)             = 0
  2453. 5993:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  2454. 5993:   getpid()                                        = 5993 [5509]
  2455. 5993:   execve("/usr/bin/file", 0x0808F4DC, 0x0808F530)  argc = 2
  2456. 5993:   resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12
  2457. 5993:   resolvepath("/usr/bin/file", "/usr/bin/file", 1023) = 13
  2458. 5993:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  2459. 5993:   xstat(2, "/usr/bin/file", 0x08047408)           = 0
  2460. 5993:   open("/var/ld/ld.config", O_RDONLY)             Err#2 ENOENT
  2461. 5993:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFF0000
  2462. 5993:   xstat(2, "/usr/lib/gss/libelf.so.1", 0x08046C38) Err#2 ENOENT
  2463. 5993:   xstat(2, "/lib/libelf.so.1", 0x08046C38)        = 0
  2464. 5993:   resolvepath("/lib/libelf.so.1", "/lib/libelf.so.1", 1023) = 16
  2465. 5993:   open("/lib/libelf.so.1", O_RDONLY)              = 3
  2466. 5993:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  2467. 5993:   mmap(0x00010000, 176128, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF80000
  2468. 5993:   mmap(0xFEF80000, 103385, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF80000
  2469. 5993:   mmap(0xFEFAA000, 2688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 106496) = 0xFEFAA000
  2470. 5993:   munmap(0xFEF9A000, 65536)                       = 0
  2471. 5993:   memcntl(0xFEF80000, 9512, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  2472. 5993:   close(3)                                        = 0
  2473. 5993:   xstat(2, "/usr/lib/gss/libdoor.so.1", 0x08046C38) Err#2 ENOENT
  2474. 5993:   xstat(2, "/lib/libdoor.so.1", 0x08046C38)       = 0
  2475. 5993:   resolvepath("/lib/libdoor.so.1", "/lib/libdoor.so.1", 1023) = 17
  2476. 5993:   open("/lib/libdoor.so.1", O_RDONLY)             = 3
  2477. 5993:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  2478. 5993:   mmap(0x00010000, 73728, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF60000
  2479. 5993:   mmap(0xFEF60000, 3595, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF60000
  2480. 5993:   mmap(0xFEF71000, 328, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 4096) = 0xFEF71000
  2481. 5993:   munmap(0xFEF61000, 65536)                       = 0
  2482. 5993:   memcntl(0xFEF60000, 2048, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  2483. 5993:   close(3)                                        = 0
  2484. 5993:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  2485. 5993:   xstat(2, "/lib/libc.so.1", 0x08046C38)          = 0
  2486. 5993:   resolvepath("/lib/libc.so.1", "/lib/libc.so.1", 1023) = 14
  2487. 5993:   open("/lib/libc.so.1", O_RDONLY)                = 3
  2488. 5993:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  2489. 5993:   mmap(0x00010000, 880640, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE80000
  2490. 5993:   mmap(0xFEE80000, 775581, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE80000
  2491. 5993:   mmap(0xFEF4E000, 27239, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 778240) = 0xFEF4E000
  2492. 5993:   mmap(0xFEF55000, 5392, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFEF55000
  2493. 5993:   munmap(0xFEF3E000, 65536)                       = 0
  2494. 5993:   memcntl(0xFEE80000, 123472, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  2495. 5993:   close(3)                                        = 0
  2496. 5993:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  2497. 5993:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  2498. 5993:   mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF40000
  2499. 5993:   munmap(0xFEFB0000, 32768)                       = 0
  2500. 5993:   getcontext(0x080471C0)
  2501. 5993:   getrlimit(RLIMIT_STACK, 0x080471B8)             = 0
  2502. 5993:   getpid()                                        = 5993 [5509]
  2503. 5993:   lwp_private(0, 1, 0xFEF42A00)                   = 0x000001C3
  2504. 5993:   setustack(0xFEF42A60)
  2505. 5993:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFC0000
  2506. 5993:   sysi86(SI86FPSTART, 0xFEF55BC0, 0x0000133F, 0x00001F80) = 0x00000001
  2507. 5993:   brk(0x08068FD0)                                 = 0
  2508. 5993:   brk(0x0806AFD0)                                 = 0
  2509. 5993:   xstat(2, "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 0x08046630) = 0
  2510. 5993:   resolvepath("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 1023) = 44
  2511. 5993:   open("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", O_RDONLY) = 3
  2512. 5993:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  2513. 5993:   mmap(0x00010000, 2297856, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEC00000
  2514. 5993:   mmap(0xFEC00000, 2225278, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEC00000
  2515. 5993:   mmap(0xFEE2F000, 4234, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 2224128) = 0xFEE2F000
  2516. 5993:   munmap(0xFEE20000, 61440)                       = 0
  2517. 5993:   memcntl(0xFEC00000, 7188, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  2518. 5993:   close(3)                                        = 0
  2519. 5993:   xstat(2, "/usr/lib/gss/methods_en_US.UTF-8.so.3", 0x08046588) Err#2 ENOENT
  2520. 5993:   xstat(2, "/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", 0x08046588) = 0
  2521. 5993:   resolvepath("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", "/usr/lib/locale/common/methods_unicode.so.3", 1023) = 43
  2522. 5993:   open("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", O_RDONLY) = 3
  2523. 5993:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  2524. 5993:   mmap(0x00010000, 122880, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE60000
  2525. 5993:   mmap(0xFEE60000, 55437, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE60000
  2526. 5993:   mmap(0xFEE7D000, 2524, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 53248) = 0xFEE7D000
  2527. 5993:   munmap(0xFEE6E000, 61440)                       = 0
  2528. 5993:   memcntl(0xFEE60000, 2532, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  2529. 5993:   close(3)                                        = 0
  2530. 5993:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046588)  Err#2 ENOENT
  2531. 5993:   xstat(2, "/usr/lib/locale/en_US.UTF-8/libc.so.1", 0x08046588) Err#2 ENOENT
  2532. 5993:   munmap(0xFEFB0000, 32768)                       = 0
  2533. 5993:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  2534. 5993:   xstat(2, "/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/magic", 0x08047550) Err#2 ENOENT
  2535. 5993:   brk(0x0806AFD0)                                 = 0
  2536. 5993:   brk(0x0806CFD0)                                 = 0
  2537. 5993:   open("/etc/magic", O_RDONLY)                    = 3
  2538. 5993:   fstat64(3, 0x08047450)                          = 0
  2539. 5993:   brk(0x0806CFD0)                                 = 0
  2540. 5993:   brk(0x0806EFD0)                                 = 0
  2541. 5993:   fstat64(3, 0x08047390)                          = 0
  2542. 5993:   ioctl(3, TCGETA, 0x08047424)                    Err#25 ENOTTY
  2543. 5993:   read(3, " #\n #   C o p y r i g h".., 8192)     = 8192
  2544. 5993:   brk(0x0806EFD0)                                 = 0
  2545. 5993:   brk(0x08070FD0)                                 = 0
  2546. 5993:   read(3, " e & 0 x 8 0\t > 0\t\t b".., 8192)     = 8192
  2547. 5993:   brk(0x08070FD0)                                 = 0
  2548. 5993:   brk(0x08072FD0)                                 = 0
  2549. 5993:   read(3, " n g\t\t - 2 . 0\t\t   2".., 8192)     = 1135
  2550. 5993:   brk(0x08072FD0)                                 = 0
  2551. 5993:   brk(0x08072FD0)                                 = 0
  2552. 5993:   brk(0x08074FD0)                                 = 0
  2553. 5993:   read(3, 0x0806BA4C, 8192)                       = 0
  2554. 5993:   llseek(3, 0, SEEK_CUR)                          = 17519
  2555. 5993:   close(3)                                        = 0
  2556. 5993:   ioctl(1, TCGETA, 0x08046934)                    Err#22 EINVAL
  2557. 5993:   fstat64(1, 0x08046960)                          = 0
  2558. 5993:   fstat64(1, 0x080468A0)                          = 0
  2559. 5993:   stat64("/tmp", 0x08068800)                      = 0
  2560. 5993:   open("/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/SUNW_OST_OSCMD.mo", O_RDONLY) Err#2 ENOENT
  2561. 5993:   write(1, " / t m p :\t\t d i r e c".., 17)      = 17
  2562. 5509:   read(10, " / t m p :\t\t d i r e c".., 1024)    = 17
  2563. 5993:   close(1)                                        = 0
  2564. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  2565. 5993:   _exit(0)
  2566. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  2567. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  2568. 5509:   read(10, 0x08046984, 1024)                      = 0
  2569. 5509:   ioctl(10, TCGETA, 0x08046458)                   Err#22 EINVAL
  2570. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  2571. 5509:   waitid(P_ALL, 0, 0x08046810, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED) = 0
  2572. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  2573. 5509:   close(10)                                       = 0
  2574. 5509:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  2575. 5508:   read(0, " 0", 1)                                = 1
  2576. 5509:   pipe()                                          = 3 [4]
  2577. 5509:   fcntl(3, F_DUPFD, 0x0000000A)                   = 10
  2578. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  2579. 5509:   close(3)                                        = 0
  2580. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  2581. 5509:   fcntl(4, F_DUPFD, 0x0000000A)                   = 11
  2582. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  2583. 5509:   close(4)                                        = 0
  2584. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 1
  2585. 5508:   read(0, " 1 2 3 4 5 6 7 8 9 A B C".., 63)       = 63
  2586. 5509:   fork1()                                         = 5995
  2587. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  2588. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  2589. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  2590. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 0
  2591. 5508:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  2592. 5509:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  2593. 5995:   fork1()         (returning as child ...)        = 5509
  2594. 5995:   getpid()                                        = 5995 [5509]
  2595. 5509:   close(11)                                       = 0
  2596. 5509:   fcntl(10, F_GETFL)                              = 2
  2597. 5995:   lwp_self()                                      = 1
  2598. 5509:   llseek(10, 0, SEEK_CUR)                         Err#29 ESPIPE
  2599. 5509:   ioctl(10, TCGETS, 0x08089868)                   Err#22 EINVAL
  2600. 5995:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  2601. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  2602. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  2603. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  2604. 5995:   getpid()                                        = 5995 [5509]
  2605. 5995:   close(1)                                        = 0
  2606. 5995:   fcntl(11, F_DUPFD, 0x00000001)                  = 1
  2607. 5995:   close(11)                                       = 0
  2608. 5995:   close(10)                                       = 0
  2609. 5995:   close(11)                                       Err#9 EBADF
  2610. 5995:   schedctl()                                      = 0xFEFED000
  2611. 5995:   lwp_sigmask(SIG_SETMASK, 0x00020000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  2612. 5995:   stat64("/usr/bin/file", 0x08046600)             = 0
  2613. 5995:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  2614. 5995:   getpid()                                        = 5995 [5509]
  2615. 5995:   execve("/usr/bin/file", 0x0808F4DC, 0x0808F530)  argc = 2
  2616. 5995:   resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12
  2617. 5995:   resolvepath("/usr/bin/file", "/usr/bin/file", 1023) = 13
  2618. 5995:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  2619. 5995:   xstat(2, "/usr/bin/file", 0x08047408)           = 0
  2620. 5995:   open("/var/ld/ld.config", O_RDONLY)             Err#2 ENOENT
  2621. 5995:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFF0000
  2622. 5995:   xstat(2, "/usr/lib/gss/libelf.so.1", 0x08046C38) Err#2 ENOENT
  2623. 5995:   xstat(2, "/lib/libelf.so.1", 0x08046C38)        = 0
  2624. 5995:   resolvepath("/lib/libelf.so.1", "/lib/libelf.so.1", 1023) = 16
  2625. 5995:   open("/lib/libelf.so.1", O_RDONLY)              = 3
  2626. 5995:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  2627. 5995:   mmap(0x00010000, 176128, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF80000
  2628. 5995:   mmap(0xFEF80000, 103385, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF80000
  2629. 5995:   mmap(0xFEFAA000, 2688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 106496) = 0xFEFAA000
  2630. 5995:   munmap(0xFEF9A000, 65536)                       = 0
  2631. 5995:   memcntl(0xFEF80000, 9512, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  2632. 5995:   close(3)                                        = 0
  2633. 5995:   xstat(2, "/usr/lib/gss/libdoor.so.1", 0x08046C38) Err#2 ENOENT
  2634. 5995:   xstat(2, "/lib/libdoor.so.1", 0x08046C38)       = 0
  2635. 5995:   resolvepath("/lib/libdoor.so.1", "/lib/libdoor.so.1", 1023) = 17
  2636. 5995:   open("/lib/libdoor.so.1", O_RDONLY)             = 3
  2637. 5995:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  2638. 5995:   mmap(0x00010000, 73728, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF60000
  2639. 5995:   mmap(0xFEF60000, 3595, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF60000
  2640. 5995:   mmap(0xFEF71000, 328, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 4096) = 0xFEF71000
  2641. 5995:   munmap(0xFEF61000, 65536)                       = 0
  2642. 5995:   memcntl(0xFEF60000, 2048, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  2643. 5995:   close(3)                                        = 0
  2644. 5995:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  2645. 5995:   xstat(2, "/lib/libc.so.1", 0x08046C38)          = 0
  2646. 5995:   resolvepath("/lib/libc.so.1", "/lib/libc.so.1", 1023) = 14
  2647. 5995:   open("/lib/libc.so.1", O_RDONLY)                = 3
  2648. 5995:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  2649. 5995:   mmap(0x00010000, 880640, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE80000
  2650. 5995:   mmap(0xFEE80000, 775581, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE80000
  2651. 5995:   mmap(0xFEF4E000, 27239, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 778240) = 0xFEF4E000
  2652. 5995:   mmap(0xFEF55000, 5392, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFEF55000
  2653. 5995:   munmap(0xFEF3E000, 65536)                       = 0
  2654. 5995:   memcntl(0xFEE80000, 123472, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  2655. 5995:   close(3)                                        = 0
  2656. 5995:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  2657. 5995:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  2658. 5995:   mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF40000
  2659. 5995:   munmap(0xFEFB0000, 32768)                       = 0
  2660. 5995:   getcontext(0x080471C0)
  2661. 5995:   getrlimit(RLIMIT_STACK, 0x080471B8)             = 0
  2662. 5995:   getpid()                                        = 5995 [5509]
  2663. 5995:   lwp_private(0, 1, 0xFEF42A00)                   = 0x000001C3
  2664. 5995:   setustack(0xFEF42A60)
  2665. 5995:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFC0000
  2666. 5995:   sysi86(SI86FPSTART, 0xFEF55BC0, 0x0000133F, 0x00001F80) = 0x00000001
  2667. 5995:   brk(0x08068FD0)                                 = 0
  2668. 5995:   brk(0x0806AFD0)                                 = 0
  2669. 5995:   xstat(2, "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 0x08046630) = 0
  2670. 5995:   resolvepath("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 1023) = 44
  2671. 5995:   open("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", O_RDONLY) = 3
  2672. 5995:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  2673. 5995:   mmap(0x00010000, 2297856, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEC00000
  2674. 5995:   mmap(0xFEC00000, 2225278, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEC00000
  2675. 5995:   mmap(0xFEE2F000, 4234, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 2224128) = 0xFEE2F000
  2676. 5995:   munmap(0xFEE20000, 61440)                       = 0
  2677. 5995:   memcntl(0xFEC00000, 7188, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  2678. 5995:   close(3)                                        = 0
  2679. 5995:   xstat(2, "/usr/lib/gss/methods_en_US.UTF-8.so.3", 0x08046588) Err#2 ENOENT
  2680. 5995:   xstat(2, "/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", 0x08046588) = 0
  2681. 5995:   resolvepath("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", "/usr/lib/locale/common/methods_unicode.so.3", 1023) = 43
  2682. 5995:   open("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", O_RDONLY) = 3
  2683. 5995:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  2684. 5995:   mmap(0x00010000, 122880, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE60000
  2685. 5995:   mmap(0xFEE60000, 55437, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE60000
  2686. 5995:   mmap(0xFEE7D000, 2524, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 53248) = 0xFEE7D000
  2687. 5995:   munmap(0xFEE6E000, 61440)                       = 0
  2688. 5995:   memcntl(0xFEE60000, 2532, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  2689. 5995:   close(3)                                        = 0
  2690. 5995:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046588)  Err#2 ENOENT
  2691. 5995:   xstat(2, "/usr/lib/locale/en_US.UTF-8/libc.so.1", 0x08046588) Err#2 ENOENT
  2692. 5995:   munmap(0xFEFB0000, 32768)                       = 0
  2693. 5995:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  2694. 5995:   xstat(2, "/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/magic", 0x08047550) Err#2 ENOENT
  2695. 5995:   brk(0x0806AFD0)                                 = 0
  2696. 5995:   brk(0x0806CFD0)                                 = 0
  2697. 5995:   open("/etc/magic", O_RDONLY)                    = 3
  2698. 5995:   fstat64(3, 0x08047450)                          = 0
  2699. 5995:   brk(0x0806CFD0)                                 = 0
  2700. 5995:   brk(0x0806EFD0)                                 = 0
  2701. 5995:   fstat64(3, 0x08047390)                          = 0
  2702. 5995:   ioctl(3, TCGETA, 0x08047424)                    Err#25 ENOTTY
  2703. 5995:   read(3, " #\n #   C o p y r i g h".., 8192)     = 8192
  2704. 5995:   brk(0x0806EFD0)                                 = 0
  2705. 5995:   brk(0x08070FD0)                                 = 0
  2706. 5995:   read(3, " e & 0 x 8 0\t > 0\t\t b".., 8192)     = 8192
  2707. 5995:   brk(0x08070FD0)                                 = 0
  2708. 5995:   brk(0x08072FD0)                                 = 0
  2709. 5995:   read(3, " n g\t\t - 2 . 0\t\t   2".., 8192)     = 1135
  2710. 5995:   brk(0x08072FD0)                                 = 0
  2711. 5995:   brk(0x08072FD0)                                 = 0
  2712. 5995:   brk(0x08074FD0)                                 = 0
  2713. 5995:   read(3, 0x0806BA4C, 8192)                       = 0
  2714. 5995:   llseek(3, 0, SEEK_CUR)                          = 17519
  2715. 5995:   close(3)                                        = 0
  2716. 5995:   ioctl(1, TCGETA, 0x08046934)                    Err#22 EINVAL
  2717. 5995:   fstat64(1, 0x08046960)                          = 0
  2718. 5995:   fstat64(1, 0x080468A0)                          = 0
  2719. 5995:   stat64("/tmp", 0x08068800)                      = 0
  2720. 5995:   open("/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/SUNW_OST_OSCMD.mo", O_RDONLY) Err#2 ENOENT
  2721. 5995:   write(1, " / t m p :\t\t d i r e c".., 17)      = 17
  2722. 5509:   read(10, " / t m p :\t\t d i r e c".., 1024)    = 17
  2723. 5995:   close(1)                                        = 0
  2724. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  2725. 5995:   _exit(0)
  2726. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  2727. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  2728. 5509:   read(10, 0x08046984, 1024)                      = 0
  2729. 5509:   ioctl(10, TCGETA, 0x08046458)                   Err#22 EINVAL
  2730. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  2731. 5509:   waitid(P_ALL, 0, 0x08046810, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED) = 0
  2732. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  2733. 5509:   close(10)                                       = 0
  2734. 5509:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  2735. 5509:   pipe()                                          = 3 [4]
  2736. 5508:   read(0, " 0", 1)                                = 1
  2737. 5509:   fcntl(3, F_DUPFD, 0x0000000A)                   = 10
  2738. 5509:   close(3)                                        = 0
  2739. 5509:   fcntl(4, F_DUPFD, 0x0000000A)                   = 11
  2740. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  2741. 5509:   close(4)                                        = 0
  2742. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  2743. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  2744. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 1
  2745. 5508:   read(0, " 1 2 3 4 5 6 7 8 9 A B C".., 63)       = 63
  2746. 5509:   fork1()                                         = 5997
  2747. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  2748. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  2749. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  2750. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 0
  2751. 5508:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  2752. 5509:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  2753. 5997:   fork1()         (returning as child ...)        = 5509
  2754. 5509:   close(11)                                       = 0
  2755. 5997:   getpid()                                        = 5997 [5509]
  2756. 5509:   fcntl(10, F_GETFL)                              = 2
  2757. 5509:   llseek(10, 0, SEEK_CUR)                         Err#29 ESPIPE
  2758. 5997:   lwp_self()                                      = 1
  2759. 5509:   ioctl(10, TCGETS, 0x08089868)                   Err#22 EINVAL
  2760. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  2761. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  2762. 5997:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  2763. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  2764. 5997:   getpid()                                        = 5997 [5509]
  2765. 5997:   close(1)                                        = 0
  2766. 5997:   fcntl(11, F_DUPFD, 0x00000001)                  = 1
  2767. 5997:   close(11)                                       = 0
  2768. 5997:   close(10)                                       = 0
  2769. 5997:   close(11)                                       Err#9 EBADF
  2770. 5997:   schedctl()                                      = 0xFEFF9000
  2771. 5997:   lwp_sigmask(SIG_SETMASK, 0x00020000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  2772. 5997:   stat64("/usr/bin/file", 0x08046600)             = 0
  2773. 5997:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  2774. 5997:   getpid()                                        = 5997 [5509]
  2775. 5997:   execve("/usr/bin/file", 0x0808F4DC, 0x0808F530)  argc = 2
  2776. 5997:   resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12
  2777. 5997:   resolvepath("/usr/bin/file", "/usr/bin/file", 1023) = 13
  2778. 5997:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  2779. 5997:   xstat(2, "/usr/bin/file", 0x08047408)           = 0
  2780. 5997:   open("/var/ld/ld.config", O_RDONLY)             Err#2 ENOENT
  2781. 5997:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFF0000
  2782. 5997:   xstat(2, "/usr/lib/gss/libelf.so.1", 0x08046C38) Err#2 ENOENT
  2783. 5997:   xstat(2, "/lib/libelf.so.1", 0x08046C38)        = 0
  2784. 5997:   resolvepath("/lib/libelf.so.1", "/lib/libelf.so.1", 1023) = 16
  2785. 5997:   open("/lib/libelf.so.1", O_RDONLY)              = 3
  2786. 5997:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  2787. 5997:   mmap(0x00010000, 176128, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF80000
  2788. 5997:   mmap(0xFEF80000, 103385, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF80000
  2789. 5997:   mmap(0xFEFAA000, 2688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 106496) = 0xFEFAA000
  2790. 5997:   munmap(0xFEF9A000, 65536)                       = 0
  2791. 5997:   memcntl(0xFEF80000, 9512, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  2792. 5997:   close(3)                                        = 0
  2793. 5997:   xstat(2, "/usr/lib/gss/libdoor.so.1", 0x08046C38) Err#2 ENOENT
  2794. 5997:   xstat(2, "/lib/libdoor.so.1", 0x08046C38)       = 0
  2795. 5997:   resolvepath("/lib/libdoor.so.1", "/lib/libdoor.so.1", 1023) = 17
  2796. 5997:   open("/lib/libdoor.so.1", O_RDONLY)             = 3
  2797. 5997:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  2798. 5997:   mmap(0x00010000, 73728, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF60000
  2799. 5997:   mmap(0xFEF60000, 3595, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF60000
  2800. 5997:   mmap(0xFEF71000, 328, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 4096) = 0xFEF71000
  2801. 5997:   munmap(0xFEF61000, 65536)                       = 0
  2802. 5997:   memcntl(0xFEF60000, 2048, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  2803. 5997:   close(3)                                        = 0
  2804. 5997:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  2805. 5997:   xstat(2, "/lib/libc.so.1", 0x08046C38)          = 0
  2806. 5997:   resolvepath("/lib/libc.so.1", "/lib/libc.so.1", 1023) = 14
  2807. 5997:   open("/lib/libc.so.1", O_RDONLY)                = 3
  2808. 5997:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  2809. 5997:   mmap(0x00010000, 880640, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE80000
  2810. 5997:   mmap(0xFEE80000, 775581, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE80000
  2811. 5997:   mmap(0xFEF4E000, 27239, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 778240) = 0xFEF4E000
  2812. 5997:   mmap(0xFEF55000, 5392, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFEF55000
  2813. 5997:   munmap(0xFEF3E000, 65536)                       = 0
  2814. 5997:   memcntl(0xFEE80000, 123472, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  2815. 5997:   close(3)                                        = 0
  2816. 5997:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  2817. 5997:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  2818. 5997:   mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF40000
  2819. 5997:   munmap(0xFEFB0000, 32768)                       = 0
  2820. 5997:   getcontext(0x080471C0)
  2821. 5997:   getrlimit(RLIMIT_STACK, 0x080471B8)             = 0
  2822. 5997:   getpid()                                        = 5997 [5509]
  2823. 5997:   lwp_private(0, 1, 0xFEF42A00)                   = 0x000001C3
  2824. 5997:   setustack(0xFEF42A60)
  2825. 5997:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFC0000
  2826. 5997:   sysi86(SI86FPSTART, 0xFEF55BC0, 0x0000133F, 0x00001F80) = 0x00000001
  2827. 5997:   brk(0x08068FD0)                                 = 0
  2828. 5997:   brk(0x0806AFD0)                                 = 0
  2829. 5997:   xstat(2, "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 0x08046630) = 0
  2830. 5997:   resolvepath("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 1023) = 44
  2831. 5997:   open("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", O_RDONLY) = 3
  2832. 5997:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  2833. 5997:   mmap(0x00010000, 2297856, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEC00000
  2834. 5997:   mmap(0xFEC00000, 2225278, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEC00000
  2835. 5997:   mmap(0xFEE2F000, 4234, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 2224128) = 0xFEE2F000
  2836. 5997:   munmap(0xFEE20000, 61440)                       = 0
  2837. 5997:   memcntl(0xFEC00000, 7188, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  2838. 5997:   close(3)                                        = 0
  2839. 5997:   xstat(2, "/usr/lib/gss/methods_en_US.UTF-8.so.3", 0x08046588) Err#2 ENOENT
  2840. 5997:   xstat(2, "/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", 0x08046588) = 0
  2841. 5997:   resolvepath("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", "/usr/lib/locale/common/methods_unicode.so.3", 1023) = 43
  2842. 5997:   open("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", O_RDONLY) = 3
  2843. 5997:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  2844. 5997:   mmap(0x00010000, 122880, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE60000
  2845. 5997:   mmap(0xFEE60000, 55437, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE60000
  2846. 5997:   mmap(0xFEE7D000, 2524, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 53248) = 0xFEE7D000
  2847. 5997:   munmap(0xFEE6E000, 61440)                       = 0
  2848. 5997:   memcntl(0xFEE60000, 2532, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  2849. 5997:   close(3)                                        = 0
  2850. 5997:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046588)  Err#2 ENOENT
  2851. 5997:   xstat(2, "/usr/lib/locale/en_US.UTF-8/libc.so.1", 0x08046588) Err#2 ENOENT
  2852. 5997:   munmap(0xFEFB0000, 32768)                       = 0
  2853. 5997:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  2854. 5997:   xstat(2, "/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/magic", 0x08047550) Err#2 ENOENT
  2855. 5997:   brk(0x0806AFD0)                                 = 0
  2856. 5997:   brk(0x0806CFD0)                                 = 0
  2857. 5997:   open("/etc/magic", O_RDONLY)                    = 3
  2858. 5997:   fstat64(3, 0x08047450)                          = 0
  2859. 5997:   brk(0x0806CFD0)                                 = 0
  2860. 5997:   brk(0x0806EFD0)                                 = 0
  2861. 5997:   fstat64(3, 0x08047390)                          = 0
  2862. 5997:   ioctl(3, TCGETA, 0x08047424)                    Err#25 ENOTTY
  2863. 5997:   read(3, " #\n #   C o p y r i g h".., 8192)     = 8192
  2864. 5997:   brk(0x0806EFD0)                                 = 0
  2865. 5997:   brk(0x08070FD0)                                 = 0
  2866. 5997:   read(3, " e & 0 x 8 0\t > 0\t\t b".., 8192)     = 8192
  2867. 5997:   brk(0x08070FD0)                                 = 0
  2868. 5997:   brk(0x08072FD0)                                 = 0
  2869. 5997:   read(3, " n g\t\t - 2 . 0\t\t   2".., 8192)     = 1135
  2870. 5997:   brk(0x08072FD0)                                 = 0
  2871. 5997:   brk(0x08072FD0)                                 = 0
  2872. 5997:   brk(0x08074FD0)                                 = 0
  2873. 5997:   read(3, 0x0806BA4C, 8192)                       = 0
  2874. 5997:   llseek(3, 0, SEEK_CUR)                          = 17519
  2875. 5997:   close(3)                                        = 0
  2876. 5997:   ioctl(1, TCGETA, 0x08046934)                    Err#22 EINVAL
  2877. 5997:   fstat64(1, 0x08046960)                          = 0
  2878. 5997:   fstat64(1, 0x080468A0)                          = 0
  2879. 5997:   stat64("/tmp", 0x08068800)                      = 0
  2880. 5997:   open("/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/SUNW_OST_OSCMD.mo", O_RDONLY) Err#2 ENOENT
  2881. 5997:   write(1, " / t m p :\t\t d i r e c".., 17)      = 17
  2882. 5509:   read(10, " / t m p :\t\t d i r e c".., 1024)    = 17
  2883. 5997:   close(1)                                        = 0
  2884. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  2885. 5997:   _exit(0)
  2886. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  2887. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  2888. 5509:   read(10, 0x08046984, 1024)                      = 0
  2889. 5509:   ioctl(10, TCGETA, 0x08046458)                   Err#22 EINVAL
  2890. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  2891. 5509:   waitid(P_ALL, 0, 0x08046810, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED) = 0
  2892. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  2893. 5509:   close(10)                                       = 0
  2894. 5509:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  2895. 5508:   read(0, " 0", 1)                                = 1
  2896. 5509:   pipe()                                          = 3 [4]
  2897. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  2898. 5509:   fcntl(3, F_DUPFD, 0x0000000A)                   = 10
  2899. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  2900. 5509:   close(3)                                        = 0
  2901. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  2902. 5509:   fcntl(4, F_DUPFD, 0x0000000A)                   = 11
  2903. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 1
  2904. 5509:   close(4)                                        = 0
  2905. 5508:   read(0, " 1 2 3 4 5 6 7 8 9 A B C".., 63)       = 63
  2906. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  2907. 5509:   fork1()                                         = 5999
  2908. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  2909. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  2910. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 0
  2911. 5508:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  2912. 5509:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  2913. 5999:   fork1()         (returning as child ...)        = 5509
  2914. 5999:   getpid()                                        = 5999 [5509]
  2915. 5509:   close(11)                                       = 0
  2916. 5999:   lwp_self()                                      = 1
  2917. 5509:   fcntl(10, F_GETFL)                              = 2
  2918. 5509:   llseek(10, 0, SEEK_CUR)                         Err#29 ESPIPE
  2919. 5999:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  2920. 5509:   ioctl(10, TCGETS, 0x08089868)                   Err#22 EINVAL
  2921. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  2922. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  2923. 5999:   getpid()                                        = 5999 [5509]
  2924. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  2925. 5999:   close(1)                                        = 0
  2926. 5999:   fcntl(11, F_DUPFD, 0x00000001)                  = 1
  2927. 5999:   close(11)                                       = 0
  2928. 5999:   close(10)                                       = 0
  2929. 5999:   close(11)                                       Err#9 EBADF
  2930. 5999:   schedctl()                                      = 0xFEFBA000
  2931. 5999:   lwp_sigmask(SIG_SETMASK, 0x00020000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  2932. 5999:   stat64("/usr/bin/file", 0x08046600)             = 0
  2933. 5999:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  2934. 5999:   getpid()                                        = 5999 [5509]
  2935. 5999:   execve("/usr/bin/file", 0x0808F4DC, 0x0808F530)  argc = 2
  2936. 5999:   resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12
  2937. 5999:   resolvepath("/usr/bin/file", "/usr/bin/file", 1023) = 13
  2938. 5999:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  2939. 5999:   xstat(2, "/usr/bin/file", 0x08047408)           = 0
  2940. 5999:   open("/var/ld/ld.config", O_RDONLY)             Err#2 ENOENT
  2941. 5999:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFF0000
  2942. 5999:   xstat(2, "/usr/lib/gss/libelf.so.1", 0x08046C38) Err#2 ENOENT
  2943. 5999:   xstat(2, "/lib/libelf.so.1", 0x08046C38)        = 0
  2944. 5999:   resolvepath("/lib/libelf.so.1", "/lib/libelf.so.1", 1023) = 16
  2945. 5999:   open("/lib/libelf.so.1", O_RDONLY)              = 3
  2946. 5999:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  2947. 5999:   mmap(0x00010000, 176128, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF80000
  2948. 5999:   mmap(0xFEF80000, 103385, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF80000
  2949. 5999:   mmap(0xFEFAA000, 2688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 106496) = 0xFEFAA000
  2950. 5999:   munmap(0xFEF9A000, 65536)                       = 0
  2951. 5999:   memcntl(0xFEF80000, 9512, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  2952. 5999:   close(3)                                        = 0
  2953. 5999:   xstat(2, "/usr/lib/gss/libdoor.so.1", 0x08046C38) Err#2 ENOENT
  2954. 5999:   xstat(2, "/lib/libdoor.so.1", 0x08046C38)       = 0
  2955. 5999:   resolvepath("/lib/libdoor.so.1", "/lib/libdoor.so.1", 1023) = 17
  2956. 5999:   open("/lib/libdoor.so.1", O_RDONLY)             = 3
  2957. 5999:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  2958. 5999:   mmap(0x00010000, 73728, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF60000
  2959. 5999:   mmap(0xFEF60000, 3595, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF60000
  2960. 5999:   mmap(0xFEF71000, 328, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 4096) = 0xFEF71000
  2961. 5999:   munmap(0xFEF61000, 65536)                       = 0
  2962. 5999:   memcntl(0xFEF60000, 2048, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  2963. 5999:   close(3)                                        = 0
  2964. 5999:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  2965. 5999:   xstat(2, "/lib/libc.so.1", 0x08046C38)          = 0
  2966. 5999:   resolvepath("/lib/libc.so.1", "/lib/libc.so.1", 1023) = 14
  2967. 5999:   open("/lib/libc.so.1", O_RDONLY)                = 3
  2968. 5999:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  2969. 5999:   mmap(0x00010000, 880640, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE80000
  2970. 5999:   mmap(0xFEE80000, 775581, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE80000
  2971. 5999:   mmap(0xFEF4E000, 27239, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 778240) = 0xFEF4E000
  2972. 5999:   mmap(0xFEF55000, 5392, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFEF55000
  2973. 5999:   munmap(0xFEF3E000, 65536)                       = 0
  2974. 5999:   memcntl(0xFEE80000, 123472, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  2975. 5999:   close(3)                                        = 0
  2976. 5999:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  2977. 5999:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  2978. 5999:   mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF40000
  2979. 5999:   munmap(0xFEFB0000, 32768)                       = 0
  2980. 5999:   getcontext(0x080471C0)
  2981. 5999:   getrlimit(RLIMIT_STACK, 0x080471B8)             = 0
  2982. 5999:   getpid()                                        = 5999 [5509]
  2983. 5999:   lwp_private(0, 1, 0xFEF42A00)                   = 0x000001C3
  2984. 5999:   setustack(0xFEF42A60)
  2985. 5999:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFC0000
  2986. 5999:   sysi86(SI86FPSTART, 0xFEF55BC0, 0x0000133F, 0x00001F80) = 0x00000001
  2987. 5999:   brk(0x08068FD0)                                 = 0
  2988. 5999:   brk(0x0806AFD0)                                 = 0
  2989. 5999:   xstat(2, "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 0x08046630) = 0
  2990. 5999:   resolvepath("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 1023) = 44
  2991. 5999:   open("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", O_RDONLY) = 3
  2992. 5999:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  2993. 5999:   mmap(0x00010000, 2297856, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEC00000
  2994. 5999:   mmap(0xFEC00000, 2225278, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEC00000
  2995. 5999:   mmap(0xFEE2F000, 4234, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 2224128) = 0xFEE2F000
  2996. 5999:   munmap(0xFEE20000, 61440)                       = 0
  2997. 5999:   memcntl(0xFEC00000, 7188, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  2998. 5999:   close(3)                                        = 0
  2999. 5999:   xstat(2, "/usr/lib/gss/methods_en_US.UTF-8.so.3", 0x08046588) Err#2 ENOENT
  3000. 5999:   xstat(2, "/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", 0x08046588) = 0
  3001. 5999:   resolvepath("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", "/usr/lib/locale/common/methods_unicode.so.3", 1023) = 43
  3002. 5999:   open("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", O_RDONLY) = 3
  3003. 5999:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  3004. 5999:   mmap(0x00010000, 122880, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE60000
  3005. 5999:   mmap(0xFEE60000, 55437, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE60000
  3006. 5999:   mmap(0xFEE7D000, 2524, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 53248) = 0xFEE7D000
  3007. 5999:   munmap(0xFEE6E000, 61440)                       = 0
  3008. 5999:   memcntl(0xFEE60000, 2532, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  3009. 5999:   close(3)                                        = 0
  3010. 5999:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046588)  Err#2 ENOENT
  3011. 5999:   xstat(2, "/usr/lib/locale/en_US.UTF-8/libc.so.1", 0x08046588) Err#2 ENOENT
  3012. 5999:   munmap(0xFEFB0000, 32768)                       = 0
  3013. 5999:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  3014. 5999:   xstat(2, "/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/magic", 0x08047550) Err#2 ENOENT
  3015. 5999:   brk(0x0806AFD0)                                 = 0
  3016. 5999:   brk(0x0806CFD0)                                 = 0
  3017. 5999:   open("/etc/magic", O_RDONLY)                    = 3
  3018. 5999:   fstat64(3, 0x08047450)                          = 0
  3019. 5999:   brk(0x0806CFD0)                                 = 0
  3020. 5999:   brk(0x0806EFD0)                                 = 0
  3021. 5999:   fstat64(3, 0x08047390)                          = 0
  3022. 5999:   ioctl(3, TCGETA, 0x08047424)                    Err#25 ENOTTY
  3023. 5999:   read(3, " #\n #   C o p y r i g h".., 8192)     = 8192
  3024. 5999:   brk(0x0806EFD0)                                 = 0
  3025. 5999:   brk(0x08070FD0)                                 = 0
  3026. 5999:   read(3, " e & 0 x 8 0\t > 0\t\t b".., 8192)     = 8192
  3027. 5999:   brk(0x08070FD0)                                 = 0
  3028. 5999:   brk(0x08072FD0)                                 = 0
  3029. 5999:   read(3, " n g\t\t - 2 . 0\t\t   2".., 8192)     = 1135
  3030. 5999:   brk(0x08072FD0)                                 = 0
  3031. 5999:   brk(0x08072FD0)                                 = 0
  3032. 5999:   brk(0x08074FD0)                                 = 0
  3033. 5999:   read(3, 0x0806BA4C, 8192)                       = 0
  3034. 5999:   llseek(3, 0, SEEK_CUR)                          = 17519
  3035. 5999:   close(3)                                        = 0
  3036. 5999:   ioctl(1, TCGETA, 0x08046934)                    Err#22 EINVAL
  3037. 5999:   fstat64(1, 0x08046960)                          = 0
  3038. 5999:   fstat64(1, 0x080468A0)                          = 0
  3039. 5999:   stat64("/tmp", 0x08068800)                      = 0
  3040. 5999:   open("/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/SUNW_OST_OSCMD.mo", O_RDONLY) Err#2 ENOENT
  3041. 5999:   write(1, " / t m p :\t\t d i r e c".., 17)      = 17
  3042. 5509:   read(10, " / t m p :\t\t d i r e c".., 1024)    = 17
  3043. 5999:   close(1)                                        = 0
  3044. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  3045. 5999:   _exit(0)
  3046. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  3047. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  3048. 5509:   read(10, 0x08046984, 1024)                      = 0
  3049. 5509:   ioctl(10, TCGETA, 0x08046458)                   Err#22 EINVAL
  3050. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  3051. 5509:   waitid(P_ALL, 0, 0x08046810, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED) = 0
  3052. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  3053. 5509:   close(10)                                       = 0
  3054. 5509:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  3055. 5508:   read(0, " 0", 1)                                = 1
  3056. 5509:   pipe()                                          = 3 [4]
  3057. 5509:   fcntl(3, F_DUPFD, 0x0000000A)                   = 10
  3058. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  3059. 5509:   close(3)                                        = 0
  3060. 5509:   fcntl(4, F_DUPFD, 0x0000000A)                   = 11
  3061. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  3062. 5509:   close(4)                                        = 0
  3063. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  3064. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 1
  3065. 5508:   read(0, " 1 2 3 4 5 6 7 8 9 A B C".., 63)       = 63
  3066. 5509:   fork1()                                         = 6001
  3067. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  3068. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  3069. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  3070. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 0
  3071. 5508:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  3072. 5509:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  3073. 6001:   fork1()         (returning as child ...)        = 5509
  3074. 5509:   close(11)                                       = 0
  3075. 5509:   fcntl(10, F_GETFL)                              = 2
  3076. 5509:   llseek(10, 0, SEEK_CUR)                         Err#29 ESPIPE
  3077. 6001:   getpid()                                        = 6001 [5509]
  3078. 6001:   lwp_self()                                      = 1
  3079. 5509:   ioctl(10, TCGETS, 0x08089868)                   Err#22 EINVAL
  3080. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  3081. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  3082. 6001:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  3083. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  3084. 6001:   getpid()                                        = 6001 [5509]
  3085. 6001:   close(1)                                        = 0
  3086. 6001:   fcntl(11, F_DUPFD, 0x00000001)                  = 1
  3087. 6001:   close(11)                                       = 0
  3088. 6001:   close(10)                                       = 0
  3089. 6001:   close(11)                                       Err#9 EBADF
  3090. 6001:   schedctl()                                      = 0xFEFF9000
  3091. 6001:   lwp_sigmask(SIG_SETMASK, 0x00020000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  3092. 6001:   stat64("/usr/bin/file", 0x08046600)             = 0
  3093. 6001:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  3094. 6001:   getpid()                                        = 6001 [5509]
  3095. 6001:   execve("/usr/bin/file", 0x0808F4DC, 0x0808F530)  argc = 2
  3096. 6001:   resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12
  3097. 6001:   resolvepath("/usr/bin/file", "/usr/bin/file", 1023) = 13
  3098. 6001:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  3099. 6001:   xstat(2, "/usr/bin/file", 0x08047408)           = 0
  3100. 6001:   open("/var/ld/ld.config", O_RDONLY)             Err#2 ENOENT
  3101. 6001:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFF0000
  3102. 6001:   xstat(2, "/usr/lib/gss/libelf.so.1", 0x08046C38) Err#2 ENOENT
  3103. 6001:   xstat(2, "/lib/libelf.so.1", 0x08046C38)        = 0
  3104. 6001:   resolvepath("/lib/libelf.so.1", "/lib/libelf.so.1", 1023) = 16
  3105. 6001:   open("/lib/libelf.so.1", O_RDONLY)              = 3
  3106. 6001:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  3107. 6001:   mmap(0x00010000, 176128, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF80000
  3108. 6001:   mmap(0xFEF80000, 103385, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF80000
  3109. 6001:   mmap(0xFEFAA000, 2688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 106496) = 0xFEFAA000
  3110. 6001:   munmap(0xFEF9A000, 65536)                       = 0
  3111. 6001:   memcntl(0xFEF80000, 9512, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  3112. 6001:   close(3)                                        = 0
  3113. 6001:   xstat(2, "/usr/lib/gss/libdoor.so.1", 0x08046C38) Err#2 ENOENT
  3114. 6001:   xstat(2, "/lib/libdoor.so.1", 0x08046C38)       = 0
  3115. 6001:   resolvepath("/lib/libdoor.so.1", "/lib/libdoor.so.1", 1023) = 17
  3116. 6001:   open("/lib/libdoor.so.1", O_RDONLY)             = 3
  3117. 6001:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  3118. 6001:   mmap(0x00010000, 73728, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF60000
  3119. 6001:   mmap(0xFEF60000, 3595, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF60000
  3120. 6001:   mmap(0xFEF71000, 328, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 4096) = 0xFEF71000
  3121. 6001:   munmap(0xFEF61000, 65536)                       = 0
  3122. 6001:   memcntl(0xFEF60000, 2048, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  3123. 6001:   close(3)                                        = 0
  3124. 6001:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  3125. 6001:   xstat(2, "/lib/libc.so.1", 0x08046C38)          = 0
  3126. 6001:   resolvepath("/lib/libc.so.1", "/lib/libc.so.1", 1023) = 14
  3127. 6001:   open("/lib/libc.so.1", O_RDONLY)                = 3
  3128. 6001:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  3129. 6001:   mmap(0x00010000, 880640, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE80000
  3130. 6001:   mmap(0xFEE80000, 775581, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE80000
  3131. 6001:   mmap(0xFEF4E000, 27239, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 778240) = 0xFEF4E000
  3132. 6001:   mmap(0xFEF55000, 5392, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFEF55000
  3133. 6001:   munmap(0xFEF3E000, 65536)                       = 0
  3134. 6001:   memcntl(0xFEE80000, 123472, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  3135. 6001:   close(3)                                        = 0
  3136. 6001:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  3137. 6001:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  3138. 6001:   mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF40000
  3139. 6001:   munmap(0xFEFB0000, 32768)                       = 0
  3140. 6001:   getcontext(0x080471C0)
  3141. 6001:   getrlimit(RLIMIT_STACK, 0x080471B8)             = 0
  3142. 6001:   getpid()                                        = 6001 [5509]
  3143. 6001:   lwp_private(0, 1, 0xFEF42A00)                   = 0x000001C3
  3144. 6001:   setustack(0xFEF42A60)
  3145. 6001:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFC0000
  3146. 6001:   sysi86(SI86FPSTART, 0xFEF55BC0, 0x0000133F, 0x00001F80) = 0x00000001
  3147. 6001:   brk(0x08068FD0)                                 = 0
  3148. 6001:   brk(0x0806AFD0)                                 = 0
  3149. 6001:   xstat(2, "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 0x08046630) = 0
  3150. 6001:   resolvepath("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 1023) = 44
  3151. 6001:   open("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", O_RDONLY) = 3
  3152. 6001:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  3153. 6001:   mmap(0x00010000, 2297856, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEC00000
  3154. 6001:   mmap(0xFEC00000, 2225278, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEC00000
  3155. 6001:   mmap(0xFEE2F000, 4234, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 2224128) = 0xFEE2F000
  3156. 6001:   munmap(0xFEE20000, 61440)                       = 0
  3157. 6001:   memcntl(0xFEC00000, 7188, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  3158. 6001:   close(3)                                        = 0
  3159. 6001:   xstat(2, "/usr/lib/gss/methods_en_US.UTF-8.so.3", 0x08046588) Err#2 ENOENT
  3160. 6001:   xstat(2, "/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", 0x08046588) = 0
  3161. 6001:   resolvepath("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", "/usr/lib/locale/common/methods_unicode.so.3", 1023) = 43
  3162. 6001:   open("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", O_RDONLY) = 3
  3163. 6001:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  3164. 6001:   mmap(0x00010000, 122880, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE60000
  3165. 6001:   mmap(0xFEE60000, 55437, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE60000
  3166. 6001:   mmap(0xFEE7D000, 2524, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 53248) = 0xFEE7D000
  3167. 6001:   munmap(0xFEE6E000, 61440)                       = 0
  3168. 6001:   memcntl(0xFEE60000, 2532, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  3169. 6001:   close(3)                                        = 0
  3170. 6001:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046588)  Err#2 ENOENT
  3171. 6001:   xstat(2, "/usr/lib/locale/en_US.UTF-8/libc.so.1", 0x08046588) Err#2 ENOENT
  3172. 6001:   munmap(0xFEFB0000, 32768)                       = 0
  3173. 6001:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  3174. 6001:   xstat(2, "/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/magic", 0x08047550) Err#2 ENOENT
  3175. 6001:   brk(0x0806AFD0)                                 = 0
  3176. 6001:   brk(0x0806CFD0)                                 = 0
  3177. 6001:   open("/etc/magic", O_RDONLY)                    = 3
  3178. 6001:   fstat64(3, 0x08047450)                          = 0
  3179. 6001:   brk(0x0806CFD0)                                 = 0
  3180. 6001:   brk(0x0806EFD0)                                 = 0
  3181. 6001:   fstat64(3, 0x08047390)                          = 0
  3182. 6001:   ioctl(3, TCGETA, 0x08047424)                    Err#25 ENOTTY
  3183. 6001:   read(3, " #\n #   C o p y r i g h".., 8192)     = 8192
  3184. 6001:   brk(0x0806EFD0)                                 = 0
  3185. 6001:   brk(0x08070FD0)                                 = 0
  3186. 6001:   read(3, " e & 0 x 8 0\t > 0\t\t b".., 8192)     = 8192
  3187. 6001:   brk(0x08070FD0)                                 = 0
  3188. 6001:   brk(0x08072FD0)                                 = 0
  3189. 6001:   read(3, " n g\t\t - 2 . 0\t\t   2".., 8192)     = 1135
  3190. 6001:   brk(0x08072FD0)                                 = 0
  3191. 6001:   brk(0x08072FD0)                                 = 0
  3192. 6001:   brk(0x08074FD0)                                 = 0
  3193. 6001:   read(3, 0x0806BA4C, 8192)                       = 0
  3194. 6001:   llseek(3, 0, SEEK_CUR)                          = 17519
  3195. 6001:   close(3)                                        = 0
  3196. 6001:   ioctl(1, TCGETA, 0x08046934)                    Err#22 EINVAL
  3197. 6001:   fstat64(1, 0x08046960)                          = 0
  3198. 6001:   fstat64(1, 0x080468A0)                          = 0
  3199. 6001:   stat64("/tmp", 0x08068800)                      = 0
  3200. 6001:   open("/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/SUNW_OST_OSCMD.mo", O_RDONLY) Err#2 ENOENT
  3201. 6001:   write(1, " / t m p :\t\t d i r e c".., 17)      = 17
  3202. 5509:   read(10, " / t m p :\t\t d i r e c".., 1024)    = 17
  3203. 6001:   close(1)                                        = 0
  3204. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  3205. 6001:   _exit(0)
  3206. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  3207. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  3208. 5509:   read(10, 0x08046984, 1024)                      = 0
  3209. 5509:   ioctl(10, TCGETA, 0x08046458)                   Err#22 EINVAL
  3210. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  3211. 5509:   waitid(P_ALL, 0, 0x08046810, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED) = 0
  3212. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  3213. 5509:   close(10)                                       = 0
  3214. 5509:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  3215. 5508:   read(0, " 0", 1)                                = 1
  3216. 5509:   pipe()                                          = 3 [4]
  3217. 5509:   fcntl(3, F_DUPFD, 0x0000000A)                   = 10
  3218. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  3219. 5509:   close(3)                                        = 0
  3220. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  3221. 5509:   fcntl(4, F_DUPFD, 0x0000000A)                   = 11
  3222. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  3223. 5509:   close(4)                                        = 0
  3224. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 1
  3225. 5508:   read(0, " 1 2 3 4 5 6 7 8 9 A B C".., 63)       = 63
  3226. 5509:   fork1()                                         = 6003
  3227. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  3228. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  3229. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  3230. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 0
  3231. 5508:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  3232. 5509:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  3233. 6003:   fork1()         (returning as child ...)        = 5509
  3234. 5509:   close(11)                                       = 0
  3235. 6003:   getpid()                                        = 6003 [5509]
  3236. 5509:   fcntl(10, F_GETFL)                              = 2
  3237. 5509:   llseek(10, 0, SEEK_CUR)                         Err#29 ESPIPE
  3238. 6003:   lwp_self()                                      = 1
  3239. 5509:   ioctl(10, TCGETS, 0x08089868)                   Err#22 EINVAL
  3240. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  3241. 6003:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  3242. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  3243. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  3244. 6003:   getpid()                                        = 6003 [5509]
  3245. 6003:   close(1)                                        = 0
  3246. 6003:   fcntl(11, F_DUPFD, 0x00000001)                  = 1
  3247. 6003:   close(11)                                       = 0
  3248. 6003:   close(10)                                       = 0
  3249. 6003:   close(11)                                       Err#9 EBADF
  3250. 6003:   schedctl()                                      = 0xFEFF9000
  3251. 6003:   lwp_sigmask(SIG_SETMASK, 0x00020000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  3252. 6003:   stat64("/usr/bin/file", 0x08046600)             = 0
  3253. 6003:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  3254. 6003:   getpid()                                        = 6003 [5509]
  3255. 6003:   execve("/usr/bin/file", 0x0808F4DC, 0x0808F530)  argc = 2
  3256. 6003:   resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12
  3257. 6003:   resolvepath("/usr/bin/file", "/usr/bin/file", 1023) = 13
  3258. 6003:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  3259. 6003:   xstat(2, "/usr/bin/file", 0x08047408)           = 0
  3260. 6003:   open("/var/ld/ld.config", O_RDONLY)             Err#2 ENOENT
  3261. 6003:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFF0000
  3262. 6003:   xstat(2, "/usr/lib/gss/libelf.so.1", 0x08046C38) Err#2 ENOENT
  3263. 6003:   xstat(2, "/lib/libelf.so.1", 0x08046C38)        = 0
  3264. 6003:   resolvepath("/lib/libelf.so.1", "/lib/libelf.so.1", 1023) = 16
  3265. 6003:   open("/lib/libelf.so.1", O_RDONLY)              = 3
  3266. 6003:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  3267. 6003:   mmap(0x00010000, 176128, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF80000
  3268. 6003:   mmap(0xFEF80000, 103385, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF80000
  3269. 6003:   mmap(0xFEFAA000, 2688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 106496) = 0xFEFAA000
  3270. 6003:   munmap(0xFEF9A000, 65536)                       = 0
  3271. 6003:   memcntl(0xFEF80000, 9512, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  3272. 6003:   close(3)                                        = 0
  3273. 6003:   xstat(2, "/usr/lib/gss/libdoor.so.1", 0x08046C38) Err#2 ENOENT
  3274. 6003:   xstat(2, "/lib/libdoor.so.1", 0x08046C38)       = 0
  3275. 6003:   resolvepath("/lib/libdoor.so.1", "/lib/libdoor.so.1", 1023) = 17
  3276. 6003:   open("/lib/libdoor.so.1", O_RDONLY)             = 3
  3277. 6003:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  3278. 6003:   mmap(0x00010000, 73728, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF60000
  3279. 6003:   mmap(0xFEF60000, 3595, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF60000
  3280. 6003:   mmap(0xFEF71000, 328, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 4096) = 0xFEF71000
  3281. 6003:   munmap(0xFEF61000, 65536)                       = 0
  3282. 6003:   memcntl(0xFEF60000, 2048, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  3283. 6003:   close(3)                                        = 0
  3284. 6003:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  3285. 6003:   xstat(2, "/lib/libc.so.1", 0x08046C38)          = 0
  3286. 6003:   resolvepath("/lib/libc.so.1", "/lib/libc.so.1", 1023) = 14
  3287. 6003:   open("/lib/libc.so.1", O_RDONLY)                = 3
  3288. 6003:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  3289. 6003:   mmap(0x00010000, 880640, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE80000
  3290. 6003:   mmap(0xFEE80000, 775581, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE80000
  3291. 6003:   mmap(0xFEF4E000, 27239, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 778240) = 0xFEF4E000
  3292. 6003:   mmap(0xFEF55000, 5392, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFEF55000
  3293. 6003:   munmap(0xFEF3E000, 65536)                       = 0
  3294. 6003:   memcntl(0xFEE80000, 123472, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  3295. 6003:   close(3)                                        = 0
  3296. 6003:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  3297. 6003:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  3298. 6003:   mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF40000
  3299. 6003:   munmap(0xFEFB0000, 32768)                       = 0
  3300. 6003:   getcontext(0x080471C0)
  3301. 6003:   getrlimit(RLIMIT_STACK, 0x080471B8)             = 0
  3302. 6003:   getpid()                                        = 6003 [5509]
  3303. 6003:   lwp_private(0, 1, 0xFEF42A00)                   = 0x000001C3
  3304. 6003:   setustack(0xFEF42A60)
  3305. 6003:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFC0000
  3306. 6003:   sysi86(SI86FPSTART, 0xFEF55BC0, 0x0000133F, 0x00001F80) = 0x00000001
  3307. 6003:   brk(0x08068FD0)                                 = 0
  3308. 6003:   brk(0x0806AFD0)                                 = 0
  3309. 6003:   xstat(2, "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 0x08046630) = 0
  3310. 6003:   resolvepath("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 1023) = 44
  3311. 6003:   open("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", O_RDONLY) = 3
  3312. 6003:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  3313. 6003:   mmap(0x00010000, 2297856, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEC00000
  3314. 6003:   mmap(0xFEC00000, 2225278, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEC00000
  3315. 6003:   mmap(0xFEE2F000, 4234, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 2224128) = 0xFEE2F000
  3316. 6003:   munmap(0xFEE20000, 61440)                       = 0
  3317. 6003:   memcntl(0xFEC00000, 7188, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  3318. 6003:   close(3)                                        = 0
  3319. 6003:   xstat(2, "/usr/lib/gss/methods_en_US.UTF-8.so.3", 0x08046588) Err#2 ENOENT
  3320. 6003:   xstat(2, "/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", 0x08046588) = 0
  3321. 6003:   resolvepath("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", "/usr/lib/locale/common/methods_unicode.so.3", 1023) = 43
  3322. 6003:   open("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", O_RDONLY) = 3
  3323. 6003:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  3324. 6003:   mmap(0x00010000, 122880, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE60000
  3325. 6003:   mmap(0xFEE60000, 55437, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE60000
  3326. 6003:   mmap(0xFEE7D000, 2524, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 53248) = 0xFEE7D000
  3327. 6003:   munmap(0xFEE6E000, 61440)                       = 0
  3328. 6003:   memcntl(0xFEE60000, 2532, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  3329. 6003:   close(3)                                        = 0
  3330. 6003:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046588)  Err#2 ENOENT
  3331. 6003:   xstat(2, "/usr/lib/locale/en_US.UTF-8/libc.so.1", 0x08046588) Err#2 ENOENT
  3332. 6003:   munmap(0xFEFB0000, 32768)                       = 0
  3333. 6003:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  3334. 6003:   xstat(2, "/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/magic", 0x08047550) Err#2 ENOENT
  3335. 6003:   brk(0x0806AFD0)                                 = 0
  3336. 6003:   brk(0x0806CFD0)                                 = 0
  3337. 6003:   open("/etc/magic", O_RDONLY)                    = 3
  3338. 6003:   fstat64(3, 0x08047450)                          = 0
  3339. 6003:   brk(0x0806CFD0)                                 = 0
  3340. 6003:   brk(0x0806EFD0)                                 = 0
  3341. 6003:   fstat64(3, 0x08047390)                          = 0
  3342. 6003:   ioctl(3, TCGETA, 0x08047424)                    Err#25 ENOTTY
  3343. 6003:   read(3, " #\n #   C o p y r i g h".., 8192)     = 8192
  3344. 6003:   brk(0x0806EFD0)                                 = 0
  3345. 6003:   brk(0x08070FD0)                                 = 0
  3346. 6003:   read(3, " e & 0 x 8 0\t > 0\t\t b".., 8192)     = 8192
  3347. 6003:   brk(0x08070FD0)                                 = 0
  3348. 6003:   brk(0x08072FD0)                                 = 0
  3349. 6003:   read(3, " n g\t\t - 2 . 0\t\t   2".., 8192)     = 1135
  3350. 6003:   brk(0x08072FD0)                                 = 0
  3351. 6003:   brk(0x08072FD0)                                 = 0
  3352. 6003:   brk(0x08074FD0)                                 = 0
  3353. 6003:   read(3, 0x0806BA4C, 8192)                       = 0
  3354. 6003:   llseek(3, 0, SEEK_CUR)                          = 17519
  3355. 6003:   close(3)                                        = 0
  3356. 6003:   ioctl(1, TCGETA, 0x08046934)                    Err#22 EINVAL
  3357. 6003:   fstat64(1, 0x08046960)                          = 0
  3358. 6003:   fstat64(1, 0x080468A0)                          = 0
  3359. 6003:   stat64("/tmp", 0x08068800)                      = 0
  3360. 6003:   open("/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/SUNW_OST_OSCMD.mo", O_RDONLY) Err#2 ENOENT
  3361. 6003:   write(1, " / t m p :\t\t d i r e c".., 17)      = 17
  3362. 5509:   read(10, " / t m p :\t\t d i r e c".., 1024)    = 17
  3363. 6003:   close(1)                                        = 0
  3364. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  3365. 6003:   _exit(0)
  3366. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  3367. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  3368. 5509:   read(10, 0x08046984, 1024)                      = 0
  3369. 5509:   ioctl(10, TCGETA, 0x08046458)                   Err#22 EINVAL
  3370. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  3371. 5509:   waitid(P_ALL, 0, 0x08046810, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED) = 0
  3372. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  3373. 5509:   close(10)                                       = 0
  3374. 5509:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  3375. 5508:   read(0, " 0", 1)                                = 1
  3376. 5509:   pipe()                                          = 3 [4]
  3377. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  3378. 5509:   fcntl(3, F_DUPFD, 0x0000000A)                   = 10
  3379. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  3380. 5509:   close(3)                                        = 0
  3381. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  3382. 5509:   fcntl(4, F_DUPFD, 0x0000000A)                   = 11
  3383. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 1
  3384. 5509:   close(4)                                        = 0
  3385. 5508:   read(0, " 1 2 3 4 5 6 7 8 9 A B C".., 63)       = 63
  3386. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  3387. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  3388. 5509:   fork1()                                         = 6005
  3389. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  3390. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 0
  3391. 5508:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  3392. 5509:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  3393. 6005:   fork1()         (returning as child ...)        = 5509
  3394. 5509:   close(11)                                       = 0
  3395. 6005:   getpid()                                        = 6005 [5509]
  3396. 5509:   fcntl(10, F_GETFL)                              = 2
  3397. 5509:   llseek(10, 0, SEEK_CUR)                         Err#29 ESPIPE
  3398. 6005:   lwp_self()                                      = 1
  3399. 5509:   ioctl(10, TCGETS, 0x08089868)                   Err#22 EINVAL
  3400. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  3401. 6005:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  3402. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  3403. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  3404. 6005:   getpid()                                        = 6005 [5509]
  3405. 6005:   close(1)                                        = 0
  3406. 6005:   fcntl(11, F_DUPFD, 0x00000001)                  = 1
  3407. 6005:   close(11)                                       = 0
  3408. 6005:   close(10)                                       = 0
  3409. 6005:   close(11)                                       Err#9 EBADF
  3410. 6005:   schedctl()                                      = 0xFEFF9000
  3411. 6005:   lwp_sigmask(SIG_SETMASK, 0x00020000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  3412. 6005:   stat64("/usr/bin/file", 0x08046600)             = 0
  3413. 6005:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  3414. 6005:   getpid()                                        = 6005 [5509]
  3415. 6005:   execve("/usr/bin/file", 0x0808F4DC, 0x0808F530)  argc = 2
  3416. 6005:   resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12
  3417. 6005:   resolvepath("/usr/bin/file", "/usr/bin/file", 1023) = 13
  3418. 6005:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  3419. 6005:   xstat(2, "/usr/bin/file", 0x08047408)           = 0
  3420. 6005:   open("/var/ld/ld.config", O_RDONLY)             Err#2 ENOENT
  3421. 6005:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFF0000
  3422. 6005:   xstat(2, "/usr/lib/gss/libelf.so.1", 0x08046C38) Err#2 ENOENT
  3423. 6005:   xstat(2, "/lib/libelf.so.1", 0x08046C38)        = 0
  3424. 6005:   resolvepath("/lib/libelf.so.1", "/lib/libelf.so.1", 1023) = 16
  3425. 6005:   open("/lib/libelf.so.1", O_RDONLY)              = 3
  3426. 6005:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  3427. 6005:   mmap(0x00010000, 176128, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF80000
  3428. 6005:   mmap(0xFEF80000, 103385, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF80000
  3429. 6005:   mmap(0xFEFAA000, 2688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 106496) = 0xFEFAA000
  3430. 6005:   munmap(0xFEF9A000, 65536)                       = 0
  3431. 6005:   memcntl(0xFEF80000, 9512, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  3432. 6005:   close(3)                                        = 0
  3433. 6005:   xstat(2, "/usr/lib/gss/libdoor.so.1", 0x08046C38) Err#2 ENOENT
  3434. 6005:   xstat(2, "/lib/libdoor.so.1", 0x08046C38)       = 0
  3435. 6005:   resolvepath("/lib/libdoor.so.1", "/lib/libdoor.so.1", 1023) = 17
  3436. 6005:   open("/lib/libdoor.so.1", O_RDONLY)             = 3
  3437. 6005:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  3438. 6005:   mmap(0x00010000, 73728, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF60000
  3439. 6005:   mmap(0xFEF60000, 3595, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF60000
  3440. 6005:   mmap(0xFEF71000, 328, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 4096) = 0xFEF71000
  3441. 6005:   munmap(0xFEF61000, 65536)                       = 0
  3442. 6005:   memcntl(0xFEF60000, 2048, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  3443. 6005:   close(3)                                        = 0
  3444. 6005:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  3445. 6005:   xstat(2, "/lib/libc.so.1", 0x08046C38)          = 0
  3446. 6005:   resolvepath("/lib/libc.so.1", "/lib/libc.so.1", 1023) = 14
  3447. 6005:   open("/lib/libc.so.1", O_RDONLY)                = 3
  3448. 6005:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  3449. 6005:   mmap(0x00010000, 880640, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE80000
  3450. 6005:   mmap(0xFEE80000, 775581, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE80000
  3451. 6005:   mmap(0xFEF4E000, 27239, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 778240) = 0xFEF4E000
  3452. 6005:   mmap(0xFEF55000, 5392, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFEF55000
  3453. 6005:   munmap(0xFEF3E000, 65536)                       = 0
  3454. 6005:   memcntl(0xFEE80000, 123472, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  3455. 6005:   close(3)                                        = 0
  3456. 6005:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  3457. 6005:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  3458. 6005:   mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF40000
  3459. 6005:   munmap(0xFEFB0000, 32768)                       = 0
  3460. 6005:   getcontext(0x080471C0)
  3461. 6005:   getrlimit(RLIMIT_STACK, 0x080471B8)             = 0
  3462. 6005:   getpid()                                        = 6005 [5509]
  3463. 6005:   lwp_private(0, 1, 0xFEF42A00)                   = 0x000001C3
  3464. 6005:   setustack(0xFEF42A60)
  3465. 6005:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFC0000
  3466. 6005:   sysi86(SI86FPSTART, 0xFEF55BC0, 0x0000133F, 0x00001F80) = 0x00000001
  3467. 6005:   brk(0x08068FD0)                                 = 0
  3468. 6005:   brk(0x0806AFD0)                                 = 0
  3469. 6005:   xstat(2, "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 0x08046630) = 0
  3470. 6005:   resolvepath("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 1023) = 44
  3471. 6005:   open("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", O_RDONLY) = 3
  3472. 6005:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  3473. 6005:   mmap(0x00010000, 2297856, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEC00000
  3474. 6005:   mmap(0xFEC00000, 2225278, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEC00000
  3475. 6005:   mmap(0xFEE2F000, 4234, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 2224128) = 0xFEE2F000
  3476. 6005:   munmap(0xFEE20000, 61440)                       = 0
  3477. 6005:   memcntl(0xFEC00000, 7188, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  3478. 6005:   close(3)                                        = 0
  3479. 6005:   xstat(2, "/usr/lib/gss/methods_en_US.UTF-8.so.3", 0x08046588) Err#2 ENOENT
  3480. 6005:   xstat(2, "/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", 0x08046588) = 0
  3481. 6005:   resolvepath("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", "/usr/lib/locale/common/methods_unicode.so.3", 1023) = 43
  3482. 6005:   open("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", O_RDONLY) = 3
  3483. 6005:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  3484. 6005:   mmap(0x00010000, 122880, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE60000
  3485. 6005:   mmap(0xFEE60000, 55437, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE60000
  3486. 6005:   mmap(0xFEE7D000, 2524, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 53248) = 0xFEE7D000
  3487. 6005:   munmap(0xFEE6E000, 61440)                       = 0
  3488. 6005:   memcntl(0xFEE60000, 2532, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  3489. 6005:   close(3)                                        = 0
  3490. 6005:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046588)  Err#2 ENOENT
  3491. 6005:   xstat(2, "/usr/lib/locale/en_US.UTF-8/libc.so.1", 0x08046588) Err#2 ENOENT
  3492. 6005:   munmap(0xFEFB0000, 32768)                       = 0
  3493. 6005:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  3494. 6005:   xstat(2, "/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/magic", 0x08047550) Err#2 ENOENT
  3495. 6005:   brk(0x0806AFD0)                                 = 0
  3496. 6005:   brk(0x0806CFD0)                                 = 0
  3497. 6005:   open("/etc/magic", O_RDONLY)                    = 3
  3498. 6005:   fstat64(3, 0x08047450)                          = 0
  3499. 6005:   brk(0x0806CFD0)                                 = 0
  3500. 6005:   brk(0x0806EFD0)                                 = 0
  3501. 6005:   fstat64(3, 0x08047390)                          = 0
  3502. 6005:   ioctl(3, TCGETA, 0x08047424)                    Err#25 ENOTTY
  3503. 6005:   read(3, " #\n #   C o p y r i g h".., 8192)     = 8192
  3504. 6005:   brk(0x0806EFD0)                                 = 0
  3505. 6005:   brk(0x08070FD0)                                 = 0
  3506. 6005:   read(3, " e & 0 x 8 0\t > 0\t\t b".., 8192)     = 8192
  3507. 6005:   brk(0x08070FD0)                                 = 0
  3508. 6005:   brk(0x08072FD0)                                 = 0
  3509. 6005:   read(3, " n g\t\t - 2 . 0\t\t   2".., 8192)     = 1135
  3510. 6005:   brk(0x08072FD0)                                 = 0
  3511. 6005:   brk(0x08072FD0)                                 = 0
  3512. 6005:   brk(0x08074FD0)                                 = 0
  3513. 6005:   read(3, 0x0806BA4C, 8192)                       = 0
  3514. 6005:   llseek(3, 0, SEEK_CUR)                          = 17519
  3515. 6005:   close(3)                                        = 0
  3516. 6005:   ioctl(1, TCGETA, 0x08046934)                    Err#22 EINVAL
  3517. 6005:   fstat64(1, 0x08046960)                          = 0
  3518. 6005:   fstat64(1, 0x080468A0)                          = 0
  3519. 6005:   stat64("/tmp", 0x08068800)                      = 0
  3520. 6005:   open("/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/SUNW_OST_OSCMD.mo", O_RDONLY) Err#2 ENOENT
  3521. 6005:   write(1, " / t m p :\t\t d i r e c".., 17)      = 17
  3522. 5509:   read(10, " / t m p :\t\t d i r e c".., 1024)    = 17
  3523. 6005:   close(1)                                        = 0
  3524. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  3525. 6005:   _exit(0)
  3526. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  3527. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  3528. 5509:   read(10, 0x08046984, 1024)                      = 0
  3529. 5509:   ioctl(10, TCGETA, 0x08046458)                   Err#22 EINVAL
  3530. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  3531. 5509:   waitid(P_ALL, 0, 0x08046810, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED) = 0
  3532. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  3533. 5509:   close(10)                                       = 0
  3534. 5509:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  3535. 5508:   read(0, " 0", 1)                                = 1
  3536. 5509:   pipe()                                          = 3 [4]
  3537. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  3538. 5509:   fcntl(3, F_DUPFD, 0x0000000A)                   = 10
  3539. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  3540. 5509:   close(3)                                        = 0
  3541. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  3542. 5509:   fcntl(4, F_DUPFD, 0x0000000A)                   = 11
  3543. 5509:   close(4)                                        = 0
  3544. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 1
  3545. 5508:   read(0, " 1 2 3 4 5 6 7 8 9 A B C".., 63)       = 63
  3546. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  3547. 5509:   fork1()                                         = 6007
  3548. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  3549. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  3550. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 0
  3551. 5508:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  3552. 5509:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  3553. 6007:   fork1()         (returning as child ...)        = 5509
  3554. 5509:   close(11)                                       = 0
  3555. 5509:   fcntl(10, F_GETFL)                              = 2
  3556. 6007:   getpid()                                        = 6007 [5509]
  3557. 5509:   llseek(10, 0, SEEK_CUR)                         Err#29 ESPIPE
  3558. 5509:   ioctl(10, TCGETS, 0x08089868)                   Err#22 EINVAL
  3559. 6007:   lwp_self()                                      = 1
  3560. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  3561. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  3562. 6007:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  3563. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  3564. 6007:   getpid()                                        = 6007 [5509]
  3565. 6007:   close(1)                                        = 0
  3566. 6007:   fcntl(11, F_DUPFD, 0x00000001)                  = 1
  3567. 6007:   close(11)                                       = 0
  3568. 6007:   close(10)                                       = 0
  3569. 6007:   close(11)                                       Err#9 EBADF
  3570. 6007:   schedctl()                                      = 0xFEFBA000
  3571. 6007:   lwp_sigmask(SIG_SETMASK, 0x00020000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  3572. 6007:   stat64("/usr/bin/file", 0x08046600)             = 0
  3573. 6007:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  3574. 6007:   getpid()                                        = 6007 [5509]
  3575. 6007:   execve("/usr/bin/file", 0x0808F4DC, 0x0808F530)  argc = 2
  3576. 6007:   resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12
  3577. 6007:   resolvepath("/usr/bin/file", "/usr/bin/file", 1023) = 13
  3578. 6007:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  3579. 6007:   xstat(2, "/usr/bin/file", 0x08047408)           = 0
  3580. 6007:   open("/var/ld/ld.config", O_RDONLY)             Err#2 ENOENT
  3581. 6007:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFF0000
  3582. 6007:   xstat(2, "/usr/lib/gss/libelf.so.1", 0x08046C38) Err#2 ENOENT
  3583. 6007:   xstat(2, "/lib/libelf.so.1", 0x08046C38)        = 0
  3584. 6007:   resolvepath("/lib/libelf.so.1", "/lib/libelf.so.1", 1023) = 16
  3585. 6007:   open("/lib/libelf.so.1", O_RDONLY)              = 3
  3586. 6007:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  3587. 6007:   mmap(0x00010000, 176128, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF80000
  3588. 6007:   mmap(0xFEF80000, 103385, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF80000
  3589. 6007:   mmap(0xFEFAA000, 2688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 106496) = 0xFEFAA000
  3590. 6007:   munmap(0xFEF9A000, 65536)                       = 0
  3591. 6007:   memcntl(0xFEF80000, 9512, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  3592. 6007:   close(3)                                        = 0
  3593. 6007:   xstat(2, "/usr/lib/gss/libdoor.so.1", 0x08046C38) Err#2 ENOENT
  3594. 6007:   xstat(2, "/lib/libdoor.so.1", 0x08046C38)       = 0
  3595. 6007:   resolvepath("/lib/libdoor.so.1", "/lib/libdoor.so.1", 1023) = 17
  3596. 6007:   open("/lib/libdoor.so.1", O_RDONLY)             = 3
  3597. 6007:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  3598. 6007:   mmap(0x00010000, 73728, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF60000
  3599. 6007:   mmap(0xFEF60000, 3595, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF60000
  3600. 6007:   mmap(0xFEF71000, 328, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 4096) = 0xFEF71000
  3601. 6007:   munmap(0xFEF61000, 65536)                       = 0
  3602. 6007:   memcntl(0xFEF60000, 2048, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  3603. 6007:   close(3)                                        = 0
  3604. 6007:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  3605. 6007:   xstat(2, "/lib/libc.so.1", 0x08046C38)          = 0
  3606. 6007:   resolvepath("/lib/libc.so.1", "/lib/libc.so.1", 1023) = 14
  3607. 6007:   open("/lib/libc.so.1", O_RDONLY)                = 3
  3608. 6007:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  3609. 6007:   mmap(0x00010000, 880640, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE80000
  3610. 6007:   mmap(0xFEE80000, 775581, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE80000
  3611. 6007:   mmap(0xFEF4E000, 27239, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 778240) = 0xFEF4E000
  3612. 6007:   mmap(0xFEF55000, 5392, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFEF55000
  3613. 6007:   munmap(0xFEF3E000, 65536)                       = 0
  3614. 6007:   memcntl(0xFEE80000, 123472, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  3615. 6007:   close(3)                                        = 0
  3616. 6007:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  3617. 6007:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  3618. 6007:   mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF40000
  3619. 6007:   munmap(0xFEFB0000, 32768)                       = 0
  3620. 6007:   getcontext(0x080471C0)
  3621. 6007:   getrlimit(RLIMIT_STACK, 0x080471B8)             = 0
  3622. 6007:   getpid()                                        = 6007 [5509]
  3623. 6007:   lwp_private(0, 1, 0xFEF42A00)                   = 0x000001C3
  3624. 6007:   setustack(0xFEF42A60)
  3625. 6007:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFC0000
  3626. 6007:   sysi86(SI86FPSTART, 0xFEF55BC0, 0x0000133F, 0x00001F80) = 0x00000001
  3627. 6007:   brk(0x08068FD0)                                 = 0
  3628. 6007:   brk(0x0806AFD0)                                 = 0
  3629. 6007:   xstat(2, "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 0x08046630) = 0
  3630. 6007:   resolvepath("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 1023) = 44
  3631. 6007:   open("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", O_RDONLY) = 3
  3632. 6007:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  3633. 6007:   mmap(0x00010000, 2297856, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEC00000
  3634. 6007:   mmap(0xFEC00000, 2225278, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEC00000
  3635. 6007:   mmap(0xFEE2F000, 4234, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 2224128) = 0xFEE2F000
  3636. 6007:   munmap(0xFEE20000, 61440)                       = 0
  3637. 6007:   memcntl(0xFEC00000, 7188, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  3638. 6007:   close(3)                                        = 0
  3639. 6007:   xstat(2, "/usr/lib/gss/methods_en_US.UTF-8.so.3", 0x08046588) Err#2 ENOENT
  3640. 6007:   xstat(2, "/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", 0x08046588) = 0
  3641. 6007:   resolvepath("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", "/usr/lib/locale/common/methods_unicode.so.3", 1023) = 43
  3642. 6007:   open("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", O_RDONLY) = 3
  3643. 6007:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  3644. 6007:   mmap(0x00010000, 122880, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE60000
  3645. 6007:   mmap(0xFEE60000, 55437, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE60000
  3646. 6007:   mmap(0xFEE7D000, 2524, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 53248) = 0xFEE7D000
  3647. 6007:   munmap(0xFEE6E000, 61440)                       = 0
  3648. 6007:   memcntl(0xFEE60000, 2532, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  3649. 6007:   close(3)                                        = 0
  3650. 6007:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046588)  Err#2 ENOENT
  3651. 6007:   xstat(2, "/usr/lib/locale/en_US.UTF-8/libc.so.1", 0x08046588) Err#2 ENOENT
  3652. 6007:   munmap(0xFEFB0000, 32768)                       = 0
  3653. 6007:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  3654. 6007:   xstat(2, "/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/magic", 0x08047550) Err#2 ENOENT
  3655. 6007:   brk(0x0806AFD0)                                 = 0
  3656. 6007:   brk(0x0806CFD0)                                 = 0
  3657. 6007:   open("/etc/magic", O_RDONLY)                    = 3
  3658. 6007:   fstat64(3, 0x08047450)                          = 0
  3659. 6007:   brk(0x0806CFD0)                                 = 0
  3660. 6007:   brk(0x0806EFD0)                                 = 0
  3661. 6007:   fstat64(3, 0x08047390)                          = 0
  3662. 6007:   ioctl(3, TCGETA, 0x08047424)                    Err#25 ENOTTY
  3663. 6007:   read(3, " #\n #   C o p y r i g h".., 8192)     = 8192
  3664. 6007:   brk(0x0806EFD0)                                 = 0
  3665. 6007:   brk(0x08070FD0)                                 = 0
  3666. 6007:   read(3, " e & 0 x 8 0\t > 0\t\t b".., 8192)     = 8192
  3667. 6007:   brk(0x08070FD0)                                 = 0
  3668. 6007:   brk(0x08072FD0)                                 = 0
  3669. 6007:   read(3, " n g\t\t - 2 . 0\t\t   2".., 8192)     = 1135
  3670. 6007:   brk(0x08072FD0)                                 = 0
  3671. 6007:   brk(0x08072FD0)                                 = 0
  3672. 6007:   brk(0x08074FD0)                                 = 0
  3673. 6007:   read(3, 0x0806BA4C, 8192)                       = 0
  3674. 6007:   llseek(3, 0, SEEK_CUR)                          = 17519
  3675. 6007:   close(3)                                        = 0
  3676. 6007:   ioctl(1, TCGETA, 0x08046934)                    Err#22 EINVAL
  3677. 6007:   fstat64(1, 0x08046960)                          = 0
  3678. 6007:   fstat64(1, 0x080468A0)                          = 0
  3679. 6007:   stat64("/tmp", 0x08068800)                      = 0
  3680. 6007:   open("/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/SUNW_OST_OSCMD.mo", O_RDONLY) Err#2 ENOENT
  3681. 6007:   write(1, " / t m p :\t\t d i r e c".., 17)      = 17
  3682. 5509:   read(10, " / t m p :\t\t d i r e c".., 1024)    = 17
  3683. 6007:   close(1)                                        = 0
  3684. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  3685. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  3686. 6007:   _exit(0)
  3687. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  3688. 5509:   read(10, 0x08046984, 1024)                      = 0
  3689. 5509:   ioctl(10, TCGETA, 0x08046458)                   Err#22 EINVAL
  3690. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  3691. 5509:   waitid(P_ALL, 0, 0x08046810, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED) = 0
  3692. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  3693. 5509:   close(10)                                       = 0
  3694. 5509:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  3695. 5508:   read(0, " 0", 1)                                = 1
  3696. 5509:   pipe()                                          = 3 [4]
  3697. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  3698. 5509:   fcntl(3, F_DUPFD, 0x0000000A)                   = 10
  3699. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  3700. 5509:   close(3)                                        = 0
  3701. 5509:   fcntl(4, F_DUPFD, 0x0000000A)                   = 11
  3702. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  3703. 5509:   close(4)                                        = 0
  3704. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 1
  3705. 5508:   read(0, " 1 2 3 4 5 6 7 8 9 A B C".., 63)       = 63
  3706. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  3707. 5509:   fork1()                                         = 6009
  3708. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  3709. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  3710. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 0
  3711. 5508:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  3712. 5509:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  3713. 6009:   fork1()         (returning as child ...)        = 5509
  3714. 5509:   close(11)                                       = 0
  3715. 6009:   getpid()                                        = 6009 [5509]
  3716. 5509:   fcntl(10, F_GETFL)                              = 2
  3717. 6009:   lwp_self()                                      = 1
  3718. 5509:   llseek(10, 0, SEEK_CUR)                         Err#29 ESPIPE
  3719. 5509:   ioctl(10, TCGETS, 0x08089868)                   Err#22 EINVAL
  3720. 6009:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  3721. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  3722. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  3723. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  3724. 6009:   getpid()                                        = 6009 [5509]
  3725. 6009:   close(1)                                        = 0
  3726. 6009:   fcntl(11, F_DUPFD, 0x00000001)                  = 1
  3727. 6009:   close(11)                                       = 0
  3728. 6009:   close(10)                                       = 0
  3729. 6009:   close(11)                                       Err#9 EBADF
  3730. 6009:   schedctl()                                      = 0xFEFF9000
  3731. 6009:   lwp_sigmask(SIG_SETMASK, 0x00020000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  3732. 6009:   stat64("/usr/bin/file", 0x08046600)             = 0
  3733. 6009:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  3734. 6009:   getpid()                                        = 6009 [5509]
  3735. 6009:   execve("/usr/bin/file", 0x0808F4DC, 0x0808F530)  argc = 2
  3736. 6009:   resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12
  3737. 6009:   resolvepath("/usr/bin/file", "/usr/bin/file", 1023) = 13
  3738. 6009:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  3739. 6009:   xstat(2, "/usr/bin/file", 0x08047408)           = 0
  3740. 6009:   open("/var/ld/ld.config", O_RDONLY)             Err#2 ENOENT
  3741. 6009:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFF0000
  3742. 6009:   xstat(2, "/usr/lib/gss/libelf.so.1", 0x08046C38) Err#2 ENOENT
  3743. 6009:   xstat(2, "/lib/libelf.so.1", 0x08046C38)        = 0
  3744. 6009:   resolvepath("/lib/libelf.so.1", "/lib/libelf.so.1", 1023) = 16
  3745. 6009:   open("/lib/libelf.so.1", O_RDONLY)              = 3
  3746. 6009:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  3747. 6009:   mmap(0x00010000, 176128, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF80000
  3748. 6009:   mmap(0xFEF80000, 103385, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF80000
  3749. 6009:   mmap(0xFEFAA000, 2688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 106496) = 0xFEFAA000
  3750. 6009:   munmap(0xFEF9A000, 65536)                       = 0
  3751. 6009:   memcntl(0xFEF80000, 9512, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  3752. 6009:   close(3)                                        = 0
  3753. 6009:   xstat(2, "/usr/lib/gss/libdoor.so.1", 0x08046C38) Err#2 ENOENT
  3754. 6009:   xstat(2, "/lib/libdoor.so.1", 0x08046C38)       = 0
  3755. 6009:   resolvepath("/lib/libdoor.so.1", "/lib/libdoor.so.1", 1023) = 17
  3756. 6009:   open("/lib/libdoor.so.1", O_RDONLY)             = 3
  3757. 6009:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  3758. 6009:   mmap(0x00010000, 73728, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF60000
  3759. 6009:   mmap(0xFEF60000, 3595, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF60000
  3760. 6009:   mmap(0xFEF71000, 328, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 4096) = 0xFEF71000
  3761. 6009:   munmap(0xFEF61000, 65536)                       = 0
  3762. 6009:   memcntl(0xFEF60000, 2048, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  3763. 6009:   close(3)                                        = 0
  3764. 6009:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  3765. 6009:   xstat(2, "/lib/libc.so.1", 0x08046C38)          = 0
  3766. 6009:   resolvepath("/lib/libc.so.1", "/lib/libc.so.1", 1023) = 14
  3767. 6009:   open("/lib/libc.so.1", O_RDONLY)                = 3
  3768. 6009:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  3769. 6009:   mmap(0x00010000, 880640, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE80000
  3770. 6009:   mmap(0xFEE80000, 775581, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE80000
  3771. 6009:   mmap(0xFEF4E000, 27239, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 778240) = 0xFEF4E000
  3772. 6009:   mmap(0xFEF55000, 5392, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFEF55000
  3773. 6009:   munmap(0xFEF3E000, 65536)                       = 0
  3774. 6009:   memcntl(0xFEE80000, 123472, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  3775. 6009:   close(3)                                        = 0
  3776. 6009:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  3777. 6009:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  3778. 6009:   mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF40000
  3779. 6009:   munmap(0xFEFB0000, 32768)                       = 0
  3780. 6009:   getcontext(0x080471C0)
  3781. 6009:   getrlimit(RLIMIT_STACK, 0x080471B8)             = 0
  3782. 6009:   getpid()                                        = 6009 [5509]
  3783. 6009:   lwp_private(0, 1, 0xFEF42A00)                   = 0x000001C3
  3784. 6009:   setustack(0xFEF42A60)
  3785. 6009:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFC0000
  3786. 6009:   sysi86(SI86FPSTART, 0xFEF55BC0, 0x0000133F, 0x00001F80) = 0x00000001
  3787. 6009:   brk(0x08068FD0)                                 = 0
  3788. 6009:   brk(0x0806AFD0)                                 = 0
  3789. 6009:   xstat(2, "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 0x08046630) = 0
  3790. 6009:   resolvepath("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 1023) = 44
  3791. 6009:   open("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", O_RDONLY) = 3
  3792. 6009:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  3793. 6009:   mmap(0x00010000, 2297856, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEC00000
  3794. 6009:   mmap(0xFEC00000, 2225278, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEC00000
  3795. 6009:   mmap(0xFEE2F000, 4234, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 2224128) = 0xFEE2F000
  3796. 6009:   munmap(0xFEE20000, 61440)                       = 0
  3797. 6009:   memcntl(0xFEC00000, 7188, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  3798. 6009:   close(3)                                        = 0
  3799. 6009:   xstat(2, "/usr/lib/gss/methods_en_US.UTF-8.so.3", 0x08046588) Err#2 ENOENT
  3800. 6009:   xstat(2, "/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", 0x08046588) = 0
  3801. 6009:   resolvepath("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", "/usr/lib/locale/common/methods_unicode.so.3", 1023) = 43
  3802. 6009:   open("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", O_RDONLY) = 3
  3803. 6009:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  3804. 6009:   mmap(0x00010000, 122880, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE60000
  3805. 6009:   mmap(0xFEE60000, 55437, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE60000
  3806. 6009:   mmap(0xFEE7D000, 2524, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 53248) = 0xFEE7D000
  3807. 6009:   munmap(0xFEE6E000, 61440)                       = 0
  3808. 6009:   memcntl(0xFEE60000, 2532, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  3809. 6009:   close(3)                                        = 0
  3810. 6009:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046588)  Err#2 ENOENT
  3811. 6009:   xstat(2, "/usr/lib/locale/en_US.UTF-8/libc.so.1", 0x08046588) Err#2 ENOENT
  3812. 6009:   munmap(0xFEFB0000, 32768)                       = 0
  3813. 6009:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  3814. 6009:   xstat(2, "/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/magic", 0x08047550) Err#2 ENOENT
  3815. 6009:   brk(0x0806AFD0)                                 = 0
  3816. 6009:   brk(0x0806CFD0)                                 = 0
  3817. 6009:   open("/etc/magic", O_RDONLY)                    = 3
  3818. 6009:   fstat64(3, 0x08047450)                          = 0
  3819. 6009:   brk(0x0806CFD0)                                 = 0
  3820. 6009:   brk(0x0806EFD0)                                 = 0
  3821. 6009:   fstat64(3, 0x08047390)                          = 0
  3822. 6009:   ioctl(3, TCGETA, 0x08047424)                    Err#25 ENOTTY
  3823. 6009:   read(3, " #\n #   C o p y r i g h".., 8192)     = 8192
  3824. 6009:   brk(0x0806EFD0)                                 = 0
  3825. 6009:   brk(0x08070FD0)                                 = 0
  3826. 6009:   read(3, " e & 0 x 8 0\t > 0\t\t b".., 8192)     = 8192
  3827. 6009:   brk(0x08070FD0)                                 = 0
  3828. 6009:   brk(0x08072FD0)                                 = 0
  3829. 6009:   read(3, " n g\t\t - 2 . 0\t\t   2".., 8192)     = 1135
  3830. 6009:   brk(0x08072FD0)                                 = 0
  3831. 6009:   brk(0x08072FD0)                                 = 0
  3832. 6009:   brk(0x08074FD0)                                 = 0
  3833. 6009:   read(3, 0x0806BA4C, 8192)                       = 0
  3834. 6009:   llseek(3, 0, SEEK_CUR)                          = 17519
  3835. 6009:   close(3)                                        = 0
  3836. 6009:   ioctl(1, TCGETA, 0x08046934)                    Err#22 EINVAL
  3837. 6009:   fstat64(1, 0x08046960)                          = 0
  3838. 6009:   fstat64(1, 0x080468A0)                          = 0
  3839. 6009:   stat64("/tmp", 0x08068800)                      = 0
  3840. 6009:   open("/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/SUNW_OST_OSCMD.mo", O_RDONLY) Err#2 ENOENT
  3841. 6009:   write(1, " / t m p :\t\t d i r e c".., 17)      = 17
  3842. 5509:   read(10, " / t m p :\t\t d i r e c".., 1024)    = 17
  3843. 6009:   close(1)                                        = 0
  3844. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  3845. 6009:   _exit(0)
  3846. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  3847. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  3848. 5509:   read(10, 0x08046984, 1024)                      = 0
  3849. 5509:   ioctl(10, TCGETA, 0x08046458)                   Err#22 EINVAL
  3850. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  3851. 5509:   waitid(P_ALL, 0, 0x08046810, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED) = 0
  3852. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  3853. 5509:   close(10)                                       = 0
  3854. 5508:   read(0, " 0", 1)                                = 1
  3855. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  3856. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  3857. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  3858. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 1
  3859. 5508:   read(0, " 1 2 3 4 5 6 7 8 9 A B C".., 63)       = 63
  3860. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  3861. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  3862. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  3863. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 0
  3864. 5508:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  3865. 5509:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  3866. 5509:   pipe()                                          = 3 [4]
  3867. 5509:   fcntl(3, F_DUPFD, 0x0000000A)                   = 10
  3868. 5509:   close(3)                                        = 0
  3869. 5509:   fcntl(4, F_DUPFD, 0x0000000A)                   = 11
  3870. 5509:   close(4)                                        = 0
  3871. 5509:   fork1()                                         = 6011
  3872. 5509:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  3873. 6011:   fork1()         (returning as child ...)        = 5509
  3874. 6011:   getpid()                                        = 6011 [5509]
  3875. 6011:   lwp_self()                                      = 1
  3876. 5509:   close(11)                                       = 0
  3877. 5509:   fcntl(10, F_GETFL)                              = 2
  3878. 6011:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  3879. 5509:   llseek(10, 0, SEEK_CUR)                         Err#29 ESPIPE
  3880. 5509:   ioctl(10, TCGETS, 0x08089868)                   Err#22 EINVAL
  3881. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  3882. 6011:   getpid()                                        = 6011 [5509]
  3883. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  3884. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  3885. 6011:   close(1)                                        = 0
  3886. 6011:   fcntl(11, F_DUPFD, 0x00000001)                  = 1
  3887. 6011:   close(11)                                       = 0
  3888. 6011:   close(10)                                       = 0
  3889. 6011:   close(11)                                       Err#9 EBADF
  3890. 6011:   schedctl()                                      = 0xFEFBA000
  3891. 6011:   lwp_sigmask(SIG_SETMASK, 0x00020000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  3892. 6011:   stat64("/usr/bin/file", 0x08046600)             = 0
  3893. 6011:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  3894. 6011:   getpid()                                        = 6011 [5509]
  3895. 6011:   execve("/usr/bin/file", 0x0808F4DC, 0x0808F530)  argc = 2
  3896. 6011:   resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12
  3897. 6011:   resolvepath("/usr/bin/file", "/usr/bin/file", 1023) = 13
  3898. 6011:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  3899. 6011:   xstat(2, "/usr/bin/file", 0x08047408)           = 0
  3900. 6011:   open("/var/ld/ld.config", O_RDONLY)             Err#2 ENOENT
  3901. 6011:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFF0000
  3902. 6011:   xstat(2, "/usr/lib/gss/libelf.so.1", 0x08046C38) Err#2 ENOENT
  3903. 6011:   xstat(2, "/lib/libelf.so.1", 0x08046C38)        = 0
  3904. 6011:   resolvepath("/lib/libelf.so.1", "/lib/libelf.so.1", 1023) = 16
  3905. 6011:   open("/lib/libelf.so.1", O_RDONLY)              = 3
  3906. 6011:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  3907. 6011:   mmap(0x00010000, 176128, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF80000
  3908. 6011:   mmap(0xFEF80000, 103385, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF80000
  3909. 6011:   mmap(0xFEFAA000, 2688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 106496) = 0xFEFAA000
  3910. 6011:   munmap(0xFEF9A000, 65536)                       = 0
  3911. 6011:   memcntl(0xFEF80000, 9512, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  3912. 6011:   close(3)                                        = 0
  3913. 6011:   xstat(2, "/usr/lib/gss/libdoor.so.1", 0x08046C38) Err#2 ENOENT
  3914. 6011:   xstat(2, "/lib/libdoor.so.1", 0x08046C38)       = 0
  3915. 6011:   resolvepath("/lib/libdoor.so.1", "/lib/libdoor.so.1", 1023) = 17
  3916. 6011:   open("/lib/libdoor.so.1", O_RDONLY)             = 3
  3917. 6011:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  3918. 6011:   mmap(0x00010000, 73728, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF60000
  3919. 6011:   mmap(0xFEF60000, 3595, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF60000
  3920. 6011:   mmap(0xFEF71000, 328, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 4096) = 0xFEF71000
  3921. 6011:   munmap(0xFEF61000, 65536)                       = 0
  3922. 6011:   memcntl(0xFEF60000, 2048, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  3923. 6011:   close(3)                                        = 0
  3924. 6011:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  3925. 6011:   xstat(2, "/lib/libc.so.1", 0x08046C38)          = 0
  3926. 6011:   resolvepath("/lib/libc.so.1", "/lib/libc.so.1", 1023) = 14
  3927. 6011:   open("/lib/libc.so.1", O_RDONLY)                = 3
  3928. 6011:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  3929. 6011:   mmap(0x00010000, 880640, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE80000
  3930. 6011:   mmap(0xFEE80000, 775581, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE80000
  3931. 6011:   mmap(0xFEF4E000, 27239, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 778240) = 0xFEF4E000
  3932. 6011:   mmap(0xFEF55000, 5392, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFEF55000
  3933. 6011:   munmap(0xFEF3E000, 65536)                       = 0
  3934. 6011:   memcntl(0xFEE80000, 123472, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  3935. 6011:   close(3)                                        = 0
  3936. 6011:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  3937. 6011:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  3938. 6011:   mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF40000
  3939. 6011:   munmap(0xFEFB0000, 32768)                       = 0
  3940. 6011:   getcontext(0x080471C0)
  3941. 6011:   getrlimit(RLIMIT_STACK, 0x080471B8)             = 0
  3942. 6011:   getpid()                                        = 6011 [5509]
  3943. 6011:   lwp_private(0, 1, 0xFEF42A00)                   = 0x000001C3
  3944. 6011:   setustack(0xFEF42A60)
  3945. 6011:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFC0000
  3946. 6011:   sysi86(SI86FPSTART, 0xFEF55BC0, 0x0000133F, 0x00001F80) = 0x00000001
  3947. 6011:   brk(0x08068FD0)                                 = 0
  3948. 6011:   brk(0x0806AFD0)                                 = 0
  3949. 6011:   xstat(2, "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 0x08046630) = 0
  3950. 6011:   resolvepath("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 1023) = 44
  3951. 6011:   open("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", O_RDONLY) = 3
  3952. 6011:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  3953. 6011:   mmap(0x00010000, 2297856, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEC00000
  3954. 6011:   mmap(0xFEC00000, 2225278, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEC00000
  3955. 6011:   mmap(0xFEE2F000, 4234, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 2224128) = 0xFEE2F000
  3956. 6011:   munmap(0xFEE20000, 61440)                       = 0
  3957. 6011:   memcntl(0xFEC00000, 7188, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  3958. 6011:   close(3)                                        = 0
  3959. 6011:   xstat(2, "/usr/lib/gss/methods_en_US.UTF-8.so.3", 0x08046588) Err#2 ENOENT
  3960. 6011:   xstat(2, "/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", 0x08046588) = 0
  3961. 6011:   resolvepath("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", "/usr/lib/locale/common/methods_unicode.so.3", 1023) = 43
  3962. 6011:   open("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", O_RDONLY) = 3
  3963. 6011:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  3964. 6011:   mmap(0x00010000, 122880, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE60000
  3965. 6011:   mmap(0xFEE60000, 55437, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE60000
  3966. 6011:   mmap(0xFEE7D000, 2524, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 53248) = 0xFEE7D000
  3967. 6011:   munmap(0xFEE6E000, 61440)                       = 0
  3968. 6011:   memcntl(0xFEE60000, 2532, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  3969. 6011:   close(3)                                        = 0
  3970. 6011:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046588)  Err#2 ENOENT
  3971. 6011:   xstat(2, "/usr/lib/locale/en_US.UTF-8/libc.so.1", 0x08046588) Err#2 ENOENT
  3972. 6011:   munmap(0xFEFB0000, 32768)                       = 0
  3973. 6011:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  3974. 6011:   xstat(2, "/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/magic", 0x08047550) Err#2 ENOENT
  3975. 6011:   brk(0x0806AFD0)                                 = 0
  3976. 6011:   brk(0x0806CFD0)                                 = 0
  3977. 6011:   open("/etc/magic", O_RDONLY)                    = 3
  3978. 6011:   fstat64(3, 0x08047450)                          = 0
  3979. 6011:   brk(0x0806CFD0)                                 = 0
  3980. 6011:   brk(0x0806EFD0)                                 = 0
  3981. 6011:   fstat64(3, 0x08047390)                          = 0
  3982. 6011:   ioctl(3, TCGETA, 0x08047424)                    Err#25 ENOTTY
  3983. 6011:   read(3, " #\n #   C o p y r i g h".., 8192)     = 8192
  3984. 6011:   brk(0x0806EFD0)                                 = 0
  3985. 6011:   brk(0x08070FD0)                                 = 0
  3986. 6011:   read(3, " e & 0 x 8 0\t > 0\t\t b".., 8192)     = 8192
  3987. 6011:   brk(0x08070FD0)                                 = 0
  3988. 6011:   brk(0x08072FD0)                                 = 0
  3989. 6011:   read(3, " n g\t\t - 2 . 0\t\t   2".., 8192)     = 1135
  3990. 6011:   brk(0x08072FD0)                                 = 0
  3991. 6011:   brk(0x08072FD0)                                 = 0
  3992. 6011:   brk(0x08074FD0)                                 = 0
  3993. 6011:   read(3, 0x0806BA4C, 8192)                       = 0
  3994. 6011:   llseek(3, 0, SEEK_CUR)                          = 17519
  3995. 6011:   close(3)                                        = 0
  3996. 6011:   ioctl(1, TCGETA, 0x08046934)                    Err#22 EINVAL
  3997. 6011:   fstat64(1, 0x08046960)                          = 0
  3998. 6011:   fstat64(1, 0x080468A0)                          = 0
  3999. 6011:   stat64("/tmp", 0x08068800)                      = 0
  4000. 6011:   open("/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/SUNW_OST_OSCMD.mo", O_RDONLY) Err#2 ENOENT
  4001. 6011:   write(1, " / t m p :\t\t d i r e c".., 17)      = 17
  4002. 5509:   read(10, " / t m p :\t\t d i r e c".., 1024)    = 17
  4003. 6011:   close(1)                                        = 0
  4004. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  4005. 6011:   _exit(0)
  4006. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  4007. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  4008. 5509:   read(10, 0x08046984, 1024)                      = 0
  4009. 5509:   ioctl(10, TCGETA, 0x08046458)                   Err#22 EINVAL
  4010. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  4011. 5509:   waitid(P_ALL, 0, 0x08046810, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED) = 0
  4012. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  4013. 5509:   close(10)                                       = 0
  4014. 5508:   read(0, " 0", 1)                                = 1
  4015. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  4016. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  4017. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  4018. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 1
  4019. 5508:   read(0, " 1 2 3 4 5 6 7 8 9 A B C".., 63)       = 63
  4020. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  4021. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  4022. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  4023. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 0
  4024. 5508:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  4025. 5509:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  4026. 5509:   pipe()                                          = 3 [4]
  4027. 5509:   fcntl(3, F_DUPFD, 0x0000000A)                   = 10
  4028. 5509:   close(3)                                        = 0
  4029. 5509:   fcntl(4, F_DUPFD, 0x0000000A)                   = 11
  4030. 5509:   close(4)                                        = 0
  4031. 5509:   fork1()                                         = 6013
  4032. 6013:   fork1()         (returning as child ...)        = 5509
  4033. 5509:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  4034. 6013:   getpid()                                        = 6013 [5509]
  4035. 6013:   lwp_self()                                      = 1
  4036. 5509:   close(11)                                       = 0
  4037. 5509:   fcntl(10, F_GETFL)                              = 2
  4038. 6013:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  4039. 5509:   llseek(10, 0, SEEK_CUR)                         Err#29 ESPIPE
  4040. 5509:   ioctl(10, TCGETS, 0x08089868)                   Err#22 EINVAL
  4041. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  4042. 6013:   getpid()                                        = 6013 [5509]
  4043. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  4044. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  4045. 6013:   close(1)                                        = 0
  4046. 6013:   fcntl(11, F_DUPFD, 0x00000001)                  = 1
  4047. 6013:   close(11)                                       = 0
  4048. 6013:   close(10)                                       = 0
  4049. 6013:   close(11)                                       Err#9 EBADF
  4050. 6013:   schedctl()                                      = 0xFEFF9000
  4051. 6013:   lwp_sigmask(SIG_SETMASK, 0x00020000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  4052. 6013:   stat64("/usr/bin/file", 0x08046600)             = 0
  4053. 6013:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  4054. 6013:   getpid()                                        = 6013 [5509]
  4055. 6013:   execve("/usr/bin/file", 0x0808F4DC, 0x0808F530)  argc = 2
  4056. 6013:   resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12
  4057. 6013:   resolvepath("/usr/bin/file", "/usr/bin/file", 1023) = 13
  4058. 6013:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  4059. 6013:   xstat(2, "/usr/bin/file", 0x08047408)           = 0
  4060. 6013:   open("/var/ld/ld.config", O_RDONLY)             Err#2 ENOENT
  4061. 6013:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFF0000
  4062. 6013:   xstat(2, "/usr/lib/gss/libelf.so.1", 0x08046C38) Err#2 ENOENT
  4063. 6013:   xstat(2, "/lib/libelf.so.1", 0x08046C38)        = 0
  4064. 6013:   resolvepath("/lib/libelf.so.1", "/lib/libelf.so.1", 1023) = 16
  4065. 6013:   open("/lib/libelf.so.1", O_RDONLY)              = 3
  4066. 6013:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  4067. 6013:   mmap(0x00010000, 176128, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF80000
  4068. 6013:   mmap(0xFEF80000, 103385, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF80000
  4069. 6013:   mmap(0xFEFAA000, 2688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 106496) = 0xFEFAA000
  4070. 6013:   munmap(0xFEF9A000, 65536)                       = 0
  4071. 6013:   memcntl(0xFEF80000, 9512, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  4072. 6013:   close(3)                                        = 0
  4073. 6013:   xstat(2, "/usr/lib/gss/libdoor.so.1", 0x08046C38) Err#2 ENOENT
  4074. 6013:   xstat(2, "/lib/libdoor.so.1", 0x08046C38)       = 0
  4075. 6013:   resolvepath("/lib/libdoor.so.1", "/lib/libdoor.so.1", 1023) = 17
  4076. 6013:   open("/lib/libdoor.so.1", O_RDONLY)             = 3
  4077. 6013:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  4078. 6013:   mmap(0x00010000, 73728, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF60000
  4079. 6013:   mmap(0xFEF60000, 3595, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF60000
  4080. 6013:   mmap(0xFEF71000, 328, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 4096) = 0xFEF71000
  4081. 6013:   munmap(0xFEF61000, 65536)                       = 0
  4082. 6013:   memcntl(0xFEF60000, 2048, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  4083. 6013:   close(3)                                        = 0
  4084. 6013:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  4085. 6013:   xstat(2, "/lib/libc.so.1", 0x08046C38)          = 0
  4086. 6013:   resolvepath("/lib/libc.so.1", "/lib/libc.so.1", 1023) = 14
  4087. 6013:   open("/lib/libc.so.1", O_RDONLY)                = 3
  4088. 6013:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  4089. 6013:   mmap(0x00010000, 880640, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE80000
  4090. 6013:   mmap(0xFEE80000, 775581, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE80000
  4091. 6013:   mmap(0xFEF4E000, 27239, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 778240) = 0xFEF4E000
  4092. 6013:   mmap(0xFEF55000, 5392, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFEF55000
  4093. 6013:   munmap(0xFEF3E000, 65536)                       = 0
  4094. 6013:   memcntl(0xFEE80000, 123472, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  4095. 6013:   close(3)                                        = 0
  4096. 6013:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  4097. 6013:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  4098. 6013:   mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF40000
  4099. 6013:   munmap(0xFEFB0000, 32768)                       = 0
  4100. 6013:   getcontext(0x080471C0)
  4101. 6013:   getrlimit(RLIMIT_STACK, 0x080471B8)             = 0
  4102. 6013:   getpid()                                        = 6013 [5509]
  4103. 6013:   lwp_private(0, 1, 0xFEF42A00)                   = 0x000001C3
  4104. 6013:   setustack(0xFEF42A60)
  4105. 6013:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFC0000
  4106. 6013:   sysi86(SI86FPSTART, 0xFEF55BC0, 0x0000133F, 0x00001F80) = 0x00000001
  4107. 6013:   brk(0x08068FD0)                                 = 0
  4108. 6013:   brk(0x0806AFD0)                                 = 0
  4109. 6013:   xstat(2, "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 0x08046630) = 0
  4110. 6013:   resolvepath("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 1023) = 44
  4111. 6013:   open("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", O_RDONLY) = 3
  4112. 6013:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  4113. 6013:   mmap(0x00010000, 2297856, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEC00000
  4114. 6013:   mmap(0xFEC00000, 2225278, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEC00000
  4115. 6013:   mmap(0xFEE2F000, 4234, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 2224128) = 0xFEE2F000
  4116. 6013:   munmap(0xFEE20000, 61440)                       = 0
  4117. 6013:   memcntl(0xFEC00000, 7188, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  4118. 6013:   close(3)                                        = 0
  4119. 6013:   xstat(2, "/usr/lib/gss/methods_en_US.UTF-8.so.3", 0x08046588) Err#2 ENOENT
  4120. 6013:   xstat(2, "/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", 0x08046588) = 0
  4121. 6013:   resolvepath("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", "/usr/lib/locale/common/methods_unicode.so.3", 1023) = 43
  4122. 6013:   open("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", O_RDONLY) = 3
  4123. 6013:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  4124. 6013:   mmap(0x00010000, 122880, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE60000
  4125. 6013:   mmap(0xFEE60000, 55437, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE60000
  4126. 6013:   mmap(0xFEE7D000, 2524, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 53248) = 0xFEE7D000
  4127. 6013:   munmap(0xFEE6E000, 61440)                       = 0
  4128. 6013:   memcntl(0xFEE60000, 2532, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  4129. 6013:   close(3)                                        = 0
  4130. 6013:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046588)  Err#2 ENOENT
  4131. 6013:   xstat(2, "/usr/lib/locale/en_US.UTF-8/libc.so.1", 0x08046588) Err#2 ENOENT
  4132. 6013:   munmap(0xFEFB0000, 32768)                       = 0
  4133. 6013:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  4134. 6013:   xstat(2, "/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/magic", 0x08047550) Err#2 ENOENT
  4135. 6013:   brk(0x0806AFD0)                                 = 0
  4136. 6013:   brk(0x0806CFD0)                                 = 0
  4137. 6013:   open("/etc/magic", O_RDONLY)                    = 3
  4138. 6013:   fstat64(3, 0x08047450)                          = 0
  4139. 6013:   brk(0x0806CFD0)                                 = 0
  4140. 6013:   brk(0x0806EFD0)                                 = 0
  4141. 6013:   fstat64(3, 0x08047390)                          = 0
  4142. 6013:   ioctl(3, TCGETA, 0x08047424)                    Err#25 ENOTTY
  4143. 6013:   read(3, " #\n #   C o p y r i g h".., 8192)     = 8192
  4144. 6013:   brk(0x0806EFD0)                                 = 0
  4145. 6013:   brk(0x08070FD0)                                 = 0
  4146. 6013:   read(3, " e & 0 x 8 0\t > 0\t\t b".., 8192)     = 8192
  4147. 6013:   brk(0x08070FD0)                                 = 0
  4148. 6013:   brk(0x08072FD0)                                 = 0
  4149. 6013:   read(3, " n g\t\t - 2 . 0\t\t   2".., 8192)     = 1135
  4150. 6013:   brk(0x08072FD0)                                 = 0
  4151. 6013:   brk(0x08072FD0)                                 = 0
  4152. 6013:   brk(0x08074FD0)                                 = 0
  4153. 6013:   read(3, 0x0806BA4C, 8192)                       = 0
  4154. 6013:   llseek(3, 0, SEEK_CUR)                          = 17519
  4155. 6013:   close(3)                                        = 0
  4156. 6013:   ioctl(1, TCGETA, 0x08046934)                    Err#22 EINVAL
  4157. 6013:   fstat64(1, 0x08046960)                          = 0
  4158. 6013:   fstat64(1, 0x080468A0)                          = 0
  4159. 6013:   stat64("/tmp", 0x08068800)                      = 0
  4160. 6013:   open("/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/SUNW_OST_OSCMD.mo", O_RDONLY) Err#2 ENOENT
  4161. 6013:   write(1, " / t m p :\t\t d i r e c".., 17)      = 17
  4162. 5509:   read(10, " / t m p :\t\t d i r e c".., 1024)    = 17
  4163. 6013:   close(1)                                        = 0
  4164. 6013:   _exit(0)
  4165. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  4166. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  4167. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  4168. 5509:   read(10, 0x08046984, 1024)                      = 0
  4169. 5509:   ioctl(10, TCGETA, 0x08046458)                   Err#22 EINVAL
  4170. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  4171. 5509:   waitid(P_ALL, 0, 0x08046810, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED) = 0
  4172. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  4173. 5509:   close(10)                                       = 0
  4174. 5508:   read(0, " 0", 1)                                = 1
  4175. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  4176. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  4177. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  4178. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 1
  4179. 5508:   read(0, " 1 2 3 4 5 6 7 8 9 A B C".., 63)       = 63
  4180. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  4181. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  4182. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  4183. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 0
  4184. 5508:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  4185. 5509:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  4186. 5509:   pipe()                                          = 3 [4]
  4187. 5509:   fcntl(3, F_DUPFD, 0x0000000A)                   = 10
  4188. 5509:   close(3)                                        = 0
  4189. 5509:   fcntl(4, F_DUPFD, 0x0000000A)                   = 11
  4190. 5509:   close(4)                                        = 0
  4191. 5509:   fork1()                                         = 6015
  4192. 5509:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  4193. 6015:   fork1()         (returning as child ...)        = 5509
  4194. 5509:   close(11)                                       = 0
  4195. 6015:   getpid()                                        = 6015 [5509]
  4196. 5509:   fcntl(10, F_GETFL)                              = 2
  4197. 5509:   llseek(10, 0, SEEK_CUR)                         Err#29 ESPIPE
  4198. 6015:   lwp_self()                                      = 1
  4199. 5509:   ioctl(10, TCGETS, 0x08089868)                   Err#22 EINVAL
  4200. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  4201. 6015:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  4202. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  4203. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  4204. 6015:   getpid()                                        = 6015 [5509]
  4205. 6015:   close(1)                                        = 0
  4206. 6015:   fcntl(11, F_DUPFD, 0x00000001)                  = 1
  4207. 6015:   close(11)                                       = 0
  4208. 6015:   close(10)                                       = 0
  4209. 6015:   close(11)                                       Err#9 EBADF
  4210. 6015:   schedctl()                                      = 0xFEFED000
  4211. 6015:   lwp_sigmask(SIG_SETMASK, 0x00020000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  4212. 6015:   stat64("/usr/bin/file", 0x08046600)             = 0
  4213. 6015:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  4214. 6015:   getpid()                                        = 6015 [5509]
  4215. 6015:   execve("/usr/bin/file", 0x0808F4DC, 0x0808F530)  argc = 2
  4216. 6015:   resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12
  4217. 6015:   resolvepath("/usr/bin/file", "/usr/bin/file", 1023) = 13
  4218. 6015:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  4219. 6015:   xstat(2, "/usr/bin/file", 0x08047408)           = 0
  4220. 6015:   open("/var/ld/ld.config", O_RDONLY)             Err#2 ENOENT
  4221. 6015:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFF0000
  4222. 6015:   xstat(2, "/usr/lib/gss/libelf.so.1", 0x08046C38) Err#2 ENOENT
  4223. 6015:   xstat(2, "/lib/libelf.so.1", 0x08046C38)        = 0
  4224. 6015:   resolvepath("/lib/libelf.so.1", "/lib/libelf.so.1", 1023) = 16
  4225. 6015:   open("/lib/libelf.so.1", O_RDONLY)              = 3
  4226. 6015:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  4227. 6015:   mmap(0x00010000, 176128, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF80000
  4228. 6015:   mmap(0xFEF80000, 103385, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF80000
  4229. 6015:   mmap(0xFEFAA000, 2688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 106496) = 0xFEFAA000
  4230. 6015:   munmap(0xFEF9A000, 65536)                       = 0
  4231. 6015:   memcntl(0xFEF80000, 9512, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  4232. 6015:   close(3)                                        = 0
  4233. 6015:   xstat(2, "/usr/lib/gss/libdoor.so.1", 0x08046C38) Err#2 ENOENT
  4234. 6015:   xstat(2, "/lib/libdoor.so.1", 0x08046C38)       = 0
  4235. 6015:   resolvepath("/lib/libdoor.so.1", "/lib/libdoor.so.1", 1023) = 17
  4236. 6015:   open("/lib/libdoor.so.1", O_RDONLY)             = 3
  4237. 6015:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  4238. 6015:   mmap(0x00010000, 73728, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF60000
  4239. 6015:   mmap(0xFEF60000, 3595, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF60000
  4240. 6015:   mmap(0xFEF71000, 328, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 4096) = 0xFEF71000
  4241. 6015:   munmap(0xFEF61000, 65536)                       = 0
  4242. 6015:   memcntl(0xFEF60000, 2048, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  4243. 6015:   close(3)                                        = 0
  4244. 6015:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  4245. 6015:   xstat(2, "/lib/libc.so.1", 0x08046C38)          = 0
  4246. 6015:   resolvepath("/lib/libc.so.1", "/lib/libc.so.1", 1023) = 14
  4247. 6015:   open("/lib/libc.so.1", O_RDONLY)                = 3
  4248. 6015:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  4249. 6015:   mmap(0x00010000, 880640, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE80000
  4250. 6015:   mmap(0xFEE80000, 775581, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE80000
  4251. 6015:   mmap(0xFEF4E000, 27239, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 778240) = 0xFEF4E000
  4252. 6015:   mmap(0xFEF55000, 5392, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFEF55000
  4253. 6015:   munmap(0xFEF3E000, 65536)                       = 0
  4254. 6015:   memcntl(0xFEE80000, 123472, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  4255. 6015:   close(3)                                        = 0
  4256. 6015:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  4257. 6015:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  4258. 6015:   mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF40000
  4259. 6015:   munmap(0xFEFB0000, 32768)                       = 0
  4260. 6015:   getcontext(0x080471C0)
  4261. 6015:   getrlimit(RLIMIT_STACK, 0x080471B8)             = 0
  4262. 6015:   getpid()                                        = 6015 [5509]
  4263. 6015:   lwp_private(0, 1, 0xFEF42A00)                   = 0x000001C3
  4264. 6015:   setustack(0xFEF42A60)
  4265. 6015:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFC0000
  4266. 6015:   sysi86(SI86FPSTART, 0xFEF55BC0, 0x0000133F, 0x00001F80) = 0x00000001
  4267. 6015:   brk(0x08068FD0)                                 = 0
  4268. 6015:   brk(0x0806AFD0)                                 = 0
  4269. 6015:   xstat(2, "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 0x08046630) = 0
  4270. 6015:   resolvepath("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 1023) = 44
  4271. 6015:   open("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", O_RDONLY) = 3
  4272. 6015:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  4273. 6015:   mmap(0x00010000, 2297856, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEC00000
  4274. 6015:   mmap(0xFEC00000, 2225278, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEC00000
  4275. 6015:   mmap(0xFEE2F000, 4234, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 2224128) = 0xFEE2F000
  4276. 6015:   munmap(0xFEE20000, 61440)                       = 0
  4277. 6015:   memcntl(0xFEC00000, 7188, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  4278. 6015:   close(3)                                        = 0
  4279. 6015:   xstat(2, "/usr/lib/gss/methods_en_US.UTF-8.so.3", 0x08046588) Err#2 ENOENT
  4280. 6015:   xstat(2, "/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", 0x08046588) = 0
  4281. 6015:   resolvepath("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", "/usr/lib/locale/common/methods_unicode.so.3", 1023) = 43
  4282. 6015:   open("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", O_RDONLY) = 3
  4283. 6015:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  4284. 6015:   mmap(0x00010000, 122880, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE60000
  4285. 6015:   mmap(0xFEE60000, 55437, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE60000
  4286. 6015:   mmap(0xFEE7D000, 2524, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 53248) = 0xFEE7D000
  4287. 6015:   munmap(0xFEE6E000, 61440)                       = 0
  4288. 6015:   memcntl(0xFEE60000, 2532, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  4289. 6015:   close(3)                                        = 0
  4290. 6015:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046588)  Err#2 ENOENT
  4291. 6015:   xstat(2, "/usr/lib/locale/en_US.UTF-8/libc.so.1", 0x08046588) Err#2 ENOENT
  4292. 6015:   munmap(0xFEFB0000, 32768)                       = 0
  4293. 6015:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  4294. 6015:   xstat(2, "/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/magic", 0x08047550) Err#2 ENOENT
  4295. 6015:   brk(0x0806AFD0)                                 = 0
  4296. 6015:   brk(0x0806CFD0)                                 = 0
  4297. 6015:   open("/etc/magic", O_RDONLY)                    = 3
  4298. 6015:   fstat64(3, 0x08047450)                          = 0
  4299. 6015:   brk(0x0806CFD0)                                 = 0
  4300. 6015:   brk(0x0806EFD0)                                 = 0
  4301. 6015:   fstat64(3, 0x08047390)                          = 0
  4302. 6015:   ioctl(3, TCGETA, 0x08047424)                    Err#25 ENOTTY
  4303. 6015:   read(3, " #\n #   C o p y r i g h".., 8192)     = 8192
  4304. 6015:   brk(0x0806EFD0)                                 = 0
  4305. 6015:   brk(0x08070FD0)                                 = 0
  4306. 6015:   read(3, " e & 0 x 8 0\t > 0\t\t b".., 8192)     = 8192
  4307. 6015:   brk(0x08070FD0)                                 = 0
  4308. 6015:   brk(0x08072FD0)                                 = 0
  4309. 6015:   read(3, " n g\t\t - 2 . 0\t\t   2".., 8192)     = 1135
  4310. 6015:   brk(0x08072FD0)                                 = 0
  4311. 6015:   brk(0x08072FD0)                                 = 0
  4312. 6015:   brk(0x08074FD0)                                 = 0
  4313. 6015:   read(3, 0x0806BA4C, 8192)                       = 0
  4314. 6015:   llseek(3, 0, SEEK_CUR)                          = 17519
  4315. 6015:   close(3)                                        = 0
  4316. 6015:   ioctl(1, TCGETA, 0x08046934)                    Err#22 EINVAL
  4317. 6015:   fstat64(1, 0x08046960)                          = 0
  4318. 6015:   fstat64(1, 0x080468A0)                          = 0
  4319. 6015:   stat64("/tmp", 0x08068800)                      = 0
  4320. 6015:   open("/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/SUNW_OST_OSCMD.mo", O_RDONLY) Err#2 ENOENT
  4321. 6015:   write(1, " / t m p :\t\t d i r e c".., 17)      = 17
  4322. 5509:   read(10, " / t m p :\t\t d i r e c".., 1024)    = 17
  4323. 6015:   close(1)                                        = 0
  4324. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  4325. 6015:   _exit(0)
  4326. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  4327. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  4328. 5509:   read(10, 0x08046984, 1024)                      = 0
  4329. 5509:   ioctl(10, TCGETA, 0x08046458)                   Err#22 EINVAL
  4330. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  4331. 5509:   waitid(P_ALL, 0, 0x08046810, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED) = 0
  4332. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  4333. 5509:   close(10)                                       = 0
  4334. 5508:   read(0, " 0", 1)                                = 1
  4335. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  4336. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  4337. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  4338. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 1
  4339. 5508:   read(0, " 1 2 3 4 5 6 7 8 9 A B C".., 63)       = 63
  4340. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  4341. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  4342. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  4343. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 0
  4344. 5508:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  4345. 5509:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  4346. 5509:   pipe()                                          = 3 [4]
  4347. 5509:   fcntl(3, F_DUPFD, 0x0000000A)                   = 10
  4348. 5509:   close(3)                                        = 0
  4349. 5509:   fcntl(4, F_DUPFD, 0x0000000A)                   = 11
  4350. 5509:   close(4)                                        = 0
  4351. 5509:   fork1()                                         = 6017
  4352. 5509:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  4353. 6017:   fork1()         (returning as child ...)        = 5509
  4354. 5509:   close(11)                                       = 0
  4355. 6017:   getpid()                                        = 6017 [5509]
  4356. 5509:   fcntl(10, F_GETFL)                              = 2
  4357. 5509:   llseek(10, 0, SEEK_CUR)                         Err#29 ESPIPE
  4358. 6017:   lwp_self()                                      = 1
  4359. 5509:   ioctl(10, TCGETS, 0x08089868)                   Err#22 EINVAL
  4360. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  4361. 6017:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  4362. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  4363. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  4364. 6017:   getpid()                                        = 6017 [5509]
  4365. 6017:   close(1)                                        = 0
  4366. 6017:   fcntl(11, F_DUPFD, 0x00000001)                  = 1
  4367. 6017:   close(11)                                       = 0
  4368. 6017:   close(10)                                       = 0
  4369. 6017:   close(11)                                       Err#9 EBADF
  4370. 6017:   schedctl()                                      = 0xFEFF9000
  4371. 6017:   lwp_sigmask(SIG_SETMASK, 0x00020000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  4372. 6017:   stat64("/usr/bin/file", 0x08046600)             = 0
  4373. 6017:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  4374. 6017:   getpid()                                        = 6017 [5509]
  4375. 6017:   execve("/usr/bin/file", 0x0808F4DC, 0x0808F530)  argc = 2
  4376. 6017:   resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12
  4377. 6017:   resolvepath("/usr/bin/file", "/usr/bin/file", 1023) = 13
  4378. 6017:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  4379. 6017:   xstat(2, "/usr/bin/file", 0x08047408)           = 0
  4380. 6017:   open("/var/ld/ld.config", O_RDONLY)             Err#2 ENOENT
  4381. 6017:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFF0000
  4382. 6017:   xstat(2, "/usr/lib/gss/libelf.so.1", 0x08046C38) Err#2 ENOENT
  4383. 6017:   xstat(2, "/lib/libelf.so.1", 0x08046C38)        = 0
  4384. 6017:   resolvepath("/lib/libelf.so.1", "/lib/libelf.so.1", 1023) = 16
  4385. 6017:   open("/lib/libelf.so.1", O_RDONLY)              = 3
  4386. 6017:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  4387. 6017:   mmap(0x00010000, 176128, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF80000
  4388. 6017:   mmap(0xFEF80000, 103385, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF80000
  4389. 6017:   mmap(0xFEFAA000, 2688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 106496) = 0xFEFAA000
  4390. 6017:   munmap(0xFEF9A000, 65536)                       = 0
  4391. 6017:   memcntl(0xFEF80000, 9512, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  4392. 6017:   close(3)                                        = 0
  4393. 6017:   xstat(2, "/usr/lib/gss/libdoor.so.1", 0x08046C38) Err#2 ENOENT
  4394. 6017:   xstat(2, "/lib/libdoor.so.1", 0x08046C38)       = 0
  4395. 6017:   resolvepath("/lib/libdoor.so.1", "/lib/libdoor.so.1", 1023) = 17
  4396. 6017:   open("/lib/libdoor.so.1", O_RDONLY)             = 3
  4397. 6017:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  4398. 6017:   mmap(0x00010000, 73728, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF60000
  4399. 6017:   mmap(0xFEF60000, 3595, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF60000
  4400. 6017:   mmap(0xFEF71000, 328, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 4096) = 0xFEF71000
  4401. 6017:   munmap(0xFEF61000, 65536)                       = 0
  4402. 6017:   memcntl(0xFEF60000, 2048, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  4403. 6017:   close(3)                                        = 0
  4404. 6017:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  4405. 6017:   xstat(2, "/lib/libc.so.1", 0x08046C38)          = 0
  4406. 6017:   resolvepath("/lib/libc.so.1", "/lib/libc.so.1", 1023) = 14
  4407. 6017:   open("/lib/libc.so.1", O_RDONLY)                = 3
  4408. 6017:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  4409. 6017:   mmap(0x00010000, 880640, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE80000
  4410. 6017:   mmap(0xFEE80000, 775581, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE80000
  4411. 6017:   mmap(0xFEF4E000, 27239, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 778240) = 0xFEF4E000
  4412. 6017:   mmap(0xFEF55000, 5392, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFEF55000
  4413. 6017:   munmap(0xFEF3E000, 65536)                       = 0
  4414. 6017:   memcntl(0xFEE80000, 123472, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  4415. 6017:   close(3)                                        = 0
  4416. 6017:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  4417. 6017:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  4418. 6017:   mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF40000
  4419. 6017:   munmap(0xFEFB0000, 32768)                       = 0
  4420. 6017:   getcontext(0x080471C0)
  4421. 6017:   getrlimit(RLIMIT_STACK, 0x080471B8)             = 0
  4422. 6017:   getpid()                                        = 6017 [5509]
  4423. 6017:   lwp_private(0, 1, 0xFEF42A00)                   = 0x000001C3
  4424. 6017:   setustack(0xFEF42A60)
  4425. 6017:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFC0000
  4426. 6017:   sysi86(SI86FPSTART, 0xFEF55BC0, 0x0000133F, 0x00001F80) = 0x00000001
  4427. 6017:   brk(0x08068FD0)                                 = 0
  4428. 6017:   brk(0x0806AFD0)                                 = 0
  4429. 6017:   xstat(2, "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 0x08046630) = 0
  4430. 6017:   resolvepath("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 1023) = 44
  4431. 6017:   open("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", O_RDONLY) = 3
  4432. 6017:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  4433. 6017:   mmap(0x00010000, 2297856, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEC00000
  4434. 6017:   mmap(0xFEC00000, 2225278, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEC00000
  4435. 6017:   mmap(0xFEE2F000, 4234, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 2224128) = 0xFEE2F000
  4436. 6017:   munmap(0xFEE20000, 61440)                       = 0
  4437. 6017:   memcntl(0xFEC00000, 7188, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  4438. 6017:   close(3)                                        = 0
  4439. 6017:   xstat(2, "/usr/lib/gss/methods_en_US.UTF-8.so.3", 0x08046588) Err#2 ENOENT
  4440. 6017:   xstat(2, "/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", 0x08046588) = 0
  4441. 6017:   resolvepath("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", "/usr/lib/locale/common/methods_unicode.so.3", 1023) = 43
  4442. 6017:   open("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", O_RDONLY) = 3
  4443. 6017:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  4444. 6017:   mmap(0x00010000, 122880, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE60000
  4445. 6017:   mmap(0xFEE60000, 55437, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE60000
  4446. 6017:   mmap(0xFEE7D000, 2524, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 53248) = 0xFEE7D000
  4447. 6017:   munmap(0xFEE6E000, 61440)                       = 0
  4448. 6017:   memcntl(0xFEE60000, 2532, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  4449. 6017:   close(3)                                        = 0
  4450. 6017:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046588)  Err#2 ENOENT
  4451. 6017:   xstat(2, "/usr/lib/locale/en_US.UTF-8/libc.so.1", 0x08046588) Err#2 ENOENT
  4452. 6017:   munmap(0xFEFB0000, 32768)                       = 0
  4453. 6017:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  4454. 6017:   xstat(2, "/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/magic", 0x08047550) Err#2 ENOENT
  4455. 6017:   brk(0x0806AFD0)                                 = 0
  4456. 6017:   brk(0x0806CFD0)                                 = 0
  4457. 6017:   open("/etc/magic", O_RDONLY)                    = 3
  4458. 6017:   fstat64(3, 0x08047450)                          = 0
  4459. 6017:   brk(0x0806CFD0)                                 = 0
  4460. 6017:   brk(0x0806EFD0)                                 = 0
  4461. 6017:   fstat64(3, 0x08047390)                          = 0
  4462. 6017:   ioctl(3, TCGETA, 0x08047424)                    Err#25 ENOTTY
  4463. 6017:   read(3, " #\n #   C o p y r i g h".., 8192)     = 8192
  4464. 6017:   brk(0x0806EFD0)                                 = 0
  4465. 6017:   brk(0x08070FD0)                                 = 0
  4466. 6017:   read(3, " e & 0 x 8 0\t > 0\t\t b".., 8192)     = 8192
  4467. 6017:   brk(0x08070FD0)                                 = 0
  4468. 6017:   brk(0x08072FD0)                                 = 0
  4469. 6017:   read(3, " n g\t\t - 2 . 0\t\t   2".., 8192)     = 1135
  4470. 6017:   brk(0x08072FD0)                                 = 0
  4471. 6017:   brk(0x08072FD0)                                 = 0
  4472. 6017:   brk(0x08074FD0)                                 = 0
  4473. 6017:   read(3, 0x0806BA4C, 8192)                       = 0
  4474. 6017:   llseek(3, 0, SEEK_CUR)                          = 17519
  4475. 6017:   close(3)                                        = 0
  4476. 6017:   ioctl(1, TCGETA, 0x08046934)                    Err#22 EINVAL
  4477. 6017:   fstat64(1, 0x08046960)                          = 0
  4478. 6017:   fstat64(1, 0x080468A0)                          = 0
  4479. 6017:   stat64("/tmp", 0x08068800)                      = 0
  4480. 6017:   open("/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/SUNW_OST_OSCMD.mo", O_RDONLY) Err#2 ENOENT
  4481. 6017:   write(1, " / t m p :\t\t d i r e c".., 17)      = 17
  4482. 5509:   read(10, " / t m p :\t\t d i r e c".., 1024)    = 17
  4483. 6017:   close(1)                                        = 0
  4484. 6017:   _exit(0)
  4485. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  4486. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  4487. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  4488. 5509:   read(10, 0x08046984, 1024)                      = 0
  4489. 5509:   ioctl(10, TCGETA, 0x08046458)                   Err#22 EINVAL
  4490. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  4491. 5509:   waitid(P_ALL, 0, 0x08046810, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED) = 0
  4492. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  4493. 5509:   close(10)                                       = 0
  4494. 5508:   read(0, " 0", 1)                                = 1
  4495. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  4496. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  4497. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  4498. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 1
  4499. 5508:   read(0, " 1 2 3 4 5 6 7 8 9 A B C".., 63)       = 63
  4500. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  4501. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  4502. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  4503. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 0
  4504. 5508:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  4505. 5509:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  4506. 5509:   pipe()                                          = 3 [4]
  4507. 5509:   fcntl(3, F_DUPFD, 0x0000000A)                   = 10
  4508. 5509:   close(3)                                        = 0
  4509. 5509:   fcntl(4, F_DUPFD, 0x0000000A)                   = 11
  4510. 5509:   close(4)                                        = 0
  4511. 5509:   fork1()                                         = 6019
  4512. 6019:   fork1()         (returning as child ...)        = 5509
  4513. 6019:   getpid()                                        = 6019 [5509]
  4514. 6019:   lwp_self()                                      = 1
  4515. 6019:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  4516. 6019:   getpid()                                        = 6019 [5509]
  4517. 5509:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  4518. 6019:   close(1)                                        = 0
  4519. 5509:   close(11)                                       = 0
  4520. 6019:   fcntl(11, F_DUPFD, 0x00000001)                  = 1
  4521. 5509:   fcntl(10, F_GETFL)                              = 2
  4522. 6019:   close(11)                                       = 0
  4523. 5509:   llseek(10, 0, SEEK_CUR)                         Err#29 ESPIPE
  4524. 6019:   close(10)                                       = 0
  4525. 6019:   close(11)                                       Err#9 EBADF
  4526. 5509:   ioctl(10, TCGETS, 0x08089868)                   Err#22 EINVAL
  4527. 6019:   schedctl()                                      = 0xFEFBA000
  4528. 6019:   lwp_sigmask(SIG_SETMASK, 0x00020000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  4529. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  4530. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  4531. 6019:   stat64("/usr/bin/file", 0x08046600)             = 0
  4532. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  4533. 6019:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  4534. 6019:   getpid()                                        = 6019 [5509]
  4535. 6019:   execve("/usr/bin/file", 0x0808F4DC, 0x0808F530)  argc = 2
  4536. 6019:   resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12
  4537. 6019:   resolvepath("/usr/bin/file", "/usr/bin/file", 1023) = 13
  4538. 6019:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  4539. 6019:   xstat(2, "/usr/bin/file", 0x08047408)           = 0
  4540. 6019:   open("/var/ld/ld.config", O_RDONLY)             Err#2 ENOENT
  4541. 6019:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFF0000
  4542. 6019:   xstat(2, "/usr/lib/gss/libelf.so.1", 0x08046C38) Err#2 ENOENT
  4543. 6019:   xstat(2, "/lib/libelf.so.1", 0x08046C38)        = 0
  4544. 6019:   resolvepath("/lib/libelf.so.1", "/lib/libelf.so.1", 1023) = 16
  4545. 6019:   open("/lib/libelf.so.1", O_RDONLY)              = 3
  4546. 6019:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  4547. 6019:   mmap(0x00010000, 176128, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF80000
  4548. 6019:   mmap(0xFEF80000, 103385, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF80000
  4549. 6019:   mmap(0xFEFAA000, 2688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 106496) = 0xFEFAA000
  4550. 6019:   munmap(0xFEF9A000, 65536)                       = 0
  4551. 6019:   memcntl(0xFEF80000, 9512, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  4552. 6019:   close(3)                                        = 0
  4553. 6019:   xstat(2, "/usr/lib/gss/libdoor.so.1", 0x08046C38) Err#2 ENOENT
  4554. 6019:   xstat(2, "/lib/libdoor.so.1", 0x08046C38)       = 0
  4555. 6019:   resolvepath("/lib/libdoor.so.1", "/lib/libdoor.so.1", 1023) = 17
  4556. 6019:   open("/lib/libdoor.so.1", O_RDONLY)             = 3
  4557. 6019:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  4558. 6019:   mmap(0x00010000, 73728, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF60000
  4559. 6019:   mmap(0xFEF60000, 3595, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF60000
  4560. 6019:   mmap(0xFEF71000, 328, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 4096) = 0xFEF71000
  4561. 6019:   munmap(0xFEF61000, 65536)                       = 0
  4562. 6019:   memcntl(0xFEF60000, 2048, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  4563. 6019:   close(3)                                        = 0
  4564. 6019:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  4565. 6019:   xstat(2, "/lib/libc.so.1", 0x08046C38)          = 0
  4566. 6019:   resolvepath("/lib/libc.so.1", "/lib/libc.so.1", 1023) = 14
  4567. 6019:   open("/lib/libc.so.1", O_RDONLY)                = 3
  4568. 6019:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  4569. 6019:   mmap(0x00010000, 880640, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE80000
  4570. 6019:   mmap(0xFEE80000, 775581, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE80000
  4571. 6019:   mmap(0xFEF4E000, 27239, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 778240) = 0xFEF4E000
  4572. 6019:   mmap(0xFEF55000, 5392, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFEF55000
  4573. 6019:   munmap(0xFEF3E000, 65536)                       = 0
  4574. 6019:   memcntl(0xFEE80000, 123472, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  4575. 6019:   close(3)                                        = 0
  4576. 6019:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  4577. 6019:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  4578. 6019:   mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF40000
  4579. 6019:   munmap(0xFEFB0000, 32768)                       = 0
  4580. 6019:   getcontext(0x080471C0)
  4581. 6019:   getrlimit(RLIMIT_STACK, 0x080471B8)             = 0
  4582. 6019:   getpid()                                        = 6019 [5509]
  4583. 6019:   lwp_private(0, 1, 0xFEF42A00)                   = 0x000001C3
  4584. 6019:   setustack(0xFEF42A60)
  4585. 6019:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFC0000
  4586. 6019:   sysi86(SI86FPSTART, 0xFEF55BC0, 0x0000133F, 0x00001F80) = 0x00000001
  4587. 6019:   brk(0x08068FD0)                                 = 0
  4588. 6019:   brk(0x0806AFD0)                                 = 0
  4589. 6019:   xstat(2, "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 0x08046630) = 0
  4590. 6019:   resolvepath("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 1023) = 44
  4591. 6019:   open("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", O_RDONLY) = 3
  4592. 6019:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  4593. 6019:   mmap(0x00010000, 2297856, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEC00000
  4594. 6019:   mmap(0xFEC00000, 2225278, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEC00000
  4595. 6019:   mmap(0xFEE2F000, 4234, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 2224128) = 0xFEE2F000
  4596. 6019:   munmap(0xFEE20000, 61440)                       = 0
  4597. 6019:   memcntl(0xFEC00000, 7188, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  4598. 6019:   close(3)                                        = 0
  4599. 6019:   xstat(2, "/usr/lib/gss/methods_en_US.UTF-8.so.3", 0x08046588) Err#2 ENOENT
  4600. 6019:   xstat(2, "/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", 0x08046588) = 0
  4601. 6019:   resolvepath("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", "/usr/lib/locale/common/methods_unicode.so.3", 1023) = 43
  4602. 6019:   open("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", O_RDONLY) = 3
  4603. 6019:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  4604. 6019:   mmap(0x00010000, 122880, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE60000
  4605. 6019:   mmap(0xFEE60000, 55437, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE60000
  4606. 6019:   mmap(0xFEE7D000, 2524, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 53248) = 0xFEE7D000
  4607. 6019:   munmap(0xFEE6E000, 61440)                       = 0
  4608. 6019:   memcntl(0xFEE60000, 2532, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  4609. 6019:   close(3)                                        = 0
  4610. 6019:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046588)  Err#2 ENOENT
  4611. 6019:   xstat(2, "/usr/lib/locale/en_US.UTF-8/libc.so.1", 0x08046588) Err#2 ENOENT
  4612. 6019:   munmap(0xFEFB0000, 32768)                       = 0
  4613. 6019:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  4614. 6019:   xstat(2, "/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/magic", 0x08047550) Err#2 ENOENT
  4615. 6019:   brk(0x0806AFD0)                                 = 0
  4616. 6019:   brk(0x0806CFD0)                                 = 0
  4617. 6019:   open("/etc/magic", O_RDONLY)                    = 3
  4618. 6019:   fstat64(3, 0x08047450)                          = 0
  4619. 6019:   brk(0x0806CFD0)                                 = 0
  4620. 6019:   brk(0x0806EFD0)                                 = 0
  4621. 6019:   fstat64(3, 0x08047390)                          = 0
  4622. 6019:   ioctl(3, TCGETA, 0x08047424)                    Err#25 ENOTTY
  4623. 6019:   read(3, " #\n #   C o p y r i g h".., 8192)     = 8192
  4624. 6019:   brk(0x0806EFD0)                                 = 0
  4625. 6019:   brk(0x08070FD0)                                 = 0
  4626. 6019:   read(3, " e & 0 x 8 0\t > 0\t\t b".., 8192)     = 8192
  4627. 6019:   brk(0x08070FD0)                                 = 0
  4628. 6019:   brk(0x08072FD0)                                 = 0
  4629. 6019:   read(3, " n g\t\t - 2 . 0\t\t   2".., 8192)     = 1135
  4630. 6019:   brk(0x08072FD0)                                 = 0
  4631. 6019:   brk(0x08072FD0)                                 = 0
  4632. 6019:   brk(0x08074FD0)                                 = 0
  4633. 6019:   read(3, 0x0806BA4C, 8192)                       = 0
  4634. 6019:   llseek(3, 0, SEEK_CUR)                          = 17519
  4635. 6019:   close(3)                                        = 0
  4636. 6019:   ioctl(1, TCGETA, 0x08046934)                    Err#22 EINVAL
  4637. 6019:   fstat64(1, 0x08046960)                          = 0
  4638. 6019:   fstat64(1, 0x080468A0)                          = 0
  4639. 6019:   stat64("/tmp", 0x08068800)                      = 0
  4640. 6019:   open("/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/SUNW_OST_OSCMD.mo", O_RDONLY) Err#2 ENOENT
  4641. 5509:   read(10, " / t m p :\t\t d i r e c".., 1024)    = 17
  4642. 6019:   write(1, " / t m p :\t\t d i r e c".., 17)      = 17
  4643. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  4644. 6019:   close(1)                                        = 0
  4645. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  4646. 6019:   _exit(0)
  4647. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  4648. 5509:   read(10, 0x08046984, 1024)                      = 0
  4649. 5509:   ioctl(10, TCGETA, 0x08046458)                   Err#22 EINVAL
  4650. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  4651. 5509:   waitid(P_ALL, 0, 0x08046810, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED) = 0
  4652. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  4653. 5509:   close(10)                                       = 0
  4654. 5509:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  4655. 5508:   read(0, " 0", 1)                                = 1
  4656. 5509:   pipe()                                          = 3 [4]
  4657. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  4658. 5509:   fcntl(3, F_DUPFD, 0x0000000A)                   = 10
  4659. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  4660. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  4661. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 1
  4662. 5509:   close(3)                                        = 0
  4663. 5508:   read(0, " 1 2 3 4 5 6 7 8 9 A B C".., 63)       = 63
  4664. 5509:   fcntl(4, F_DUPFD, 0x0000000A)                   = 11
  4665. 5509:   close(4)                                        = 0
  4666. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  4667. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  4668. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  4669. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 0
  4670. 5509:   fork1()                                         = 6021
  4671. 5508:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  4672. 6021:   fork1()         (returning as child ...)        = 5509
  4673. 6021:   getpid()                                        = 6021 [5509]
  4674. 5509:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  4675. 6021:   lwp_self()                                      = 1
  4676. 5509:   close(11)                                       = 0
  4677. 6021:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  4678. 5509:   fcntl(10, F_GETFL)                              = 2
  4679. 5509:   llseek(10, 0, SEEK_CUR)                         Err#29 ESPIPE
  4680. 5509:   ioctl(10, TCGETS, 0x08089868)                   Err#22 EINVAL
  4681. 6021:   getpid()                                        = 6021 [5509]
  4682. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  4683. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  4684. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  4685. 6021:   close(1)                                        = 0
  4686. 6021:   fcntl(11, F_DUPFD, 0x00000001)                  = 1
  4687. 6021:   close(11)                                       = 0
  4688. 6021:   close(10)                                       = 0
  4689. 6021:   close(11)                                       Err#9 EBADF
  4690. 6021:   schedctl()                                      = 0xFEFED000
  4691. 6021:   lwp_sigmask(SIG_SETMASK, 0x00020000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  4692. 6021:   stat64("/usr/bin/file", 0x08046600)             = 0
  4693. 6021:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  4694. 6021:   getpid()                                        = 6021 [5509]
  4695. 6021:   execve("/usr/bin/file", 0x0808F4DC, 0x0808F530)  argc = 2
  4696. 6021:   resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12
  4697. 6021:   resolvepath("/usr/bin/file", "/usr/bin/file", 1023) = 13
  4698. 6021:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  4699. 6021:   xstat(2, "/usr/bin/file", 0x08047408)           = 0
  4700. 6021:   open("/var/ld/ld.config", O_RDONLY)             Err#2 ENOENT
  4701. 6021:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFF0000
  4702. 6021:   xstat(2, "/usr/lib/gss/libelf.so.1", 0x08046C38) Err#2 ENOENT
  4703. 6021:   xstat(2, "/lib/libelf.so.1", 0x08046C38)        = 0
  4704. 6021:   resolvepath("/lib/libelf.so.1", "/lib/libelf.so.1", 1023) = 16
  4705. 6021:   open("/lib/libelf.so.1", O_RDONLY)              = 3
  4706. 6021:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  4707. 6021:   mmap(0x00010000, 176128, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF80000
  4708. 6021:   mmap(0xFEF80000, 103385, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF80000
  4709. 6021:   mmap(0xFEFAA000, 2688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 106496) = 0xFEFAA000
  4710. 6021:   munmap(0xFEF9A000, 65536)                       = 0
  4711. 6021:   memcntl(0xFEF80000, 9512, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  4712. 6021:   close(3)                                        = 0
  4713. 6021:   xstat(2, "/usr/lib/gss/libdoor.so.1", 0x08046C38) Err#2 ENOENT
  4714. 6021:   xstat(2, "/lib/libdoor.so.1", 0x08046C38)       = 0
  4715. 6021:   resolvepath("/lib/libdoor.so.1", "/lib/libdoor.so.1", 1023) = 17
  4716. 6021:   open("/lib/libdoor.so.1", O_RDONLY)             = 3
  4717. 6021:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  4718. 6021:   mmap(0x00010000, 73728, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF60000
  4719. 6021:   mmap(0xFEF60000, 3595, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF60000
  4720. 6021:   mmap(0xFEF71000, 328, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 4096) = 0xFEF71000
  4721. 6021:   munmap(0xFEF61000, 65536)                       = 0
  4722. 6021:   memcntl(0xFEF60000, 2048, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  4723. 6021:   close(3)                                        = 0
  4724. 6021:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  4725. 6021:   xstat(2, "/lib/libc.so.1", 0x08046C38)          = 0
  4726. 6021:   resolvepath("/lib/libc.so.1", "/lib/libc.so.1", 1023) = 14
  4727. 6021:   open("/lib/libc.so.1", O_RDONLY)                = 3
  4728. 6021:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  4729. 6021:   mmap(0x00010000, 880640, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE80000
  4730. 6021:   mmap(0xFEE80000, 775581, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE80000
  4731. 6021:   mmap(0xFEF4E000, 27239, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 778240) = 0xFEF4E000
  4732. 6021:   mmap(0xFEF55000, 5392, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFEF55000
  4733. 6021:   munmap(0xFEF3E000, 65536)                       = 0
  4734. 6021:   memcntl(0xFEE80000, 123472, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  4735. 6021:   close(3)                                        = 0
  4736. 6021:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  4737. 6021:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  4738. 6021:   mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF40000
  4739. 6021:   munmap(0xFEFB0000, 32768)                       = 0
  4740. 6021:   getcontext(0x080471C0)
  4741. 6021:   getrlimit(RLIMIT_STACK, 0x080471B8)             = 0
  4742. 6021:   getpid()                                        = 6021 [5509]
  4743. 6021:   lwp_private(0, 1, 0xFEF42A00)                   = 0x000001C3
  4744. 6021:   setustack(0xFEF42A60)
  4745. 6021:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFC0000
  4746. 6021:   sysi86(SI86FPSTART, 0xFEF55BC0, 0x0000133F, 0x00001F80) = 0x00000001
  4747. 6021:   brk(0x08068FD0)                                 = 0
  4748. 6021:   brk(0x0806AFD0)                                 = 0
  4749. 6021:   xstat(2, "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 0x08046630) = 0
  4750. 6021:   resolvepath("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 1023) = 44
  4751. 6021:   open("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", O_RDONLY) = 3
  4752. 6021:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  4753. 6021:   mmap(0x00010000, 2297856, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEC00000
  4754. 6021:   mmap(0xFEC00000, 2225278, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEC00000
  4755. 6021:   mmap(0xFEE2F000, 4234, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 2224128) = 0xFEE2F000
  4756. 6021:   munmap(0xFEE20000, 61440)                       = 0
  4757. 6021:   memcntl(0xFEC00000, 7188, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  4758. 6021:   close(3)                                        = 0
  4759. 6021:   xstat(2, "/usr/lib/gss/methods_en_US.UTF-8.so.3", 0x08046588) Err#2 ENOENT
  4760. 6021:   xstat(2, "/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", 0x08046588) = 0
  4761. 6021:   resolvepath("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", "/usr/lib/locale/common/methods_unicode.so.3", 1023) = 43
  4762. 6021:   open("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", O_RDONLY) = 3
  4763. 6021:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  4764. 6021:   mmap(0x00010000, 122880, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE60000
  4765. 6021:   mmap(0xFEE60000, 55437, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE60000
  4766. 6021:   mmap(0xFEE7D000, 2524, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 53248) = 0xFEE7D000
  4767. 6021:   munmap(0xFEE6E000, 61440)                       = 0
  4768. 6021:   memcntl(0xFEE60000, 2532, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  4769. 6021:   close(3)                                        = 0
  4770. 6021:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046588)  Err#2 ENOENT
  4771. 6021:   xstat(2, "/usr/lib/locale/en_US.UTF-8/libc.so.1", 0x08046588) Err#2 ENOENT
  4772. 6021:   munmap(0xFEFB0000, 32768)                       = 0
  4773. 6021:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  4774. 6021:   xstat(2, "/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/magic", 0x08047550) Err#2 ENOENT
  4775. 6021:   brk(0x0806AFD0)                                 = 0
  4776. 6021:   brk(0x0806CFD0)                                 = 0
  4777. 6021:   open("/etc/magic", O_RDONLY)                    = 3
  4778. 6021:   fstat64(3, 0x08047450)                          = 0
  4779. 6021:   brk(0x0806CFD0)                                 = 0
  4780. 6021:   brk(0x0806EFD0)                                 = 0
  4781. 6021:   fstat64(3, 0x08047390)                          = 0
  4782. 6021:   ioctl(3, TCGETA, 0x08047424)                    Err#25 ENOTTY
  4783. 6021:   read(3, " #\n #   C o p y r i g h".., 8192)     = 8192
  4784. 6021:   brk(0x0806EFD0)                                 = 0
  4785. 6021:   brk(0x08070FD0)                                 = 0
  4786. 6021:   read(3, " e & 0 x 8 0\t > 0\t\t b".., 8192)     = 8192
  4787. 6021:   brk(0x08070FD0)                                 = 0
  4788. 6021:   brk(0x08072FD0)                                 = 0
  4789. 6021:   read(3, " n g\t\t - 2 . 0\t\t   2".., 8192)     = 1135
  4790. 6021:   brk(0x08072FD0)                                 = 0
  4791. 6021:   brk(0x08072FD0)                                 = 0
  4792. 6021:   brk(0x08074FD0)                                 = 0
  4793. 6021:   read(3, 0x0806BA4C, 8192)                       = 0
  4794. 6021:   llseek(3, 0, SEEK_CUR)                          = 17519
  4795. 6021:   close(3)                                        = 0
  4796. 6021:   ioctl(1, TCGETA, 0x08046934)                    Err#22 EINVAL
  4797. 6021:   fstat64(1, 0x08046960)                          = 0
  4798. 6021:   fstat64(1, 0x080468A0)                          = 0
  4799. 6021:   stat64("/tmp", 0x08068800)                      = 0
  4800. 6021:   open("/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/SUNW_OST_OSCMD.mo", O_RDONLY) Err#2 ENOENT
  4801. 6021:   write(1, " / t m p :\t\t d i r e c".., 17)      = 17
  4802. 5509:   read(10, " / t m p :\t\t d i r e c".., 1024)    = 17
  4803. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  4804. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  4805. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  4806. 5509:   read(10, 0x08046984, 1024)                      = 0
  4807. 6021:   close(1)                                        = 0
  4808. 5509:   ioctl(10, TCGETA, 0x08046458)                   Err#22 EINVAL
  4809. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  4810. 6021:   _exit(0)
  4811. 5509:   waitid(P_ALL, 0, 0x08046810, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED) = 0
  4812. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  4813. 5509:   close(10)                                       = 0
  4814. 5508:   read(0, " 0", 1)                                = 1
  4815. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  4816. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  4817. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  4818. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 1
  4819. 5508:   read(0, " 1 2 3 4 5 6 7 8 9 A B C".., 63)       = 63
  4820. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  4821. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  4822. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  4823. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 0
  4824. 5508:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  4825. 5509:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  4826. 5509:   pipe()                                          = 3 [4]
  4827. 5509:   fcntl(3, F_DUPFD, 0x0000000A)                   = 10
  4828. 5509:   close(3)                                        = 0
  4829. 5509:   fcntl(4, F_DUPFD, 0x0000000A)                   = 11
  4830. 5509:   close(4)                                        = 0
  4831. 5509:   fork1()                                         = 6023
  4832. 5509:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  4833. 5509:   close(11)                                       = 0
  4834. 5509:   fcntl(10, F_GETFL)                              = 2
  4835. 5509:   llseek(10, 0, SEEK_CUR)                         Err#29 ESPIPE
  4836. 6023:   fork1()         (returning as child ...)        = 5509
  4837. 6023:   getpid()                                        = 6023 [5509]
  4838. 6023:   lwp_self()                                      = 1
  4839. 6023:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  4840. 6023:   getpid()                                        = 6023 [5509]
  4841. 6023:   close(1)                                        = 0
  4842. 5509:   ioctl(10, TCGETS, 0x08089868)                   Err#22 EINVAL
  4843. 6023:   fcntl(11, F_DUPFD, 0x00000001)                  = 1
  4844. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  4845. 6023:   close(11)                                       = 0
  4846. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  4847. 6023:   close(10)                                       = 0
  4848. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  4849. 6023:   close(11)                                       Err#9 EBADF
  4850. 6023:   schedctl()                                      = 0xFEFED000
  4851. 6023:   lwp_sigmask(SIG_SETMASK, 0x00020000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  4852. 6023:   stat64("/usr/bin/file", 0x08046600)             = 0
  4853. 6023:   lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  4854. 6023:   getpid()                                        = 6023 [5509]
  4855. 6023:   execve("/usr/bin/file", 0x0808F4DC, 0x0808F530)  argc = 2
  4856. 6023:   resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12
  4857. 6023:   resolvepath("/usr/bin/file", "/usr/bin/file", 1023) = 13
  4858. 6023:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  4859. 6023:   xstat(2, "/usr/bin/file", 0x08047408)           = 0
  4860. 6023:   open("/var/ld/ld.config", O_RDONLY)             Err#2 ENOENT
  4861. 6023:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFF0000
  4862. 6023:   xstat(2, "/usr/lib/gss/libelf.so.1", 0x08046C38) Err#2 ENOENT
  4863. 6023:   xstat(2, "/lib/libelf.so.1", 0x08046C38)        = 0
  4864. 6023:   resolvepath("/lib/libelf.so.1", "/lib/libelf.so.1", 1023) = 16
  4865. 6023:   open("/lib/libelf.so.1", O_RDONLY)              = 3
  4866. 6023:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  4867. 6023:   mmap(0x00010000, 176128, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF80000
  4868. 6023:   mmap(0xFEF80000, 103385, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF80000
  4869. 6023:   mmap(0xFEFAA000, 2688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 106496) = 0xFEFAA000
  4870. 6023:   munmap(0xFEF9A000, 65536)                       = 0
  4871. 6023:   memcntl(0xFEF80000, 9512, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  4872. 6023:   close(3)                                        = 0
  4873. 6023:   xstat(2, "/usr/lib/gss/libdoor.so.1", 0x08046C38) Err#2 ENOENT
  4874. 6023:   xstat(2, "/lib/libdoor.so.1", 0x08046C38)       = 0
  4875. 6023:   resolvepath("/lib/libdoor.so.1", "/lib/libdoor.so.1", 1023) = 17
  4876. 6023:   open("/lib/libdoor.so.1", O_RDONLY)             = 3
  4877. 6023:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  4878. 6023:   mmap(0x00010000, 73728, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF60000
  4879. 6023:   mmap(0xFEF60000, 3595, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEF60000
  4880. 6023:   mmap(0xFEF71000, 328, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 4096) = 0xFEF71000
  4881. 6023:   munmap(0xFEF61000, 65536)                       = 0
  4882. 6023:   memcntl(0xFEF60000, 2048, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  4883. 6023:   close(3)                                        = 0
  4884. 6023:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  4885. 6023:   xstat(2, "/lib/libc.so.1", 0x08046C38)          = 0
  4886. 6023:   resolvepath("/lib/libc.so.1", "/lib/libc.so.1", 1023) = 14
  4887. 6023:   open("/lib/libc.so.1", O_RDONLY)                = 3
  4888. 6023:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  4889. 6023:   mmap(0x00010000, 880640, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE80000
  4890. 6023:   mmap(0xFEE80000, 775581, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE80000
  4891. 6023:   mmap(0xFEF4E000, 27239, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 778240) = 0xFEF4E000
  4892. 6023:   mmap(0xFEF55000, 5392, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFEF55000
  4893. 6023:   munmap(0xFEF3E000, 65536)                       = 0
  4894. 6023:   memcntl(0xFEE80000, 123472, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  4895. 6023:   close(3)                                        = 0
  4896. 6023:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  4897. 6023:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046C38)  Err#2 ENOENT
  4898. 6023:   mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEF40000
  4899. 6023:   munmap(0xFEFB0000, 32768)                       = 0
  4900. 6023:   getcontext(0x080471C0)
  4901. 6023:   getrlimit(RLIMIT_STACK, 0x080471B8)             = 0
  4902. 6023:   getpid()                                        = 6023 [5509]
  4903. 6023:   lwp_private(0, 1, 0xFEF42A00)                   = 0x000001C3
  4904. 6023:   setustack(0xFEF42A60)
  4905. 6023:   mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFC0000
  4906. 6023:   sysi86(SI86FPSTART, 0xFEF55BC0, 0x0000133F, 0x00001F80) = 0x00000001
  4907. 6023:   brk(0x08068FD0)                                 = 0
  4908. 6023:   brk(0x0806AFD0)                                 = 0
  4909. 6023:   xstat(2, "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 0x08046630) = 0
  4910. 6023:   resolvepath("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", "/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", 1023) = 44
  4911. 6023:   open("/usr/lib/locale/en_US.UTF-8/en_US.UTF-8.so.3", O_RDONLY) = 3
  4912. 6023:   mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFEFB0000
  4913. 6023:   mmap(0x00010000, 2297856, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEC00000
  4914. 6023:   mmap(0xFEC00000, 2225278, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEC00000
  4915. 6023:   mmap(0xFEE2F000, 4234, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 2224128) = 0xFEE2F000
  4916. 6023:   munmap(0xFEE20000, 61440)                       = 0
  4917. 6023:   memcntl(0xFEC00000, 7188, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  4918. 6023:   close(3)                                        = 0
  4919. 6023:   xstat(2, "/usr/lib/gss/methods_en_US.UTF-8.so.3", 0x08046588) Err#2 ENOENT
  4920. 6023:   xstat(2, "/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", 0x08046588) = 0
  4921. 6023:   resolvepath("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", "/usr/lib/locale/common/methods_unicode.so.3", 1023) = 43
  4922. 6023:   open("/usr/lib/locale/en_US.UTF-8/methods_en_US.UTF-8.so.3", O_RDONLY) = 3
  4923. 6023:   mmap(0xFEFB0000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFEFB0000
  4924. 6023:   mmap(0x00010000, 122880, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFEE60000
  4925. 6023:   mmap(0xFEE60000, 55437, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFEE60000
  4926. 6023:   mmap(0xFEE7D000, 2524, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 53248) = 0xFEE7D000
  4927. 6023:   munmap(0xFEE6E000, 61440)                       = 0
  4928. 6023:   memcntl(0xFEE60000, 2532, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
  4929. 6023:   close(3)                                        = 0
  4930. 6023:   xstat(2, "/usr/lib/gss/libc.so.1", 0x08046588)  Err#2 ENOENT
  4931. 6023:   xstat(2, "/usr/lib/locale/en_US.UTF-8/libc.so.1", 0x08046588) Err#2 ENOENT
  4932. 6023:   munmap(0xFEFB0000, 32768)                       = 0
  4933. 6023:   sysconfig(_CONFIG_PAGESIZE)                     = 4096
  4934. 6023:   xstat(2, "/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/magic", 0x08047550) Err#2 ENOENT
  4935. 6023:   brk(0x0806AFD0)                                 = 0
  4936. 6023:   brk(0x0806CFD0)                                 = 0
  4937. 6023:   open("/etc/magic", O_RDONLY)                    = 3
  4938. 6023:   fstat64(3, 0x08047450)                          = 0
  4939. 6023:   brk(0x0806CFD0)                                 = 0
  4940. 6023:   brk(0x0806EFD0)                                 = 0
  4941. 6023:   fstat64(3, 0x08047390)                          = 0
  4942. 6023:   ioctl(3, TCGETA, 0x08047424)                    Err#25 ENOTTY
  4943. 6023:   read(3, " #\n #   C o p y r i g h".., 8192)     = 8192
  4944. 6023:   brk(0x0806EFD0)                                 = 0
  4945. 6023:   brk(0x08070FD0)                                 = 0
  4946. 6023:   read(3, " e & 0 x 8 0\t > 0\t\t b".., 8192)     = 8192
  4947. 6023:   brk(0x08070FD0)                                 = 0
  4948. 6023:   brk(0x08072FD0)                                 = 0
  4949. 6023:   read(3, " n g\t\t - 2 . 0\t\t   2".., 8192)     = 1135
  4950. 6023:   brk(0x08072FD0)                                 = 0
  4951. 6023:   brk(0x08072FD0)                                 = 0
  4952. 6023:   brk(0x08074FD0)                                 = 0
  4953. 6023:   read(3, 0x0806BA4C, 8192)                       = 0
  4954. 6023:   llseek(3, 0, SEEK_CUR)                          = 17519
  4955. 6023:   close(3)                                        = 0
  4956. 6023:   ioctl(1, TCGETA, 0x08046934)                    Err#22 EINVAL
  4957. 6023:   fstat64(1, 0x08046960)                          = 0
  4958. 6023:   fstat64(1, 0x080468A0)                          = 0
  4959. 6023:   stat64("/tmp", 0x08068800)                      = 0
  4960. 6023:   open("/usr/lib/locale/en_US.UTF-8/LC_MESSAGES/SUNW_OST_OSCMD.mo", O_RDONLY) Err#2 ENOENT
  4961. 6023:   write(1, " / t m p :\t\t d i r e c".., 17)      = 17
  4962. 5509:   read(10, " / t m p :\t\t d i r e c".., 1024)    = 17
  4963. 6023:   close(1)                                        = 0
  4964. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  4965. 6023:   _exit(0)
  4966. 5509:   waitid(P_ALL, 0, 0x08046380, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  4967. 5509:   sigaction(SIGCLD, 0x08046390, 0x08046400)       = 0
  4968. 5509:   read(10, 0x08046984, 1024)                      = 0
  4969. 5509:   ioctl(10, TCGETA, 0x08046458)                   Err#22 EINVAL
  4970. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  4971. 5509:   waitid(P_ALL, 0, 0x08046810, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED) = 0
  4972. 5509:   sigaction(SIGCLD, 0x08046820, 0x08046890)       = 0
  4973. 5509:   close(10)                                       = 0
  4974. 5508:   read(0, " 0", 1)                                = 1
  4975. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  4976. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  4977. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  4978. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 1
  4979. 5508:   read(0, " 1 2 3 4 5 6 7 8 9 A B C".., 63)       = 63
  4980. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  4981. 5508:   waitid(P_ALL, 0, 0x08046C00, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG) = 0
  4982. 5508:   sigaction(SIGCLD, 0x08046C10, 0x08046C80)       = 0
  4983. 5508:   ioctl(0, I_PEEK, 0x08046D00)                    = 0
  4984. 5509:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      = 64
  4985. 5509:   _exit(0)
  4986. 5508:       Received signal #18, SIGCLD, in write() [caught]
  4987. 5508:         siginfo: SIGCLD CLD_EXITED pid=5509 status=0x0000
  4988. 5508:   write(1, " 0 1 2 3 4 5 6 7 8 9 A B".., 64)      Err#4 EINTR
  4989. 5508:   lwp_sigmask(SIG_SETMASK, 0x00020000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
  4990. 5508:   setcontext(0x08046830)
  4991. 5508:   read(0, 0x0809046C, 1)                          = 0
  4992. 5508:   ioctl(0, TCGETA, 0x08046CD8)                    Err#22 EINVAL
  4993. 5508:   close(0)                                        = 0
  4994. 5508:   fcntl(11, F_DUPFD, 0x00000000)                  = 0
  4995. 5508:   close(11)                                       = 0
  4996. 5508:   fcntl(0, F_SETFD, 0x00000000)                   = 0
  4997. 5508:   sigaction(SIGCLD, 0x080471F0, 0x08047260)       = 0
  4998. 5508:   waitid(P_ALL, 0, 0x080471E0, WEXITED|WTRAPPED|WSTOPPED|WCONTINUED) = 0
  4999. 5508:   sigaction(SIGCLD, 0x080471F0, 0x08047260)       = 0
  5000. 5508:   read(62, 0xFEFA5BC8, 1024)                      = 0
  5001. 5508:   _exit(0)