From: Martin Schwidefsky <schwidefsky@de•ibm.com>
To: Kees Cook <keescook@chromium•org>
Cc: linux-kernel@vger•kernel.org,
Heiko Carstens <heiko.carstens@de•ibm.com>,
linux-s390@vger•kernel.org, Andy Lutomirski <luto@kernel•org>,
Benjamin Herrenschmidt <benh@kernel•crashing.org>,
Catalin Marinas <catalin.marinas@arm•com>,
Chris Metcalf <cmetcalf@mellanox•com>,
Helge Deller <deller@gmx•de>,
"James E.J. Bottomley" <jejb@parisc-linux•org>,
James Hogan <james.hogan@imgtec•com>,
Jeff Dike <jdike@addtoit•com>,
linux-arch@vger•kernel.org, linux-arm-kernel@lists•infradead.org,
linux-mips@linux-mips•org, linux-parisc@vger•kernel.org,
linuxppc-dev@lists•ozlabs.org,
"Maciej W. Rozycki" <macro@imgtec•com>,
Mark Rutland <mark.rutland@arm•com>,
Michael Ellerman <mpe@ellerman•id.au>,
Paul Mackerras <paulus@samba•org>,
Ralf Baechle <ralf@linux-mips•org>,
Richard Weinberger <richard@nod•at>,
Russell King <linux@armlinux•org.uk>,
user-mode-linux-devel@lists•sourceforge.net,
Will Deacon <will.deacon@arm•com>,
x86@kernel•org
Subject: Re: [PATCH 11/14] s390/ptrace: run seccomp after ptrace
Date: Fri, 10 Jun 2016 12:51:58 +0200 [thread overview]
Message-ID: <20160610125158.16dd5497@mschwide> (raw)
In-Reply-To: <1465506124-21866-12-git-send-email-keescook@chromium.org>
On Thu, 9 Jun 2016 14:02:01 -0700
Kees Cook <keescook@chromium•org> wrote:
> Close the hole where ptrace can change a syscall out from under seccomp.
>
> Signed-off-by: Kees Cook <keescook@chromium•org>
> Cc: Heiko Carstens <heiko.carstens@de•ibm.com>
> Cc: Martin Schwidefsky <schwidefsky@de•ibm.com>
> Cc: linux-s390@vger•kernel.org
> ---
> 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.
next prev parent reply other threads:[~2016-06-10 10:52 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-09 21:01 [PATCH 00/14] run seccomp after ptrace Kees Cook
2016-06-09 21:01 ` [PATCH 01/14] seccomp: add tests for ptrace hole Kees Cook
2016-06-09 21:01 ` [PATCH 02/14] seccomp: Add a seccomp_data parameter secure_computing() Kees Cook
2016-06-09 21:01 ` [PATCH 03/14] x86/entry: Get rid of two-phase syscall entry work Kees Cook
2016-06-09 21:01 ` [PATCH 04/14] seccomp: remove 2-phase API Kees Cook
2016-06-09 21:01 ` [PATCH 05/14] seccomp: recheck the syscall after RET_TRACE Kees Cook
2016-06-09 22:46 ` Andy Lutomirski
2016-06-09 21:01 ` [PATCH 06/14] x86/ptrace: run seccomp after ptrace Kees Cook
2016-06-09 22:52 ` Andy Lutomirski
2016-06-10 2:01 ` Kees Cook
2016-06-14 2:27 ` Andy Lutomirski
2016-06-09 21:01 ` [PATCH 07/14] arm/ptrace: " Kees Cook
2016-06-09 21:01 ` [PATCH 08/14] arm64/ptrace: " Kees Cook
2016-06-09 21:01 ` [PATCH 09/14] MIPS/ptrace: " Kees Cook
2016-06-09 21:02 ` [PATCH 10/14] parisc/ptrace: " Kees Cook
2016-06-09 21:02 ` [PATCH 11/14] s390/ptrace: " Kees Cook
2016-06-10 10:51 ` Martin Schwidefsky [this message]
2016-06-09 21:02 ` [PATCH 12/14] powerpc/ptrace: " Kees Cook
2016-06-09 21:02 ` [PATCH 13/14] tile/ptrace: " Kees Cook
2016-06-09 21:02 ` [PATCH 14/14] um/ptrace: " Kees Cook
2016-06-13 20:50 ` [PATCH 00/14] " Kees Cook
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160610125158.16dd5497@mschwide \
--to=schwidefsky@de$(echo .)ibm.com \
--cc=benh@kernel$(echo .)crashing.org \
--cc=catalin.marinas@arm$(echo .)com \
--cc=cmetcalf@mellanox$(echo .)com \
--cc=deller@gmx$(echo .)de \
--cc=heiko.carstens@de$(echo .)ibm.com \
--cc=james.hogan@imgtec$(echo .)com \
--cc=jdike@addtoit$(echo .)com \
--cc=jejb@parisc-linux$(echo .)org \
--cc=keescook@chromium$(echo .)org \
--cc=linux-arch@vger$(echo .)kernel.org \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-mips@linux-mips$(echo .)org \
--cc=linux-parisc@vger$(echo .)kernel.org \
--cc=linux-s390@vger$(echo .)kernel.org \
--cc=linux@armlinux$(echo .)org.uk \
--cc=linuxppc-dev@lists$(echo .)ozlabs.org \
--cc=luto@kernel$(echo .)org \
--cc=macro@imgtec$(echo .)com \
--cc=mark.rutland@arm$(echo .)com \
--cc=mpe@ellerman$(echo .)id.au \
--cc=paulus@samba$(echo .)org \
--cc=ralf@linux-mips$(echo .)org \
--cc=richard@nod$(echo .)at \
--cc=user-mode-linux-devel@lists$(echo .)sourceforge.net \
--cc=will.deacon@arm$(echo .)com \
--cc=x86@kernel$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox