All of lore.kernel.org
 help / color / mirror / Atom feed
[parent not found: <36282A1733C57546BE392885C0618592AF290B@chaos.tcs.tcs-sec.com>]
* RE: init running at s9 by default on a MLS system?
@ 2005-07-19 18:34 Chad Hanson
  2005-07-19 18:58 ` Daniel J Walsh
  0 siblings, 1 reply; 7+ messages in thread
From: Chad Hanson @ 2005-07-19 18:34 UTC (permalink / raw)
  To: Daniel J Walsh, Chad Hanson; +Cc: Paul Moore, selinux


> >
> How do you specify in policy that kernel_t transitions to 
> init_t but at 
> level s0?
> 

Like as follows:

# run init_t at OS_LO-OS_HI
range_transition kernel_t init_exec_t s0 - s9:c0.c127;

-Chad

--
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.

^ permalink raw reply	[flat|nested] 7+ messages in thread
* RE: init running at s9 by default on a MLS system?
@ 2005-07-19 16:28 Chad Hanson
  2005-07-19 18:23 ` Daniel J Walsh
  0 siblings, 1 reply; 7+ messages in thread
From: Chad Hanson @ 2005-07-19 16:28 UTC (permalink / raw)
  To: Paul Moore, selinux

Hi Paul,

I would agree the disk partitions should be at s9. The init process should
probably be at s0. We need to work on providing more updates for this
policy.

-Chad

> -----Original Message-----
> From: Paul Moore [mailto:paul.moore@hp.com]
> Sent: Friday, July 15, 2005 12:03 PM
> To: selinux@tycho.nsa.gov
> Subject: init running at s9 by default on a MLS system?
> 
> 
> Hello,
> 
> I have been playing with Dan Walsh's MLS policy RPM on Fedora Rawhide 
> and I noticed on the later versions that init is running at level s9 
> which appears to be causing some problems.  The particular issue I am 
> dealing with right now is when fsck (as run from 
> /etc/rc.d/rc.sysinit) 
> tries to check all of the filesystems in /etc/fstab.  The 
> problem lies 
> in the fact that the disk partitions in /dev are all labeled 
> at s0 and 
> fsck is trying to open them with write access.  Needless to say the 
> policy is correct for the strict policy but as soon as you 
> introduce the 
> different levels you run into problems.
> 
> My question is this: should init be running at s9 and if so should we 
> relabel the partitions to be at s9 as well?
> 
> -- 
> . paul moore . . . . . . . . . . . . . . . . . . . . . . . . 
> . . . . . .
> . paul.moore@hp.com                                      
> hewlett packard
> . (603) 884-5056                                          
> linux security
> 
> --
> 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.
> 

--
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.

^ permalink raw reply	[flat|nested] 7+ messages in thread
* init running at s9 by default on a MLS system?
@ 2005-07-15 17:03 Paul Moore
  0 siblings, 0 replies; 7+ messages in thread
From: Paul Moore @ 2005-07-15 17:03 UTC (permalink / raw)
  To: selinux

Hello,

I have been playing with Dan Walsh's MLS policy RPM on Fedora Rawhide 
and I noticed on the later versions that init is running at level s9 
which appears to be causing some problems.  The particular issue I am 
dealing with right now is when fsck (as run from /etc/rc.d/rc.sysinit) 
tries to check all of the filesystems in /etc/fstab.  The problem lies 
in the fact that the disk partitions in /dev are all labeled at s0 and 
fsck is trying to open them with write access.  Needless to say the 
policy is correct for the strict policy but as soon as you introduce the 
different levels you run into problems.

My question is this: should init be running at s9 and if so should we 
relabel the partitions to be at s9 as well?

-- 
. paul moore . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. paul.moore@hp.com                                      hewlett packard
. (603) 884-5056                                          linux security

--
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.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-07-20 20:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <36282A1733C57546BE392885C0618592AF2A17@chaos.tcs.tcs-sec.com>
2005-07-20 20:26 ` init running at s9 by default on a MLS system? Paul Moore
     [not found] <36282A1733C57546BE392885C0618592AF290B@chaos.tcs.tcs-sec.com>
2005-07-20 18:51 ` Paul Moore
2005-07-19 18:34 Chad Hanson
2005-07-19 18:58 ` Daniel J Walsh
  -- strict thread matches above, loose matches on Subject: below --
2005-07-19 16:28 Chad Hanson
2005-07-19 18:23 ` Daniel J Walsh
2005-07-15 17:03 Paul Moore

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.