namecoin / heteronculous-horklump

Go port of Heteronculous (ptrace-based proxy leak detector). Outreachy project.
GNU General Public License v3.0
7 stars 3 forks source link

Chromium fails as tracee #51

Closed JeremyRand closed 1 year ago

JeremyRand commented 1 year ago

Chromium fails when being run in Horklump, due to this upstream bug: https://github.com/u-root/u-root/issues/2590

robertmin1 commented 1 year ago

The issue might be in the fork system for uroot.

When attempting to run a basic application within another program, it is unable to run successfully. For instance, if we try to execute a Go program that runs a C program that prints a basic message, we will receive the output below.

Console Log ``` [pid 7463] E arch_prctl(0x1002, 0x52ab70) [pid 7463] X arch_prctl(0x1002, 0x52ab70) = 0x0 (294.478µs) [pid 7463] E sched_getaffinity(0x0, 0x2000, 0x7ffdb696d3b0) [pid 7463] X sched_getaffinity(0x0, 0x2000, 0x7ffdb696d3b0) = 0x8 (17.923µs) [pid 7463] E openat(0xffffff9c, 0x513d00 /sys/kernel/mm/transparent_hugepage/hpage_pmd_size, O_RDONLY, ----------) [pid 7463] X openat(0xffffff9c, 0x513d00 /sys/kernel/mm/transparent_hugepage/hpage_pmd_size, O_RDONLY, ----------) = 0x3 (75.499µs) [pid 7463] E read(0x3, 0x7ffdb696f39c, 0x14) [pid 7463] X read(0x3, 0x7ffdb696f39c "2097152\n", 0x14) = 0x8 (18.825µs) [pid 7463] E close(0x3) [pid 7463] X close(0x3) = 0x0 (14.915µs) [pid 7463] E mmap(0x0, 0x40000, 0x3, 0x22, 0xffffffff, 0x0) [pid 7463] X mmap(0x0, 0x40000, 0x3, 0x22, 0xffffffff, 0x0) = 0x7fa0a31b1000 (21.381µs) [pid 7463] E mmap(0x0, 0x20000, 0x0, 0x22, 0xffffffff, 0x0) [pid 7463] X mmap(0x0, 0x20000, 0x0, 0x22, 0xffffffff, 0x0) = 0x7fa0a3191000 (16.119µs) [pid 7463] E mmap(0x0, 0x100000, 0x0, 0x22, 0xffffffff, 0x0) [pid 7463] X mmap(0x0, 0x100000, 0x0, 0x22, 0xffffffff, 0x0) = 0x7fa0a3091000 (15.637µs) [pid 7463] E mmap(0x0, 0x800000, 0x0, 0x22, 0xffffffff, 0x0) [pid 7463] X mmap(0x0, 0x800000, 0x0, 0x22, 0xffffffff, 0x0) = 0x7fa0a2891000 (13.282µs) [pid 7463] E mmap(0x0, 0x4000000, 0x0, 0x22, 0xffffffff, 0x0) [pid 7463] X mmap(0x0, 0x4000000, 0x0, 0x22, 0xffffffff, 0x0) = 0x7fa09e891000 (13.331µs) [pid 7463] E mmap(0x0, 0x20000000, 0x0, 0x22, 0xffffffff, 0x0) [pid 7463] X mmap(0x0, 0x20000000, 0x0, 0x22, 0xffffffff, 0x0) = 0x7fa07e891000 (13.392µs) [pid 7463] E mmap(0x0, 0x800000, 0x0, 0x22, 0xffffffff, 0x0) [pid 7463] X mmap(0x0, 0x800000, 0x0, 0x22, 0xffffffff, 0x0) = 0x7fa07e091000 (14.384µs) [pid 7463] E mmap(0xc000000000, 0x4000000, 0x0, 0x22, 0xffffffff, 0x0) [pid 7463] X mmap(0xc000000000, 0x4000000, 0x0, 0x22, 0xffffffff, 0x0) = 0xc000000000 (20.509µs) [pid 7463] E mmap(0x0, 0x2000000, 0x3, 0x22, 0xffffffff, 0x0) [pid 7463] X mmap(0x0, 0x2000000, 0x3, 0x22, 0xffffffff, 0x0) = 0x7fa07c091000 (16.79µs) [pid 7463] E mmap(0x0, 0x210c10, 0x3, 0x22, 0xffffffff, 0x0) [pid 7463] X mmap(0x0, 0x210c10, 0x3, 0x22, 0xffffffff, 0x0) = 0x7fa07be80000 (23.065µs) [pid 7463] E mmap(0xc000000000, 0x400000, 0x3, 0x32, 0xffffffff, 0x0) [pid 7463] X mmap(0xc000000000, 0x400000, 0x3, 0x32, 0xffffffff, 0x0) = 0xc000000000 (28.067µs) [pid 7463] E mmap(0x7fa0a3191000, 0x20000, 0x3, 0x32, 0xffffffff, 0x0) [pid 7463] X mmap(0x7fa0a3191000, 0x20000, 0x3, 0x32, 0xffffffff, 0x0) = 0x7fa0a3191000 (22.994µs) [pid 7463] E mmap(0x7fa0a3111000, 0x1000, 0x3, 0x32, 0xffffffff, 0x0) [pid 7463] X mmap(0x7fa0a3111000, 0x1000, 0x3, 0x32, 0xffffffff, 0x0) = 0x7fa0a3111000 (87.127µs) [pid 7463] E mmap(0x7fa0a2c97000, 0x1000, 0x3, 0x32, 0xffffffff, 0x0) [pid 7463] X mmap(0x7fa0a2c97000, 0x1000, 0x3, 0x32, 0xffffffff, 0x0) = 0x7fa0a2c97000 (18.905µs) [pid 7463] E mmap(0x7fa0a08c1000, 0x1000, 0x3, 0x32, 0xffffffff, 0x0) [pid 7463] X mmap(0x7fa0a08c1000, 0x1000, 0x3, 0x32, 0xffffffff, 0x0) = 0x7fa0a08c1000 (17.412µs) [pid 7463] E mmap(0x7fa08ea11000, 0x1000, 0x3, 0x32, 0xffffffff, 0x0) [pid 7463] X mmap(0x7fa08ea11000, 0x1000, 0x3, 0x32, 0xffffffff, 0x0) = 0x7fa08ea11000 (18.062µs) [pid 7463] E mmap(0x7fa07e091000, 0x407000, 0x3, 0x32, 0xffffffff, 0x0) [pid 7463] X mmap(0x7fa07e091000, 0x407000, 0x3, 0x32, 0xffffffff, 0x0) = 0x7fa07e091000 (25.501µs) [pid 7463] E madvise(0x7fa07e200000, 0x200000, 0xe) [pid 7463] X madvise(0x7fa07e200000, 0x200000, 0xe) = 0x0 (26.884µs) [pid 7463] E mmap(0x0, 0x100000, 0x3, 0x22, 0xffffffff, 0x0) [pid 7463] X mmap(0x0, 0x100000, 0x3, 0x22, 0xffffffff, 0x0) = 0x7fa07bd80000 (14.905µs) [pid 7463] E mmap(0x0, 0x10000, 0x3, 0x22, 0xffffffff, 0x0) [pid 7463] X mmap(0x0, 0x10000, 0x3, 0x22, 0xffffffff, 0x0) = 0x7fa07bd70000 (48.054µs) [pid 7463] E mmap(0x0, 0x10000, 0x3, 0x22, 0xffffffff, 0x0) [pid 7463] X mmap(0x0, 0x10000, 0x3, 0x22, 0xffffffff, 0x0) = 0x7fa07bd60000 (18.293µs) [pid 7463] E rt_sigprocmask(0x2, 0x0, 0x52ab60, 0x8) [pid 7463] X rt_sigprocmask(0x2, 0x0, 0x52ab60, 0x8) = 0x0 (21.762µs) [pid 7463] E sigaltstack(0x0, 0x7ffdb696f320) [pid 7463] X sigaltstack(0x0, 0x7ffdb696f320) = 0x0 (26.312µs) [pid 7463] E sigaltstack(0x7ffdb696f2e0, 0x0) [pid 7463] X sigaltstack(0x7ffdb696f2e0, 0x0) = 0x0 (11.868µs) [pid 7463] E rt_sigprocmask(0x2, 0x7ffdb696f330, 0x0, 0x8) [pid 7463] X rt_sigprocmask(0x2, 0x7ffdb696f330, 0x0, 0x8) = 0x0 (12.068µs) [pid 7463] E gettid() [pid 7463] X gettid() = 0x1d27 (11.758µs) [pid 7463] E rt_sigaction(0x1, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x1, 0x0, 0x7ffdb696f328) = 0x0 (12.72µs) [pid 7463] E rt_sigaction(0x1, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0x1, 0x7ffdb696f2d0, 0x0) = 0x0 (11.949µs) [pid 7463] E rt_sigaction(0x2, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x2, 0x0, 0x7ffdb696f328) = 0x0 (12.89µs) [pid 7463] E rt_sigaction(0x2, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0x2, 0x7ffdb696f2d0, 0x0) = 0x0 (13.131µs) [pid 7463] E rt_sigaction(0x3, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x3, 0x0, 0x7ffdb696f328) = 0x0 (11.818µs) [pid 7463] E rt_sigaction(0x3, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0x3, 0x7ffdb696f2d0, 0x0) = 0x0 (12.83µs) [pid 7463] E rt_sigaction(0x4, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x4, 0x0, 0x7ffdb696f328) = 0x0 (16.098µs) [pid 7463] E rt_sigaction(0x4, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0x4, 0x7ffdb696f2d0, 0x0) = 0x0 (11.778µs) [pid 7463] E rt_sigaction(0x5, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x5, 0x0, 0x7ffdb696f328) = 0x0 (11.908µs) [pid 7463] E rt_sigaction(0x5, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0x5, 0x7ffdb696f2d0, 0x0) = 0x0 (11.788µs) [pid 7463] E rt_sigaction(0x6, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x6, 0x0, 0x7ffdb696f328) = 0x0 (11.858µs) [pid 7463] E rt_sigaction(0x6, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0x6, 0x7ffdb696f2d0, 0x0) = 0x0 (11.848µs) [pid 7463] E rt_sigaction(0x7, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x7, 0x0, 0x7ffdb696f328) = 0x0 (12.029µs) [pid 7463] E rt_sigaction(0x7, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0x7, 0x7ffdb696f2d0, 0x0) = 0x0 (11.829µs) [pid 7463] E rt_sigaction(0x8, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x8, 0x0, 0x7ffdb696f328) = 0x0 (11.968µs) [pid 7463] E rt_sigaction(0x8, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0x8, 0x7ffdb696f2d0, 0x0) = 0x0 (11.868µs) [pid 7463] E rt_sigaction(0xa, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0xa, 0x0, 0x7ffdb696f328) = 0x0 (12.088µs) [pid 7463] E rt_sigaction(0xa, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0xa, 0x7ffdb696f2d0, 0x0) = 0x0 (11.817µs) [pid 7463] E rt_sigaction(0xb, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0xb, 0x0, 0x7ffdb696f328) = 0x0 (17.04µs) [pid 7463] E rt_sigaction(0xb, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0xb, 0x7ffdb696f2d0, 0x0) = 0x0 (12.791µs) [pid 7463] E rt_sigaction(0xc, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0xc, 0x0, 0x7ffdb696f328) = 0x0 (11.858µs) [pid 7463] E rt_sigaction(0xc, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0xc, 0x7ffdb696f2d0, 0x0) = 0x0 (11.958µs) [pid 7463] E rt_sigaction(0xd, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0xd, 0x0, 0x7ffdb696f328) = 0x0 (11.998µs) [pid 7463] E rt_sigaction(0xd, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0xd, 0x7ffdb696f2d0, 0x0) = 0x0 (14.595µs) [pid 7463] E rt_sigaction(0xe, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0xe, 0x0, 0x7ffdb696f328) = 0x0 (11.868µs) [pid 7463] E rt_sigaction(0xe, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0xe, 0x7ffdb696f2d0, 0x0) = 0x0 (11.868µs) [pid 7463] E rt_sigaction(0xf, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0xf, 0x0, 0x7ffdb696f328) = 0x0 (11.848µs) [pid 7463] E rt_sigaction(0xf, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0xf, 0x7ffdb696f2d0, 0x0) = 0x0 (11.778µs) [pid 7463] E rt_sigaction(0x10, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x10, 0x0, 0x7ffdb696f328) = 0x0 (11.788µs) [pid 7463] E rt_sigaction(0x10, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0x10, 0x7ffdb696f2d0, 0x0) = 0x0 (11.968µs) [pid 7463] E rt_sigaction(0x11, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x11, 0x0, 0x7ffdb696f328) = 0x0 (16.719µs) [pid 7463] E rt_sigaction(0x11, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0x11, 0x7ffdb696f2d0, 0x0) = 0x0 (12.83µs) [pid 7463] E rt_sigaction(0x17, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x17, 0x0, 0x7ffdb696f328) = 0x0 (11.798µs) [pid 7463] E rt_sigaction(0x17, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0x17, 0x7ffdb696f2d0, 0x0) = 0x0 (11.888µs) [pid 7463] E rt_sigaction(0x18, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x18, 0x0, 0x7ffdb696f328) = 0x0 (11.778µs) [pid 7463] E rt_sigaction(0x18, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0x18, 0x7ffdb696f2d0, 0x0) = 0x0 (11.767µs) [pid 7463] E rt_sigaction(0x19, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x19, 0x0, 0x7ffdb696f328) = 0x0 (11.788µs) [pid 7463] E rt_sigaction(0x19, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0x19, 0x7ffdb696f2d0, 0x0) = 0x0 (21.02µs) [pid 7463] E rt_sigaction(0x1a, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x1a, 0x0, 0x7ffdb696f328) = 0x0 (11.918µs) [pid 7463] E rt_sigaction(0x1a, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0x1a, 0x7ffdb696f2d0, 0x0) = 0x0 (11.738µs) [pid 7463] E rt_sigaction(0x1b, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x1b, 0x0, 0x7ffdb696f328) = 0x0 (11.889µs) [pid 7463] E rt_sigaction(0x1b, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0x1b, 0x7ffdb696f2d0, 0x0) = 0x0 (11.808µs) [pid 7463] E rt_sigaction(0x1c, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x1c, 0x0, 0x7ffdb696f328) = 0x0 (11.959µs) [pid 7463] E rt_sigaction(0x1c, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0x1c, 0x7ffdb696f2d0, 0x0) = 0x0 (96.629µs) [pid 7463] E rt_sigaction(0x1d, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x1d, 0x0, 0x7ffdb696f328) = 0x0 (13.342µs) [pid 7463] E rt_sigaction(0x1d, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0x1d, 0x7ffdb696f2d0, 0x0) = 0x0 (11.938µs) [pid 7463] E rt_sigaction(0x1e, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x1e, 0x0, 0x7ffdb696f328) = 0x0 (11.878µs) [pid 7463] E rt_sigaction(0x1e, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0x1e, 0x7ffdb696f2d0, 0x0) = 0x0 (11.869µs) [pid 7463] E rt_sigaction(0x1f, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x1f, 0x0, 0x7ffdb696f328) = 0x0 (11.908µs) [pid 7463] E rt_sigaction(0x1f, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0x1f, 0x7ffdb696f2d0, 0x0) = 0x0 (11.858µs) [pid 7463] E rt_sigaction(0x20, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x20, 0x0, 0x7ffdb696f328) = 0x0 (12.009µs) [pid 7463] E rt_sigaction(0x21, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x21, 0x0, 0x7ffdb696f328) = 0x0 (11.858µs) [pid 7463] E rt_sigaction(0x21, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0x21, 0x7ffdb696f2d0, 0x0) = 0x0 (11.958µs) [pid 7463] E rt_sigaction(0x22, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x22, 0x0, 0x7ffdb696f328) = 0x0 (11.958µs) [pid 7463] E rt_sigaction(0x23, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x23, 0x0, 0x7ffdb696f328) = 0x0 (11.939µs) [pid 7463] E rt_sigaction(0x23, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0x23, 0x7ffdb696f2d0, 0x0) = 0x0 (11.768µs) [pid 7463] E rt_sigaction(0x24, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x24, 0x0, 0x7ffdb696f328) = 0x0 (12.891µs) [pid 7463] E rt_sigaction(0x24, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0x24, 0x7ffdb696f2d0, 0x0) = 0x0 (11.998µs) [pid 7463] E rt_sigaction(0x25, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x25, 0x0, 0x7ffdb696f328) = 0x0 (11.898µs) [pid 7463] E rt_sigaction(0x25, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0x25, 0x7ffdb696f2d0, 0x0) = 0x0 (11.798µs) [pid 7463] E rt_sigaction(0x26, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x26, 0x0, 0x7ffdb696f328) = 0x0 (11.919µs) [pid 7463] E rt_sigaction(0x26, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0x26, 0x7ffdb696f2d0, 0x0) = 0x0 (11.878µs) [pid 7463] E rt_sigaction(0x27, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x27, 0x0, 0x7ffdb696f328) = 0x0 (11.988µs) [pid 7463] E rt_sigaction(0x27, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0x27, 0x7ffdb696f2d0, 0x0) = 0x0 (18.985µs) [pid 7463] E rt_sigaction(0x28, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x28, 0x0, 0x7ffdb696f328) = 0x0 (11.869µs) [pid 7463] E rt_sigaction(0x28, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0x28, 0x7ffdb696f2d0, 0x0) = 0x0 (11.948µs) [pid 7463] E rt_sigaction(0x29, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x29, 0x0, 0x7ffdb696f328) = 0x0 (11.878µs) [pid 7463] E rt_sigaction(0x29, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0x29, 0x7ffdb696f2d0, 0x0) = 0x0 (11.817µs) [pid 7463] E rt_sigaction(0x2a, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x2a, 0x0, 0x7ffdb696f328) = 0x0 (12.57µs) [pid 7463] E rt_sigaction(0x2a, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0x2a, 0x7ffdb696f2d0, 0x0) = 0x0 (18.073µs) [pid 7463] E rt_sigaction(0x2b, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x2b, 0x0, 0x7ffdb696f328) = 0x0 (12.289µs) [pid 7463] E rt_sigaction(0x2b, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0x2b, 0x7ffdb696f2d0, 0x0) = 0x0 (11.868µs) [pid 7463] E rt_sigaction(0x2c, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x2c, 0x0, 0x7ffdb696f328) = 0x0 (12.229µs) [pid 7463] E rt_sigaction(0x2c, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0x2c, 0x7ffdb696f2d0, 0x0) = 0x0 (11.869µs) [pid 7463] E rt_sigaction(0x2d, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x2d, 0x0, 0x7ffdb696f328) = 0x0 (11.988µs) [pid 7463] E rt_sigaction(0x2d, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0x2d, 0x7ffdb696f2d0, 0x0) = 0x0 (11.849µs) [pid 7463] E rt_sigaction(0x2e, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x2e, 0x0, 0x7ffdb696f328) = 0x0 (12.008µs) [pid 7463] E rt_sigaction(0x2e, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0x2e, 0x7ffdb696f2d0, 0x0) = 0x0 (11.968µs) [pid 7463] E rt_sigaction(0x2f, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x2f, 0x0, 0x7ffdb696f328) = 0x0 (11.868µs) [pid 7463] E rt_sigaction(0x2f, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0x2f, 0x7ffdb696f2d0, 0x0) = 0x0 (11.778µs) [pid 7463] E rt_sigaction(0x30, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x30, 0x0, 0x7ffdb696f328) = 0x0 (11.909µs) [pid 7463] E rt_sigaction(0x30, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0x30, 0x7ffdb696f2d0, 0x0) = 0x0 (17.011µs) [pid 7463] E rt_sigaction(0x31, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x31, 0x0, 0x7ffdb696f328) = 0x0 (12.189µs) [pid 7463] E rt_sigaction(0x31, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0x31, 0x7ffdb696f2d0, 0x0) = 0x0 (11.968µs) [pid 7463] E rt_sigaction(0x32, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x32, 0x0, 0x7ffdb696f328) = 0x0 (11.978µs) [pid 7463] E rt_sigaction(0x32, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0x32, 0x7ffdb696f2d0, 0x0) = 0x0 (11.828µs) [pid 7463] E rt_sigaction(0x33, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x33, 0x0, 0x7ffdb696f328) = 0x0 (12.038µs) [pid 7463] E rt_sigaction(0x33, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0x33, 0x7ffdb696f2d0, 0x0) = 0x0 (12.048µs) [pid 7463] E rt_sigaction(0x34, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x34, 0x0, 0x7ffdb696f328) = 0x0 (11.968µs) [pid 7463] E rt_sigaction(0x34, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0x34, 0x7ffdb696f2d0, 0x0) = 0x0 (12.029µs) [pid 7463] E rt_sigaction(0x35, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x35, 0x0, 0x7ffdb696f328) = 0x0 (13.151µs) [pid 7463] E rt_sigaction(0x35, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0x35, 0x7ffdb696f2d0, 0x0) = 0x0 (11.958µs) [pid 7463] E rt_sigaction(0x36, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x36, 0x0, 0x7ffdb696f328) = 0x0 (12.129µs) [pid 7463] E rt_sigaction(0x36, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0x36, 0x7ffdb696f2d0, 0x0) = 0x0 (11.868µs) [pid 7463] E rt_sigaction(0x37, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x37, 0x0, 0x7ffdb696f328) = 0x0 (14.143µs) [pid 7463] E rt_sigaction(0x37, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0x37, 0x7ffdb696f2d0, 0x0) = 0x0 (11.778µs) [pid 7463] E rt_sigaction(0x38, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x38, 0x0, 0x7ffdb696f328) = 0x0 (16.308µs) [pid 7463] E rt_sigaction(0x38, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0x38, 0x7ffdb696f2d0, 0x0) = 0x0 (11.989µs) [pid 7463] E rt_sigaction(0x39, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x39, 0x0, 0x7ffdb696f328) = 0x0 (14.895µs) [pid 7463] E rt_sigaction(0x39, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0x39, 0x7ffdb696f2d0, 0x0) = 0x0 (11.978µs) [pid 7463] E rt_sigaction(0x3a, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x3a, 0x0, 0x7ffdb696f328) = 0x0 (12.289µs) [pid 7463] E rt_sigaction(0x3a, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0x3a, 0x7ffdb696f2d0, 0x0) = 0x0 (13.142µs) [pid 7463] E rt_sigaction(0x3b, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x3b, 0x0, 0x7ffdb696f328) = 0x0 (11.908µs) [pid 7463] E rt_sigaction(0x3b, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0x3b, 0x7ffdb696f2d0, 0x0) = 0x0 (11.808µs) [pid 7463] E rt_sigaction(0x3c, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x3c, 0x0, 0x7ffdb696f328) = 0x0 (12.92µs) [pid 7463] E rt_sigaction(0x3c, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0x3c, 0x7ffdb696f2d0, 0x0) = 0x0 (11.958µs) [pid 7463] E rt_sigaction(0x3d, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x3d, 0x0, 0x7ffdb696f328) = 0x0 (12.871µs) [pid 7463] E rt_sigaction(0x3d, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0x3d, 0x7ffdb696f2d0, 0x0) = 0x0 (11.939µs) [pid 7463] E rt_sigaction(0x3e, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x3e, 0x0, 0x7ffdb696f328) = 0x0 (11.858µs) [pid 7463] E rt_sigaction(0x3e, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0x3e, 0x7ffdb696f2d0, 0x0) = 0x0 (14.384µs) [pid 7463] E rt_sigaction(0x3f, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x3f, 0x0, 0x7ffdb696f328) = 0x0 (11.868µs) [pid 7463] E rt_sigaction(0x3f, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0x3f, 0x7ffdb696f2d0, 0x0) = 0x0 (11.898µs) [pid 7463] E rt_sigaction(0x40, 0x0, 0x7ffdb696f328) [pid 7463] X rt_sigaction(0x40, 0x0, 0x7ffdb696f328) = 0x0 (11.798µs) [pid 7463] E rt_sigaction(0x40, 0x7ffdb696f2d0, 0x0) [pid 7463] X rt_sigaction(0x40, 0x7ffdb696f2d0, 0x0) = 0x0 (11.928µs) [pid 7463] E rt_sigprocmask(0x2, 0x512270, 0x7ffdb696f2d8, 0x8) [pid 7463] X rt_sigprocmask(0x2, 0x512270, 0x7ffdb696f2d8, 0x8) = 0x0 (14.223µs) [pid 7463] E clone(CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS, 0xc000050000, 0x0, 0x0, 0xc000040090) PID 7463 spawned new child 7464 [pid 7463] X clone(CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS, 0xc000050000, 0x0, 0x0, 0xc000040090) = 0x1d28 (63.962µs) [pid 7463] E rt_sigprocmask(0x2, 0x7ffdb696f2d8, 0x0, 0x8) [pid 7463] X rt_sigprocmask(0x2, 0x7ffdb696f2d8, 0x0, 0x8) = 0x0 (12.319µs) [pid 7463] E rt_sigprocmask(0x2, 0x512270, 0x7ffdb696f1d0, 0x8) [pid 7463] X rt_sigprocmask(0x2, 0x512270, 0x7ffdb696f1d0, 0x8) = 0x0 (18.895µs) [pid 7463] E clone(CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS, 0xc000052000, 0x0, 0x0, 0xc000040490) PID 7463 spawned new child 7465 [pid 7463] X clone(CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS, 0xc000052000, 0x0, 0x0, 0xc000040490) = 0x1d29 (41.008µs) [pid 7463] E rt_sigprocmask(0x2, 0x7ffdb696f1d0, 0x0, 0x8) [pid 7463] X rt_sigprocmask(0x2, 0x7ffdb696f1d0, 0x0, 0x8) = 0x0 (13.362µs) [pid 7463] E futex(0x52ac28, FUTEX_WAIT|FUTEX_PRIVATE_FLAG, 0x0, null, 0x0, 0x0) PID 7465 got signal SIGSTOP (stopped) (19) [pid 7463] X futex(0x52ac28, FUTEX_WAIT|FUTEX_PRIVATE_FLAG, 0x0, null, 0x0, 0x0) = errno 512 (0x6572726e6f20353132) (28.768µs) PID 7465 got signal SIGSTOP (stopped) (19) PID 7463 got signal SIGSTOP (stopped) (19) [pid 7463] E futex(0x52ac28, FUTEX_WAIT|FUTEX_PRIVATE_FLAG, 0x0, null, 0x0, 0x0) [pid 7465] E gettid() [pid 7465] X gettid() = 0x1d29 (11.247µs) [pid 7465] E sigaltstack(0x0, 0xc000051f50) [pid 7465] X sigaltstack(0x0, 0xc000051f50) = 0x0 (11.868µs) [pid 7465] E sigaltstack(0xc000051f10, 0x0) [pid 7465] X sigaltstack(0xc000051f10, 0x0) = 0x0 (13.031µs) [pid 7465] E rt_sigprocmask(0x2, 0xc000051f60, 0x0, 0x8) [pid 7465] X rt_sigprocmask(0x2, 0xc000051f60, 0x0, 0x8) = 0x0 (12.019µs) [pid 7465] E gettid() [pid 7465] X gettid() = 0x1d29 (10.966µs) [pid 7465] E futex(0x52ac28, FUTEX_WAKE|FUTEX_PRIVATE_FLAG, 0x1, null, 0x0, 0x0) [pid 7463] X futex(0x52ac28, FUTEX_WAIT|FUTEX_PRIVATE_FLAG, 0x0, null, 0x0, 0x0) = 0x0 (158.115µs) [pid 7465] X futex(0x52ac28, FUTEX_WAKE|FUTEX_PRIVATE_FLAG, 0x1, null, 0x0, 0x0) = 0x1 (26.283µs) [pid 7463] E rt_sigprocmask(0x2, 0x512270, 0x7ffdb696f1d0, 0x8) [pid 7463] X rt_sigprocmask(0x2, 0x512270, 0x7ffdb696f1d0, 0x8) = 0x0 (12.459µs) [pid 7463] E clone(CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS, 0xc00004c000, 0x0, 0x0, 0xc000040890) PID 7463 spawned new child 7466 [pid 7463] X clone(CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS, 0xc00004c000, 0x0, 0x0, 0xc000040890) = 0x1d2a (35.835µs) [pid 7463] E rt_sigprocmask(0x2, 0x7ffdb696f1d0, 0x0, 0x8) [pid 7463] X rt_sigprocmask(0x2, 0x7ffdb696f1d0, 0x0, 0x8) = 0x0 (12.138µs) [pid 7463] E futex(0x52ac28, FUTEX_WAIT|FUTEX_PRIVATE_FLAG, 0x0, null, 0x0, 0x0) [pid 7465] E futex(0xc000040548, FUTEX_WAIT|FUTEX_PRIVATE_FLAG, 0x0, null, 0x0, 0x0) PID 7464 got signal SIGSTOP (stopped) (19) PID 7464 got signal SIGSTOP (stopped) (19) [pid 7463] X futex(0x52ac28, FUTEX_WAIT|FUTEX_PRIVATE_FLAG, 0x0, null, 0x0, 0x0) = errno 512 (0x6572726e6f20353132) (54.62µs) PID 7464 got signal SIGSTOP (stopped) (19) PID 7463 got signal SIGSTOP (stopped) (19) [pid 7463] E futex(0x52ac28, FUTEX_WAIT|FUTEX_PRIVATE_FLAG, 0x0, null, 0x0, 0x0) [pid 7465] X futex(0xc000040548, FUTEX_WAIT|FUTEX_PRIVATE_FLAG, 0x0, null, 0x0, 0x0) = errno 512 (0x6572726e6f20353132) (80.26µs) PID 7465 got signal SIGSTOP (stopped) (19) [pid 7465] E futex(0xc000040548, FUTEX_WAIT|FUTEX_PRIVATE_FLAG, 0x0, null, 0x0, 0x0) [pid 7464] E gettid() [pid 7464] X gettid() = 0x1d28 (11.477µs) [pid 7464] E sigaltstack(0x0, 0xc00004ff50) [pid 7464] X sigaltstack(0x0, 0xc00004ff50) = 0x0 (11.888µs) [pid 7464] E sigaltstack(0xc00004ff10, 0x0) [pid 7464] X sigaltstack(0xc00004ff10, 0x0) = 0x0 (11.657µs) [pid 7464] E rt_sigprocmask(0x2, 0xc00004ff60, 0x0, 0x8) [pid 7464] X rt_sigprocmask(0x2, 0xc00004ff60, 0x0, 0x8) = 0x0 (11.988µs) [pid 7464] E gettid() [pid 7464] X gettid() = 0x1d28 (11.357µs) [pid 7464] E nanosleep(0xc00004ff10 {sec=0 nsec=20000}, 0x0) PID 7466 got signal SIGSTOP (stopped) (19) PID 7466 got signal SIGSTOP (stopped) (19) [pid 7463] X futex(0x52ac28, FUTEX_WAIT|FUTEX_PRIVATE_FLAG, 0x0, null, 0x0, 0x0) = errno 512 (0x6572726e6f20353132) (227.47µs) PID 7466 got signal SIGSTOP (stopped) (19) PID 7463 got signal SIGSTOP (stopped) (19) [pid 7463] E futex(0x52ac28, FUTEX_WAIT|FUTEX_PRIVATE_FLAG, 0x0, null, 0x0, 0x0) [pid 7465] X futex(0xc000040548, FUTEX_WAIT|FUTEX_PRIVATE_FLAG, 0x0, null, 0x0, 0x0) = errno 512 (0x6572726e6f20353132) (231.981µs) PID 7465 got signal SIGSTOP (stopped) (19) [pid 7465] E futex(0xc000040548, FUTEX_WAIT|FUTEX_PRIVATE_FLAG, 0x0, null, 0x0, 0x0) [pid 7464] X nanosleep(0xc00004ff10 {sec=0 nsec=20000}, 0x0) = errno 516 (0x6572726e6f20353136) (121.558µs) PID 7464 got signal SIGSTOP (stopped) (19) [pid 7464] E restart_syscall() [pid 7466] E gettid() [pid 7466] X gettid() = 0x1d2a (10.906µs) [pid 7466] E sigaltstack(0x0, 0xc00004bf50) [pid 7466] X sigaltstack(0x0, 0xc00004bf50) = 0x0 (16.77µs) [pid 7466] E sigaltstack(0xc00004bf10, 0x0) [pid 7466] X sigaltstack(0xc00004bf10, 0x0) = 0x0 (36.166µs) [pid 7464] X restart_syscall() = 0x0 (119.254µs) [pid 7464] E nanosleep(0xc00004ff10 {sec=0 nsec=20000}, 0x0) [pid 7466] E rt_sigprocmask(0x2, 0xc00004bf60, 0x0, 0x8) [pid 7466] X rt_sigprocmask(0x2, 0xc00004bf60, 0x0, 0x8) = 0x0 (12.419µs) [pid 7466] E gettid() [pid 7466] X gettid() = 0x1d2a (12.119µs) [pid 7466] E futex(0x52ac28, FUTEX_WAKE|FUTEX_PRIVATE_FLAG, 0x1, null, 0x0, 0x0) [pid 7463] X futex(0x52ac28, FUTEX_WAIT|FUTEX_PRIVATE_FLAG, 0x0, null, 0x0, 0x0) = 0x0 (284.897µs) [pid 7466] X futex(0x52ac28, FUTEX_WAKE|FUTEX_PRIVATE_FLAG, 0x1, null, 0x0, 0x0) = 0x1 (22.593µs) [pid 7463] E fcntl(0x0, 0x3, 0x0) [pid 7463] X fcntl(0x0, 0x3, 0x0) = 0x8002 (16.759µs) [pid 7463] E mmap(0x0, 0x40000, 0x3, 0x22, 0xffffffff, 0x0) [pid 7463] X mmap(0x0, 0x40000, 0x3, 0x22, 0xffffffff, 0x0) = 0x7fa07bd20000 (27.755µs) [pid 7463] E fcntl(0x1, 0x3, 0x0) [pid 7463] X fcntl(0x1, 0x3, 0x0) = 0x8401 (12.359µs) [pid 7463] E fcntl(0x2, 0x3, 0x0) [pid 7463] X fcntl(0x2, 0x3, 0x0) = 0x8002 (12.039µs) [pid 7463] E getrlimit(0x7, 0xc00006ebd0) [pid 7463] X getrlimit(0x7, 0xc00006ebd0) = 0x0 (12.46µs) [pid 7463] E execve(0xc0000180d0 ./hello, ["./hello" "./hello"], ["COLORFGBG=15;0" "COLORTERM=truecolor" "COMMAND_NOT_FOUND_INSTALL_PROMPT=1" "DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus" "DESKTOP_SESSION=lightdm-xsession" "DISPLAY=:0.0" "DOTNET_CLI_TELEMETRY_OPTOUT=1" "GDMSESSION=lightdm-xsession" "GTK_MODULES=gail:atk-bridge" "HOME=/home/root0" "LANG=en_US.UTF-8" "LANGUAGE=" "LOGNAME=root0" "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games" "POWERSHELL_TELEMETRY_OPTOUT=1" "POWERSHELL_UPDATECHECK=Off" "PWD=/home/root0/Desktop/u-root/cmds/core/strace" "QT_ACCESSIBILITY=1" "QT_AUTO_SCREEN_SCALE_FACTOR=0" "QT_QPA_PLATFORMTHEME=qt5ct" "SESSION_MANAGER=local/kali:@/tmp/.ICE-unix/812,unix/kali:/tmp/.ICE-unix/812" "SHELL=/usr/bin/zsh" "SSH_AGENT_PID=919" "SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcFr7fL/agent.812" "TERM=xterm-256color" "USER=root0" "WINDOWID=0" "XAUTHORITY=/home/root0/.Xauthority" "XDG_CONFIG_DIRS=/etc/xdg" "XDG_CURRENT_DESKTOP=XFCE" "XDG_DATA_DIRS=/usr/share/xfce4:/usr/local/share/:/usr/share/:/usr/share" "XDG_GREETER_DATA_DIR=/var/lib/lightdm/data/root0" "XDG_MENU_PREFIX=xfce-" "XDG_RUNTIME_DIR=/run/user/1000" "XDG_SEAT=seat0" "XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0" "XDG_SESSION_CLASS=user" "XDG_SESSION_DESKTOP=lightdm-xsession" "XDG_SESSION_ID=2" "XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0" "XDG_SESSION_TYPE=x11" "XDG_VTNR=7" "_JAVA_OPTIONS=-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true" "SHLVL=1" "OLDPWD=/home/root0/Desktop/u-root/cmds/core/strace" "LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90::ow=30;44:" "LESS_TERMCAP_mb=\x1b[1;31m" "LESS_TERMCAP_md=\x1b[1;36m" "LESS_TERMCAP_me=\x1b[0m" "LESS_TERMCAP_so=\x1b[01;33m" "LESS_TERMCAP_se=\x1b[0m" "LESS_TERMCAP_us=\x1b[1;32m" "LESS_TERMCAP_ue=\x1b[0m" "_=/usr/bin/go"]) PID 7466 exited from exit status 0 (code = 0) PID 7465 exited from exit status 0 (code = 0) PID 7464 exited from exit status 0 (code = 0) [pid 7463] X execve(0x0 , [], []) = 0x0 (3.785395ms) PID 7463 got signal SIGTRAP (trace/breakpoint trap) (5) PID 7463 exited from signal SIGTRAP (trace/breakpoint trap) (5) ```

This output can be replicated by cloning the fork branch building the hello.c and test.go files then tracing test.go using u-root's strace cmd

robertmin1 commented 1 year ago

Fixed by: Adding unix.PTRACE_O_TRACEEXEC to the Ptrace Options fixes the fork issue. This will enable us to avoid seeing the SIGTRAP signal. This option tells ptrace to generate a SIGTRAP signal immediately before a new program is executed with the execve system call.