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: Bug in the semanage user management code or genhomedircon?
From: Stephen Smalley <sds_at_tycho.nsa.gov>
Date: Fri, 17 Mar 2006 07:46:46 -0500
It is supplied by an auxiliary file, users_extra, that is now an optional part of the policy module package format, to provide an explicit mapping from SELinux users to labeling prefixes. The original genhomedircon was (improperly) making assumptions about the significance of the ordering of roles in the policy/users file (as that ordering had no inherent meaning to SELinux and was lost upon policy compilation) and naturally also required access to that source file, whereas it now uses libsemanage to access an explicit mapping file supplied with the policy.
# cat /etc/selinux/mls/modules/active/users_extra
user user_u prefix user;
-- 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 17 Mar 2006 - 07:41:47 EST |
|
Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009 |