makemap
/usr/bin/makemap system_u:object_r:sbin_t
What is the above entry in types.fc about? Is there a hard-link between a file in /usr/sbin and /usr/bin?
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.
Quoted 4 lines · Russell Coker
/usr/bin/makemapsystem_u:object_r:sbin_tWhat is the above entry in types.fc about? Is there a hard-link between a file in
/usr/sbinand/usr/bin?
IIRC, this was a hard link to /usr/sbin/makemap in an older version of RH, but it appears to now be a symlink, so this isn't really necessary anymore.
Signature · 8 lines
Stephen Smalley <[email protected]> National Security Agency -- 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.
Quoted 9 lines · Stephen Smalley
Quoted 4 lines · Russell Coker
/usr/bin/makemapsystem_u:object_r:sbin_tWhat is the above entry in types.fc about? Is there a hard-link between a file in
/usr/sbinand/usr/bin?IIRC, this was a hard link to
/usr/sbin/makemapin an older version of RH, but it appears to now be a symlink, so this isn't really necessary anymore.
Great. I've deleted it from my tree.
If anyone knows of any other file_contexts entries that are now obsolete because of newer versions of Linux distributions then please let me know. setfiles time is directly proportional to the size of the file_contexts file, so anything we can remove will make setfiles faster.
For those of you who were wondering, even with my recent patch setfiles is much slower than it used to be. We have added lots of new policy, and the policy that is there has been made more complete. This meant adding lots of new file_contexts entries. I am not trying to get it to the situation where disk IO speed is the bottleneck.
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.