[PATCH v2] s390: ensure that syscall arguments are properly masked on s390

Heiko Carstens heiko.carstens at de.ibm.com
Tue Jun 28 04:51:12 UTC 2016


On Mon, Jun 27, 2016 at 10:37:59AM -0400, Paul Moore wrote:
> On Mon, Jun 27, 2016 at 10:34 AM, Paul Moore <pmoore at redhat.com> wrote:
> > From: Paul Moore <paul at paul-moore.com>
> >
> > When executing s390 code on s390x the syscall arguments are not
> > properly masked, leading to some malformed audit records.
> >
> > Signed-off-by: Paul Moore <paul at paul-moore.com>
> > ---
> >  arch/s390/kernel/ptrace.c |   10 +++++++---
> >  1 file changed, 7 insertions(+), 3 deletions(-)
> 
> The only change between v2 and the original patch is the use of
> is_compat_task() instead of the #ifdef, as suggested by Heiko.  Like
> before, I've added this patch to the audit#next branch; I think we
> have sorted all the feedback, but if any objections remain please let
> me know.

Thanks!

Acked-by: Heiko Carstens <heiko.carstens at de.ibm.com>




More information about the Linux-audit mailing list