Re: [PATCH v2] signal: add procfd_signal() syscall

From: Florian Weimer
Date: Thu Dec 06 2018 - 13:56:56 EST


* Andy Lutomirski:

>> I suppose that's fine. Or alternatively, when thread group support is
>> added, introduce a flag that applications have to use to enable it, so
>> that they can probe for support by checking support for the flag.
>>
>> I wouldn't be opposed to a new system call like this either:
>>
>> int procfd_open (pid_t thread_group, pid_t thread_id, unsigned flags);
>>
>> But I think this is frowned upon on the kernel side.
>
> I have no problem with it, except that I think it shouldnât return an
> fd that can be used for proc filesystem access.

Oh no, my intention was that it would just be used with *_send_signal
and related functions.

Thanks,
Florian