All of lore.kernel.org
 help / color / mirror / Atom feed
* genfscon and /boot
@ 2003-10-16 11:09 Russell Coker
  2003-10-16 12:55 ` Stephen Smalley
  2003-10-16 16:02 ` Dale Amon
  0 siblings, 2 replies; 7+ messages in thread
From: Russell Coker @ 2003-10-16 11:09 UTC (permalink / raw)
  To: SE Linux

Currently the Red Hat kernels are compiled with Ext2 having no support for 
XATTR or ACLs.  This is convenient when dealing with boot loaders that don't 
support XATTR (such as the old Cobalt boot ROMs) as you can make /boot an 
ext2 file system and not risk making the machine unbootable.

The Sun/Cobalt people are aware of this issue and it will hopefully be 
resolved soon, but we still want a solution to this as probably not all 
hardware will get the bugs fixed soon enough.  Also some people who own 
Cobalt hardware may not desire a ROM upgrade.

Now for /boot to have appropriate labels we need genfs entries for it.  
Currently the genfs does not seem to support giving a different label to 
System.map* files (needed for ps to display the wchan and for kogd) and the 
other files (which need restricted access).  I tried the following genfs 
lines to no avail:

genfscon ext2 /                        system_u:object_r:boot_t
genfscon ext2 /System.map-             system_u:object_r:system_map_t

To get this working as desired we need to either change genfs to support 
appropriate labeling, or to change distributions to have System.map in 
another file system.  Having the System.map in a different file system may 
make sense anyway as we would probably prefer not to have /boot mounted in 
normal operation, but we do want to have System.map available all the time.

-- 
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 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:[~2003-10-16 16:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-16 11:09 genfscon and /boot Russell Coker
2003-10-16 12:55 ` Stephen Smalley
2003-10-16 14:50   ` Russell Coker
2003-10-16 15:01     ` Stephen Smalley
2003-10-16 15:21       ` Russell Coker
2003-10-16 16:02 ` Dale Amon
2003-10-16 16:22   ` Russell Coker

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.