2017-05-24 09:45 UTC

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0013265CentOS-7kernelpublic2017-05-17 21:07
PlatformAllOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0013265: PTRACE_GETEVENTMSG broken for pids in pidnamespaces
DescriptionIf you fork a child, which unshares CLONE_NEWPID, ptrace-attach to it, set PTRACE_O_TRACEFORK, then have the child fork, the ptrace eventmsg you receive will be the pid in the child's namespace, not yours. This is fixed by commit 4e52365f279564cef0ddd41db5237f0471381093 from 2014 which applies cleanly to the 3.10 kernel.

It was suggested on irc that i might ask for toracat to cherrypick the patch into the centosplus kernel,
Steps To ReproduceI can provide a test program, but the above desribes how to do it.
TagsNo tags attached.
Attached Files




toracat (manager)

I will try applying the patch in the next plus kernel update.

-Issue History
Date Modified Username Field Change
2017-05-17 05:16 hallyn New Issue
2017-05-17 21:02 toracat Status new => assigned
2017-05-17 21:07 toracat Note Added: 0029292
+Issue History