From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755856AbbCFPsB (ORCPT ); Fri, 6 Mar 2015 10:48:01 -0500 Received: from resqmta-ch2-09v.sys.comcast.net ([69.252.207.41]:49641 "EHLO resqmta-ch2-09v.sys.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755642AbbCFPr5 (ORCPT ); Fri, 6 Mar 2015 10:47:57 -0500 X-Authority-Analysis: v=2.1 cv=GIqGE49K c=1 sm=1 tr=0 a=P1/czelPj/zYsqkqtI4LGg==:117 a=P1/czelPj/zYsqkqtI4LGg==:17 a=PuvxfXWCAAAA:8 a=C_IRinGWAAAA:8 a=GGcpBh7Jt_oA:10 a=wPDyFdB5xvgA:10 a=NufY4J3AAAAA:8 a=emO1SXQWCLwA:10 a=nlC_4_pT8q9DhB4Ho9EA:9 a=cz2ZRIgtxKwA:10 a=wJWlkF7cXJYA:10 a=c3-DdYJoA5YA:10 a=VxL_b3deXJuTAqApXNYA:9 a=QEXdDO2ut3YA:10 Date: Fri, 6 Mar 2015 09:47:54 -0600 (CST) From: Christoph Lameter X-X-Sender: cl@gentwo.org To: Andy Lutomirski cc: Jarkko Sakkinen , Andrew Morton , LSM List , "Andrew G. Morgan" , Michael Kerrisk , Mimi Zohar , "linux-kernel@vger.kernel.org" , Austin S Hemmelgarn , Aaron Jones , Serge Hallyn , "Serge E. Hallyn" , Markku Savela , Linux API , Jonathan Corbet Subject: Re: [PATCH] capabilities: Ambient capability set V2 In-Reply-To: Message-ID: References: <20150301233359.GA22196@mail.hallyn.com> <20150305171326.GA14998@mail.hallyn.com> Content-Type: MULTIPART/MIXED; BOUNDARY="8323329-2063140391-1425656874=:8136" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-2063140391-1425656874=:8136 Content-Type: TEXT/PLAIN; charset=UTF-8 Content-Transfer-Encoding: 8BIT 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? --8323329-2063140391-1425656874=:8136--