[PATCH] Introduce ActivePid: in /proc/self/status (v2, was Vpid:)

Greg Kurz gkurz at fr.ibm.com
Thu Jun 23 06:43:05 PDT 2011


On Wed, 2011-06-22 at 17:39 -0700, Eric W. Biederman wrote:
> I was suggesting implement rt_sigqueueinfo_fd as a proc file instead.
> 
> Getting a file descriptor api one way or another for delivering signals
> sounds nice in principle.  I don't know if it is useful enough to
> justify the cost of implementing and supporting it.
> 

That's my concern: it will take some time to work it out and push it. In
comparison, ActivePid: has no support overhead and is enough for
userland code to relate pids betwen parent and child namespaces.
Mitigating the race with pids is cool but it is another topic IMHO.

Thanks.

-- 
Gregory Kurz                                     gkurz at fr.ibm.com
Software Engineer @ IBM/Meiosys                  http://www.ibm.com
Tel +33 (0)534 638 479                           Fax +33 (0)561 400 420

"Anarchy is about taking complete responsibility for yourself."
        Alan Moore.



More information about the Containers mailing list