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: [RFC & PATCH] inherited type definition.
From: Stephen Smalley <sds_at_tycho.nsa.gov>
Date: Thu, 17 Mar 2005 15:07:43 -0500
Hmm...I wouldn't quite expect such a statement from the creators of conditional policy support and binary policy modules ;)
> One of the stated uses for this patch is to allow naïve users to create a policy It would allow easy expression of union types, per the earlier discussion in the thread on multiple contexts (but in a way that is analyzable based on policy rather than filesystem state).
> With the extends syntax the entire policy must be examined to This isn't fundamentally different from type attributes, particularly as the patch is implemented as a minor refinement on attributes. In effect, every type becomes an implicitly defined attribute that expands to itself and any descendants. And if KaiGai does change the patch to require use of the @ prefix to explicitly cause expansion of the type, with no expansion by default, it seems fairly straightforward to identify all relevant rules that might be affected by an extends declaration. Other important point is that it has no impact on the binary policy representation, so analysis based on binary policy remains unchanged.
> Macros are not perfect, but there is some hope that a single macro Attributes, set difference, and set complement make this problematic already, right?
> I think that it is better to only add policy syntax when it solves a problem There is presently no way to easily express a union of multiple types. -- Stephen Smalley <sds@tycho.nsa.gov> 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 17 Mar 2005 - 15:21:32 EST |
|
Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009 |