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: policy version
From: Stephen Smalley <sds_at_tislabs.com>
Date: Tue, 1 Oct 2002 08:50:25 -0400 (EDT)
On Tue, 1 Oct 2002, Tom wrote:
> I built a fresh kernel from 2.4.19-lsm1 sources today, so the kernel Not if you are using policy version 12. That change didn't occur until the aforementioned patch that I posted, when the access vector definitions changed. If that patch was merged into the Debian selinux packages, then you should have a new kernel that uses policy version 12. If you are building the old kernel sources from the release but trying to use a newer checkpolicy+policy, then you naturally have a problem.
> I'm not sure what to think about the actual behaviour of the system, If you build your kernel without the development module option (i.e. always in enforcing mode, no way to switch into permissive mode), then it will panic if it cannot load a policy after mounting the root filesystem. If you build your kernel with the development module option, then it only issues a warning if it cannot load a policy and SELinux is effectively off until you either explicitly load a policy via load_policy or you try to toggle into enforcing mode via avc_toggle. I suppose that we could change the latter case so that if you boot with enforcing=1, then it will also panic if no policy is present. I don't see the behavior that you describe when booting without a valid policy. -- Stephen D. Smalley, NAI Labs ssmalley@nai.com -- 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 Tue 1 Oct 2002 - 09:07:01 EDT |
|
Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009 |