mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
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 | ||