lkml.org 
[lkml]   [2009]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 2/2] x86-64: seccomp: fix 32/64 syscall hole
From
Date
On Sat, 2009-02-28 at 09:23 -0800, Linus Torvalds wrote:
>
> On Fri, 27 Feb 2009, Roland McGrath wrote:
> >
> > I don't know any other arch well enough to be sure that TIF_32BIT isn't the
> > wrong test there too. I'd like to leave that worry to the arch maintainers.
>
> Agreed - it may be that others will want to not use TIF_32BIT too. It
> really does make much more sense to have it as a thread-local status flag
> than as an atomic (and thus expensive to modify) thread-flag, not just on
> x86.

FYI. _TIF_32BIT is the right test on powerpc (it's also what entry_64.S
tests to pick the appropriate syscall table).

Cheers,
Ben.




\
 
 \ /
  Last update: 2009-02-28 22:15    [W:0.089 / U:23.860 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site