Skip to contentSkip to conversation

MLS policy

DISCUSSION Russell Coker 2 participants 3 messages Oct 13, 2005 SELinux security module

lore
Share & tools
lore
#0 lore raw

Currently a default root login gets a default level of s2. This means that daemons initially run with the range s0-s9 but run with the range s2-s9 after being restarted. Should we have range-transition rules in the daemon_domain family of macros to deal with this?

What is the benefit of assigning root the default level of s2 anyway?

range_transition kernel_t init_exec_t s0 - s9:c0.c255;

Currently we have the above in the MLS policy. Is it desired that we only use up to s9 (highest level is s15)? Or was it an oversight that the above line was not changed when the extra levels were added?

Signature · 9 lines
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#1 lore raw
Quoted 7 lines · Russell Coker

Currently a default root login gets a default level of s2. This means that daemons initially run with the range s0-s9 but run with the range s2-s9 after being restarted. Should we have range-transition rules in the daemon_domain family of macros to deal with this?

What is the benefit of assigning root the default level of s2 anyway?

range_transition kernel_t init_exec_t s0 - s9:c0.c255;

Oversite

Quoted 3 lines

Currently we have the above in the MLS policy. Is it desired that we only use up to s9 (highest level is s15)? Or was it an oversight that the above line was not changed when the extra levels were added?

Signature · 4 lines
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#2 lore raw
In reply to Russell Coker
Quoted 3 lines · Russell Coker

Currently a default root login gets a default level of s2. This means that daemons initially run with the range s0-s9 but run with the range s2-s9 after being restarted. Should we have range-transition rules in the daemon_domain family of macros to deal with this?

Shouldn't be, this is a bad build.

Policy 16 fixes it.

Quoted 7 lines

What is the benefit of assigning root the default level of s2 anyway?

range_transition kernel_t init_exec_t s0 - s9:c0.c255;

Currently we have the above in the MLS policy. Is it desired that we only use up to s9 (highest level is s15)? Or was it an oversight that the above line was not changed when the extra levels were added?

Signature · 4 lines
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.