lkml.org 
[lkml]   [2011]   [Nov]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: user namespace: make signal.c respect user namespaces (v5)
"Serge E. Hallyn" <serge.hallyn@canonical.com> writes:

> Quoting Eric W. Biederman (ebiederm@xmission.com):
>> There is a small bug here. You want to fixup q->info, not info.
>> Otherwise you might try dereferencing one of the special signals and get
>> a NULL pointer dereference.
>
> Thanks, Eric. Oddly I've not seen this happen in quite a bit of
> testing with the kernel, but you certainly must be right. I sent
> out a new patch to fix that.

You clearly have a different test case than I do.

I managed to trigger the oops within about 5 minutes of just fooling
around.

You want to say &q->info not q->info in your updated patch.

Thanks,
Eric


\
 
 \ /
  Last update: 2011-11-18 19:47    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog