[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7242.1240999370@redhat.com>
Date: Wed, 29 Apr 2009 11:02:50 +0100
From: David Howells <dhowells@...hat.com>
To: Oleg Nesterov <oleg@...hat.com>
Cc: dhowells@...hat.com, James Morris <jmorris@...ei.org>,
Eric Paris <eparis@...isplace.org>,
Roland McGrath <roland@...hat.com>,
Stephen Smalley <sds@...ho.nsa.gov>,
linux-kernel@...r.kernel.org
Subject: Re: Q: selinux_bprm_committed_creds() && signals/do_wait
Oleg Nesterov <oleg@...hat.com> wrote:
> we can flush the signal which was sent after we changed SID/cred and passed
> the new permission checks,
I think you mean to say, rather, that we can *lose* a signal that was sent,
because flush_signals() discards all pending signals unconditionally, and so
SIGKILL can be lost?
I suspect we should pass SIGKILL and possibly SIGSTOP through the flush.
David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists