Re: [PATCH 11/14] s390/ptrace: run seccomp after ptrace

From: Martin Schwidefsky
Date: Fri Jun 10 2016 - 06:52:21 EST


On Thu, 9 Jun 2016 14:02:01 -0700
Kees Cook <keescook@xxxxxxxxxxxx> wrote:

> Close the hole where ptrace can change a syscall out from under seccomp.
>
> Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx>
> Cc: Heiko Carstens <heiko.carstens@xxxxxxxxxx>
> Cc: Martin Schwidefsky <schwidefsky@xxxxxxxxxx>
> Cc: linux-s390@xxxxxxxxxxxxxxx
> ---
> arch/s390/kernel/ptrace.c | 21 +++++++++------------
> 1 file changed, 9 insertions(+), 12 deletions(-)

If the change in semantics in regard to the audit of skipped system calls
is acceptable, the modified s390 arch code is ok.

--
blue skies,
Martin.

"Reality continues to ruin my life." - Calvin.