Security Enhanced Linux
What's New
Frequently Asked Questions
Background
Documents
License
Download
Participating
Mail List
Archives
Remaining Work
Contributors
Related Work
Press Releases
Information Assurance Research
NIARL In-house Research Areas
Mathematical Sciences Program
Sabbaticals
Computer & Information Sciences Research
Technology Transfer
Advanced Computing
Advanced Mathematics
Communications & Networking
Information Processing
Microelectronics
Other Technologies
Technology Fact Sheets
Publications
Related Links
|
SELinux Mailing ListRe: Fedora Rawhide mplayer policy
From: Russell Coker <russell_at_coker.com.au>
Date: Sun, 23 Jan 2005 22:17:47 +1100
ifdef(`mplayer.te', `mplayer_domain($1)') ifdef(`mplayer.te', `mencoder_domain($1)')
The above is better written as:
It might be better still to have the mplayer_domain() macro just call the mencoder_domain() macro. Why have a special type for the mplayer configuration files? Is it expected that secret data will be in such files or that programs which are not permitted to write to other files under /etc will be permitted to write to them? dontaudit $1_mplayer_t *:dir_file_class_set { getattr }; The "*" should be replaced by "file_type" to reduce the size of the policy binary. It seems that the main benefit given by the mplayer domain is to prevent user_t from reading /dev/rtc. But that is minimal, maybe it would be better to just have a tunable for whether userdomain should be permitted to read clock_device_t:chr_file. mencoder may be a different case however as it's got to write data and read from V4L devices etc. -- 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.Received on Sun 23 Jan 2005 - 06:18:27 EST |
|
Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009 |