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: libsemanage patch to make seusers world readable.
From: Stephen Smalley <sds_at_tycho.nsa.gov>
Date: Thu, 08 Dec 2005 08:07:40 -0500
libsemanage needs a saner way of setting the modes on the files it
installs. The installed files presently include the kernel policy file,
the file_contexts file, the homedir_template file, and the seusers file.
Options are:
Also, it occurs to me that libsemanage doesn't presently do anything about setting file contexts for these files, so they always just inherit the default (parent directory type or transition type if one is defined in policy). I think that is currently ok since that is the current labeling anyway for these files, but it could be a problem if we later introduce distinct types for e.g. seusers. Likely should be doing a matchpathcon() and setfscreatecon() when creating the new file (or setfilecon prior to renaming it into place, as long as it is adequately protected while within the sandbox). Thoughts? -- Stephen Smalley National Security Agency -- 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 Thu 8 Dec 2005 - 08:08:02 EST |
|
Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009 |