[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180730101659.GA24781@redhat.com>
Date: Mon, 30 Jul 2018 12:17:00 +0200
From: Oleg Nesterov <oleg@...hat.com>
To: Jürg Billeter <j@...ron.ch>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Eric Biederman <ebiederm@...ssion.com>,
linux-api@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] prctl: add PR_[GS]ET_KILLABLE
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.
Powered by blists - more mailing lists