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: [patch] enhanced MLS support
From: James Morris <jmorris_at_redhat.com>
Date: Sun, 23 Jan 2005 13:44:17 -0500 (EST)
> Replaced the existing MLS logic with a flexible system based on the current Do you plan to add support for integrity labels? What about releasibility labels?
> The compile time options for MLS support have been replaced with runtime This looks good from the kernel side, and I don't imagine there will be any real performance issues with all of the runtime checks, given the base impact of SELinux. One technical nit (in both kernel and user code): +int mls_setup_user_levels(struct context *fromcon, struct user_datum *user, + struct context *usercon) +{ + struct mls_level *fromcon_sen = &(fromcon->range.level[0]); + struct mls_level *fromcon_clr = &(fromcon->range.level[1]); + struct mls_level *user_low = &(user->range.level[0]); + struct mls_level *user_clr = &(user->range.level[1]); + struct mls_level *user_def = &(user->dfltlevel); + struct mls_level *usercon_sen = &(usercon->range.level[0]); + struct mls_level *usercon_clr = &(usercon->range.level[1]); + + if (selinux_mls_enabled) { The mls_level definitions & assignments should be in the conditional section.
-- 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 - 13:44:27 EST |
|
Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009 |