Research
Skip Research Menus
Research MenuSecurity 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: The sort algorithm is broken by the second rule, We need a way to pin these rules to the top.
From: Stephen Smalley <sds_at_tycho.nsa.gov>
Date: Fri, 31 Mar 2006 14:27:03 -0500
In the old scheme (example policy build), types.fc always went first, followed by the program .fc files in arbitrary order, leaving the ordering as specified within each file, and the goal was to put most generic patterns only in types.fc (manually ordered by the policy writer based on his goal for prioritization) and to minimize use of regexes (particularly ones that were overly broad and lacked a reasonably specific stem) in the individual program .fc files. Not saying that we achieved that goal, but that was the approach. Recent file_contexts seem to have _very_ broad regexes in an attempt to cover many variations, but I think that this isn't good for understanding. -- 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 Fri 31 Mar 2006 - 14:22:27 EST |
|
Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009 |