[prev in list] [next in list] [prev in thread] [next in thread] 

List:       selinux
Subject:    Re: is_selinux_enabled in fileutils
From:       Russell Coker <russell () coker ! com ! au>
Date:       2003-09-29 13:47:04
[Download RAW message or body]

On Mon, 29 Sep 2003 22:22, Daniel J Walsh wrote:
> if selinux
> setfscreatecon
> output file
> setxattr
> else
> output file

Of course there are some potential issues if the machine crashes at this 
point.  However if you are running a SE Linux machine in non-SE mode then you 
probably have bigger problems than this.  Also the old SE Linux with 
the ...security directory had problems like this on unexpected crashes, and 
I'm not sure that the use of XATTR's will solve this problem.

> setxattr
> end

-- 
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.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic