This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nptl/15392] Linux, setns, PID namespaces, fork: assert() about pid inequality hit sporadically
- From: "rickyz at chromium dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 14 Nov 2014 22:58:03 +0000
- Subject: [Bug nptl/15392] Linux, setns, PID namespaces, fork: assert() about pid inequality hit sporadically
- Auto-submitted: auto-generated
- References: <bug-15392-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=15392
Ricky Zhou <rickyz at chromium dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rickyz at chromium dot org
--- Comment #2 from Ricky Zhou <rickyz at chromium dot org> ---
Created attachment 7938
--> https://sourceware.org/bugzilla/attachment.cgi?id=7938&action=edit
Double unshare CLONE_NEWPID example
I've run into this assertion as well. I've attached a small test program that
trips it using unshare(CLONE_NEWPID). In this case, the issue is that the
parent process has pid 1 inside its pid namespace, but since the child is
created in a new pid namespace, it also has pid 1.
Will try to send a patch to get rid of the assert.
--
You are receiving this mail because:
You are on the CC list for the bug.