From: ebiederm@xmission.com (Eric W. Biederman)
To: "Serge E. Hallyn" <serge.hallyn@canonical.com>
Cc: "Serge E. Hallyn" <serge@hallyn.com>,
richard@nod.at, containers@lists.linux-foundation.org,
linux-kernel@vger.kernel.org, eparis@redhat.com, oleg@redhat.com,
dhowells@redhat.com, Andrew Morton <akpm@linux-foundation.org>
Subject: Re: user namespace: make signal.c respect user namespaces (v5)
Date: Fri, 18 Nov 2011 10:46:17 -0800 [thread overview]
Message-ID: <m14ny12rra.fsf@fess.ebiederm.org> (raw)
In-Reply-To: <20111118173752.GB11823@sergelap> (Serge E. Hallyn's message of "Fri, 18 Nov 2011 11:37:52 -0600")
"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
next prev parent reply other threads:[~2011-11-18 18:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-17 4:52 user namespace: make signal.c respect user namespaces (v5) Serge E. Hallyn
2011-11-18 3:24 ` Eric W. Biederman
2011-11-18 17:37 ` Serge E. Hallyn
2011-11-18 18:46 ` Eric W. Biederman [this message]
2011-11-19 0:43 ` Serge Hallyn
2011-11-19 4:53 ` Eric W. Biederman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m14ny12rra.fsf@fess.ebiederm.org \
--to=ebiederm@xmission.com \
--cc=akpm@linux-foundation.org \
--cc=containers@lists.linux-foundation.org \
--cc=dhowells@redhat.com \
--cc=eparis@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=oleg@redhat.com \
--cc=richard@nod.at \
--cc=serge.hallyn@canonical.com \
--cc=serge@hallyn.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox