From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mummy.ncsc.mil (mummy.ncsc.mil [144.51.88.129]) by tycho.ncsc.mil (8.12.8/8.12.8) with ESMTP id i9JIPxrT001483 for ; Tue, 19 Oct 2004 14:25:59 -0400 (EDT) Received: from open.hands.com (jazzhorn.ncsc.mil [144.51.5.9]) by mummy.ncsc.mil (8.12.10/8.12.10) with ESMTP id i9JIOivJ008374 for ; Tue, 19 Oct 2004 18:24:45 GMT Date: Tue, 19 Oct 2004 19:36:46 +0100 From: Luke Kenneth Casson Leighton To: Daniel J Walsh Cc: Thomas Bleher , Stephen Smalley , SELinux Subject: Re: Adding alternate root patch to restorecon (setfiles?) Message-ID: <20041019183646.GC19398@lkcl.net> References: <41741A2C.8040408@redhat.com> <20041018205136.GA2536@jmh.mhn.de> <41751792.4060207@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <41751792.4060207@redhat.com> Sender: owner-selinux@tycho.nsa.gov List-Id: selinux@tycho.nsa.gov On Tue, Oct 19, 2004 at 09:33:06AM -0400, Daniel J Walsh wrote: > Thomas Bleher wrote: > Good point, good thing I never put out a patched version. We need ideas > on the best way to do something > like this. um... what happens if a user runs restorecon in a chroot environment that they create? as an ordinary user, can they cp /lib/* and have the context preserved on their copy of libc.so.6? just trying that now... no, it says setting attribute "security.selinux" for /home/sez/libc6.so.6': permission denied. is there any concievable way round that? [i hope not!] l. -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message.