Thread (4 messages) 4 messages, 3 authors, 2018-05-16

Re: selftests/powerpc: fix exec benchmark

flat view

From: Michael Ellerman <hidden>
Date: 2018-05-16 13:38:52

On Sat, 2018-05-12 at 03:35:24 UTC, Nicholas Piggin wrote:
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>
Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/c906d2c74e0bb9059fbf43e21f8a96

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help