Thread (49 messages) flat view 49 messages, 11 authors, 2018-11-20

Re: [PATCH] proc: allow killing processes via file descriptors

From: Daniel Colascione <hidden>
Date: 2018-11-19 06:42:48
Also in: linux-fsdevel, lkml

On Sun, Nov 18, 2018 at 12:15 PM, Christian Brauner
[off-list ref] wrote:
quoted
That is, I'm proposing an API that looks like this:

int process_kill(int procfs_dfd, int signo, const union sigval value)
I've started a second tree with process_signal(int procpid_dfd, int sig)
Thanks.
instead of an ioctl(). Why do you want sigval too?
API completeness. The sigqueue interface is a superset of kill, and I
don't want process_kill to do less than any PID-based kill. Maybe
taking a siginfo_t, like rt_sigqueueinfo does, would be even better in
that respect, come to think of it.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help