All of lore.kernel.org
 help / color / mirror / Atom feed
* ls -Z on non-SE machine
@ 2005-05-15  9:21 Russell Coker
  2005-05-15 10:27 ` Luke Kenneth Casson Leighton
  2005-05-16 11:31 ` Stephen Smalley
  0 siblings, 2 replies; 9+ messages in thread
From: Russell Coker @ 2005-05-15  9:21 UTC (permalink / raw)
  To: SELinux

Currently "ls -Z" refuses to operate if it detects that SE Linux is not 
enabled on the machine.

This makes no sense to me.  Files that are labelled when running SE Linux keep 
their labels (and the values of such labels may still be read) when not 
running SE Linux.  It seems quite reasonable to me that an administrator may 
want to take a disk out of a SE Linux machine and mount it on a non-SE 
machine for debugging problems or forensics.  The current behavior of ls 
works against such operations.

I believe that the best thing to do is to have ls not be linked against 
libselinux and instead just call the XATTR api for reading the file contexts.  
Ideally I think that such functionality should be enabled unconditionally so 
that any administrator who receives a disk that was used on a SE Linux system 
will have the ability to conveniently view all the data on it.

-- 
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page

--
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.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-05-16 12:36 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-15  9:21 ls -Z on non-SE machine Russell Coker
2005-05-15 10:27 ` Luke Kenneth Casson Leighton
2005-05-15 10:56   ` Ivan Gyurdiev
2005-05-15 11:16     ` Luke Kenneth Casson Leighton
2005-05-15 11:11   ` Russell Coker
2005-05-15 16:37     ` Luke Kenneth Casson Leighton
2005-05-16 11:31 ` Stephen Smalley
2005-05-16 11:48   ` Russell Coker
2005-05-16 12:36     ` Stephen Smalley

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.