mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-22 19:43:07 +07:00
c906d2c74e
The exec_target binary could segfault calling _exit(2) because r13 is not set up properly (and libc looks at that when performing a syscall). Call SYS_exit using syscall(2) which doesn't seem to have this problem. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> |
||
---|---|---|
.. | ||
.gitignore | ||
context_switch.c | ||
exec_target.c | ||
fork.c | ||
futex_bench.c | ||
gettimeofday.c | ||
Makefile | ||
mmap_bench.c | ||
null_syscall.c |