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: [Announce][Patch] Enhanced MLS support
From: Chad Hanson <chanson_at_tcs-sec.com>
Date: Wed, 3 Mar 2004 15:24:35 -0500
Here is a version of the init patch with Steve's suggested fixes.
-----Original Message-----
On Tue, 2004-03-02 at 14:44, Chad Hanson wrote:
The init and pam patches will need to go to Dan (cc'd above) for inclusion after we have released a libselinux that includes is_selinux_mls_enabled(). This can happen independently of the kernel support getting into the Fedora kernel, as is_selinux_mls_enabled() will return 0 if /selinux/mls doesn't exist at all. With regard to the init patch, it would likely be cleaner to bracket the snprintf with your test of is_selinux_mls_enabled() and print the entire version string (including -mls suffix if appropriate) once to the policy_file buffer; the separate strncat could theoretically overflow the buffer and is wasteful anyway (having to walk the string again). -- Stephen Smalley <sds@epoch.ncsc.mil> 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 Wed 3 Mar 2004 - 15:25:21 EST |
|
Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009 |