Skip to contentSkip to conversation

file_type_auto_trans(initrc_t, etc_t, etc_runtime_t)

DISCUSSION Russell Coker 1 participant 1 message Mar 18, 2003 SELinux security module

lore
Share & tools
lore
#0 lore raw

I think that the above policy line should be changed to:
file_type_auto_trans(initrc_t, etc_t, etc_runtime_t, file)

Currently I have a script that creates a symlink under /etc which doesn't need to be in etc_runtime_t. I don't think that there's any need for enabling all file types to be created in etc_runtime_t (especially as there isn't policy to allow other programs to access those types).

I have also changed all other instances of type transitions to etc_runtime_t to refer to "file" class objects in my tree.

Signature · 10 lines
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 [email protected] with
the words "unsubscribe selinux" without quotes as the message.