Posted to tcl by Bradipo at Fri Apr 19 21:45:09 GMT 2024view pretty

 59138 ktrace   RET   ktrace 0
 59138 ktrace   CALL  execve(0x7b5f32e82a5a,0x7b5f32e82888,0x7b5f32e82898)
 59138 ktrace   NAMI  "/tmp/random.tcl"
 59138 ktrace   NAMI  "/bin/sh"
 59138 ktrace   ARGS  
        [0] = "/bin/sh"
        [1] = "/tmp/random.tcl"
 59138 sh       RET   execve JUSTRETURN
...
 59138 tclsh8.5 RET   read 4096/0x1000
 59138 tclsh8.5 CALL  sendto(1,0x8d7f3e19028,0x5c1,0,0,0)
 59138 tclsh8.5 GIO   fd 1 wrote 1473 bytes
...
 59138 tclsh8.5 RET   sendto 1473/0x5c1
 59138 tclsh8.5 CALL  read(3,0x8d82ad9e028,0x1000)
 59138 tclsh8.5 GIO   fd 3 read 4096 bytes
...
 59138 tclsh8.5 RET   read 4096/0x1000
 59138 tclsh8.5 CALL  kbind(0x758ccc011a08,24,0x42c743f0ba061f39)
...
 59138 tclsh8.5 RET   kbind 0
 59138 tclsh8.5 CALL  write(2,0x8d8704f1028,0x75)
 59138 tclsh8.5 GIO   fd 2 wrote 117 bytes
       "error writing "sock1": invalid argument\r
            while executing\r
        "fcopy $fd stdout"\r
            (file "/tmp/random.tcl" line 7)"
 59138 tclsh8.5 RET   write 117/0x75
 59138 tclsh8.5 CALL  kbind(0x758ccc011e68,24,0x42c743f0ba061f39)
 59138 tclsh8.5 RET   kbind 0
 59138 tclsh8.5 CALL  write(2,0x8d8704f1028,0x2)
 59138 tclsh8.5 GIO   fd 2 wrote 2 bytes
       "\r
       "