[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090501005018.63C12FC3BF@magilla.sf.frob.com>
Date: Thu, 30 Apr 2009 17:50:18 -0700 (PDT)
From: Roland McGrath <roland@...hat.com>
To: David Howells <dhowells@...hat.com>
Cc: Oleg Nesterov <oleg@...hat.com>,
Eric Paris <eparis@...isplace.org>,
James Morris <jmorris@...ei.org>,
Stephen Smalley <sds@...ho.nsa.gov>,
linux-kernel@...r.kernel.org
Subject: Re: Q: selinux_bprm_committed_creds() && signals/do_wait
> I believe it's something to do with the binfmt driver needing to access files
> in the old security context between calling flush_old_exec() and calling
> install_exec_creds() [compute_creds() as was]. It can't do some of the
> accesses before calling flush_old_exec() because it has to do funky things
> with mmap().
This doesn't make too much sense to me off hand. These accesses must
already be specially magical for unreadable setuid (--s) files to work.
Thanks,
Roland
--
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