mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-24 08:02:35 +00: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> |
History
|
|
|---|---|---|
| .. | ||
| .gitignore | ||
| context_switch.c | ||
| exec_target.c | ||
| fork.c | ||
| futex_bench.c | ||
| gettimeofday.c | ||
| Makefile | ||
| mmap_bench.c | ||
| null_syscall.c | ||