All of lore.kernel.org
 help / color / mirror / Atom feed
* file_contexts/types.fc
@ 2004-08-27 11:41 Russell Coker
  2004-08-27 15:25 ` file_contexts/types.fc Dale Amon
  2004-08-27 21:08 ` file_contexts/types.fc James Carter
  0 siblings, 2 replies; 6+ messages in thread
From: Russell Coker @ 2004-08-27 11:41 UTC (permalink / raw)
  To: SE Linux

[-- Attachment #1: Type: text/plain, Size: 525 bytes --]

The attached patch changes file_contexts/types.fc, it removes a bogus entry 
for /dev/mdsp (it's a DSP board whatever that means, not a hard disk).

It fixes an error in the tape device labelling which missed some entries, and 
it adds a Debian specific entry for fonts.

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

[-- Attachment #2: types.diff --]
[-- Type: text/x-diff, Size: 1343 bytes --]

--- /usr/src/se/policy/file_contexts/types.fc	2004-08-24 16:01:25.000000000 +1000
+++ file_contexts/types.fc	2004-08-27 21:40:43.000000000 +1000
@@ -150,7 +150,6 @@
 /u?dev/ida/[^/]*	-b	system_u:object_r:fixed_disk_device_t
 /u?dev/dasd[^/]*	-b	system_u:object_r:fixed_disk_device_t
 /u?dev/flash[^/]*	-b	system_u:object_r:fixed_disk_device_t
-/u?dev/mdsp.*		-c	system_u:object_r:fixed_disk_device_t
 /u?dev/nb[^/]+		-b	system_u:object_r:fixed_disk_device_t
 /u?dev/ataraid/.*	-b	system_u:object_r:fixed_disk_device_t
 /u?dev/loop.*		-b	system_u:object_r:fixed_disk_device_t
@@ -218,7 +217,7 @@
 /u?dev/amixer.*		-c	system_u:object_r:sound_device_t
 /u?dev/snd/.*		-c	system_u:object_r:sound_device_t
 /u?dev/n?[hs]t[0-9].*	-c	system_u:object_r:tape_device_t
-/u?dev/(n?raw)?[qr]ft[0-3] -c	system_u:object_r:tape_device_t
+/u?dev/n?(raw)?[qr]ft[0-3] -c	system_u:object_r:tape_device_t
 /u?dev/n?z?qft[0-3]	-c	system_u:object_r:tape_device_t
 /u?dev/n?tpqic[12].*	-c	system_u:object_r:tape_device_t
 /u?dev/ht[0-1]		-b	system_u:object_r:tape_device_t
@@ -415,6 +414,9 @@
 # Fonts dir
 #
 /usr/X11R6/lib/X11/fonts(/.*)?		system_u:object_r:fonts_t
+ifdef(`distro_debian', `
+/var/lib/msttcorefonts(/.*)?		system_u:object_r:fonts_t
+')
 /usr/share/fonts(/.*)?			system_u:object_r:fonts_t
 /usr/local/share/fonts(/.*)?		system_u:object_r:fonts_t
 

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

end of thread, other threads:[~2004-08-27 21:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-27 11:41 file_contexts/types.fc Russell Coker
2004-08-27 15:25 ` file_contexts/types.fc Dale Amon
2004-08-27 17:05   ` file_contexts/types.fc Russell Coker
2004-08-27 17:10     ` file_contexts/types.fc Dale Amon
2004-08-27 17:21       ` file_contexts/types.fc Russell Coker
2004-08-27 21:08 ` file_contexts/types.fc James Carter

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.