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

Eric W. Biederman ebiederm at xmission.com
Wed Jun 22 17:39:38 PDT 2011


Greg Kurz <gkurz at fr.ibm.com> writes:

> On Mon, 2011-06-20 at 15:44 -0700, Eric W. Biederman wrote:
>> fd = open("/proc/self/", O_DIRECTORY);
>> ?
>> 
>> Doing something based on proc files seems like a reasonable direction to
>> head if we are working on a race free api.
>> 
>> I suspect all we need is a sigqueue file.
>> 
>
> Are you referring to Bryan's rt_sigqueueinfo_fd() syscall or to a
> new /proc/self/sigqueue file ?

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.

Eric



More information about the Containers mailing list