Skip to content
Commit 17888225 authored by David Woodhouse's avatar David Woodhouse
Browse files

Fix missing audit_syscall_exit() on ppc64 sigsuspend exit path



When we leave sigsuspend() directly into a signal handler, we don't want
to go via the normal syscall exit path -- it'll corrupt r4 and r5 which
are supposed to be giving information to the signal handler, and it'll
give us one more single-step SIGTRAP than we need if single-stepping is
in operation.

However, we _should_ be calling audit_syscall_exit(), which would
normally get invoked in that patch. It's not wonderfully pretty, but I
suspect the best answer is just to call it directly...

Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent 3c789a19
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment