[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.11.1503060944570.8136@gentwo.org>
Date: Fri, 6 Mar 2015 09:47:54 -0600 (CST)
From: Christoph Lameter <cl@...ux.com>
To: Andy Lutomirski <luto@...capital.net>
cc: Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>,
Andrew Morton <akpm@...uxfoundation.org>,
LSM List <linux-security-module@...r.kernel.org>,
"Andrew G. Morgan" <morgan@...nel.org>,
Michael Kerrisk <mtk.manpages@...il.com>,
Mimi Zohar <zohar@...ux.vnet.ibm.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Austin S Hemmelgarn <ahferroin7@...il.com>,
Aaron Jones <aaronmdjones@...il.com>,
Serge Hallyn <serge.hallyn@...onical.com>,
"Serge E. Hallyn" <serge@...lyn.com>,
Markku Savela <msa@...h.iki.fi>,
Linux API <linux-api@...r.kernel.org>,
Jonathan Corbet <corbet@....net>
Subject: Re: [PATCH] capabilities: Ambient capability set V2
On Thu, 5 Mar 2015, Andy Lutomirski wrote:
> > Yes due to the library issues.
>
> You can't LD_PRELOAD and fP together. And I'm still unconvinced that
> ambient caps can ever be safe in conjunction with fP. I'll grill you
> next week on what you're trying to do that makes you want this :)
>From the ld.so manpage:
LD_PRELOAD
A whitespace-separated list of additional, user-specified, ELF shared
libraries to be loaded before all others. This can be used to selec‐
tively override functions in other shared libraries. For setuid/set‐
gid ELF binaries, only libraries in the standard search directories
that are also setgid will be loaded.
So this mechanism has not been made to work for binaries with caps? We
have to keep using setuid?
Powered by blists - more mailing lists