Thread (16 messages) flat view 16 messages, 5 authors, 2018-09-06

Re: [PATCH] prctl: add PR_[GS]ET_KILLABLE

From: Oleg Nesterov <oleg@redhat.com>
Date: 2018-07-30 10:17:04
Also in: lkml

On 07/30, Jürg Billeter wrote:
This is required for job control in a shell that uses CLONE_NEWPID for
child processes.
Could you explain in more details?
+	case PR_SET_KILLABLE:
+		if (arg2 != 1 || arg3 || arg4 || arg5)
+			return -EINVAL;
+		me->signal->flags &= ~SIGNAL_UNKILLABLE;
this needs spin_lock_irq(me->sighand->siglock).

Oleg.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help