[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200421112831.GD6787@redhat.com>
Date: Tue, 21 Apr 2020 13:28:31 +0200
From: Oleg Nesterov <oleg@...hat.com>
To: Christian Brauner <christian.brauner@...ntu.com>
Cc: "Eric W. Biederman" <ebiederm@...ssion.com>,
linux-kernel@...r.kernel.org,
Linux Containers <containers@...ts.linux-foundation.org>,
Christof Meerwald <cmeerw@...erw.org>
Subject: Re: [PATCH] signal: Avoid corrupting si_pid and si_uid in
do_notify_parent
On 04/21, Oleg Nesterov wrote:
>
> The corner case is release_task() when the last exiting sub-thread sends
> a signal on behalf of its ->group_leader, and at this point all the tsk's
> pid pointers are NULL, that is why "force" can be falsely "true".
Or do_notify_parent() can be called by debugger from the parent namespace,
in this case "force" can be falsely "true" too.
Oleg.
Powered by blists - more mailing lists