lkml.org 
[lkml]   [2012]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@amacapital.net>
> Acked-by: Will Drewry <wad@chromium.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@namei.org>


\
 
 \ /
  Last update: 2012-08-03 07:21    [W:0.054 / U:0.588 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site