[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LRH.2.02.1208031435550.25196@tundra.namei.org>
Date: Fri, 3 Aug 2012 14:36:55 +1000 (EST)
From: James Morris <jmorris@...ei.org>
To: Andy Lutomirski <luto@...capital.net>
cc: James Morris <james.l.morris@...cle.com>,
linux-kernel@...r.kernel.org, Will Drewry <wad@...omium.org>,
x86@...nel.org
Subject: Re: [PATCH v2] seccomp: Make syscall skipping and nr changes more
consistent
On Wed, 1 Aug 2012, Andy Lutomirski wrote:
> This fixes two issues that could cause incompatibility between
> kernel versions:
>
> - If a tracer uses SECCOMP_RET_TRACE to select a syscall number
> higher than the largest known syscall, emulate the unknown
> vsyscall by returning -ENOSYS. (This is unlikely to make a
> noticeable difference on x86-64 due to the way the system call
> entry works.)
>
> - On x86-64 with vsyscall=emulate, skipped vsyscalls were buggy.
>
> This updates the documentation accordingly.
>
> Signed-off-by: Andy Lutomirski <luto@...capital.net>
> Acked-by: Will Drewry <wad@...omium.org>
Please rebase this to
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git next
or wait until the next -rc, where I'll sync with Linus.
--
James Morris
<jmorris@...ei.org>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists