* 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
* Re: file_contexts/types.fc
2004-08-27 11:41 file_contexts/types.fc Russell Coker
@ 2004-08-27 15:25 ` Dale Amon
2004-08-27 17:05 ` file_contexts/types.fc Russell Coker
2004-08-27 21:08 ` file_contexts/types.fc James Carter
1 sibling, 1 reply; 6+ messages in thread
From: Dale Amon @ 2004-08-27 15:25 UTC (permalink / raw)
To: Russell Coker; +Cc: SE Linux
[-- Attachment #1: Type: text/plain, Size: 543 bytes --]
On Fri, Aug 27, 2004 at 09:41:36PM +1000, Russell Coker wrote:
> for /dev/mdsp (it's a DSP board whatever that means, not a hard disk).
It usually means Digital Signal Processor.
--
------------------------------------------------------
Dale Amon amon@islandone.org +44-7802-188325
International linux systems consultancy
Hardware & software system design, security
and networking, systems programming and Admin
"Have Laptop, Will Travel"
------------------------------------------------------
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: file_contexts/types.fc
2004-08-27 15:25 ` file_contexts/types.fc Dale Amon
@ 2004-08-27 17:05 ` Russell Coker
2004-08-27 17:10 ` file_contexts/types.fc Dale Amon
0 siblings, 1 reply; 6+ messages in thread
From: Russell Coker @ 2004-08-27 17:05 UTC (permalink / raw)
To: Dale Amon; +Cc: SE Linux
On Sat, 28 Aug 2004 01:25, Dale Amon <amon@vnl.com> wrote:
> On Fri, Aug 27, 2004 at 09:41:36PM +1000, Russell Coker wrote:
> > for /dev/mdsp (it's a DSP board whatever that means, not a hard disk).
>
> It usually means Digital Signal Processor.
Yes, the issue however is what a DSP board is. Is it a software modem/sound
card device (like the MWave cards in older Thinkpads)? Is it a numeric
co-processor for offloading some computations from the main CPU (useful for
sound/video processing)?
What uses this board? What does it use it for?
Without answers to these questions we can't do anything about assigning a type
to it apart from determining that it's not a hard disk. ;)
--
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] 6+ messages in thread
* Re: file_contexts/types.fc
2004-08-27 17:05 ` file_contexts/types.fc Russell Coker
@ 2004-08-27 17:10 ` Dale Amon
2004-08-27 17:21 ` file_contexts/types.fc Russell Coker
0 siblings, 1 reply; 6+ messages in thread
From: Dale Amon @ 2004-08-27 17:10 UTC (permalink / raw)
To: Russell Coker; +Cc: Dale Amon, SE Linux
[-- Attachment #1: Type: text/plain, Size: 950 bytes --]
On Sat, Aug 28, 2004 at 03:05:02AM +1000, Russell Coker wrote:
> > It usually means Digital Signal Processor.
>
> Yes, the issue however is what a DSP board is. Is it a software modem/sound
> card device (like the MWave cards in older Thinkpads)? Is it a numeric
> co-processor for offloading some computations from the main CPU (useful for
> sound/video processing)?
The only ones I'm familiar with were boards that
had one or more DSP chips on them for massive
offboard general purpose signal processing. There
was a dandy one for NeXT's from IRCAM many years
back...
--
------------------------------------------------------
Dale Amon amon@islandone.org +44-7802-188325
International linux systems consultancy
Hardware & software system design, security
and networking, systems programming and Admin
"Have Laptop, Will Travel"
------------------------------------------------------
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: file_contexts/types.fc
2004-08-27 17:10 ` file_contexts/types.fc Dale Amon
@ 2004-08-27 17:21 ` Russell Coker
0 siblings, 0 replies; 6+ messages in thread
From: Russell Coker @ 2004-08-27 17:21 UTC (permalink / raw)
To: Dale Amon; +Cc: SE Linux
On Sat, 28 Aug 2004 03:10, Dale Amon <amon@vnl.com> wrote:
> On Sat, Aug 28, 2004 at 03:05:02AM +1000, Russell Coker wrote:
> > > It usually means Digital Signal Processor.
> >
> > Yes, the issue however is what a DSP board is. Is it a software
> > modem/sound card device (like the MWave cards in older Thinkpads)? Is it
> > a numeric co-processor for offloading some computations from the main CPU
> > (useful for sound/video processing)?
>
> The only ones I'm familiar with were boards that
> had one or more DSP chips on them for massive
> offboard general purpose signal processing. There
> was a dandy one for NeXT's from IRCAM many years
> back...
Maybe for that sort of thing a type external_processor_device_t type would do.
If the DSP in question is the same as the one from the NEXT.
--
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] 6+ messages in thread
* Re: file_contexts/types.fc
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 21:08 ` James Carter
1 sibling, 0 replies; 6+ messages in thread
From: James Carter @ 2004-08-27 21:08 UTC (permalink / raw)
To: russell; +Cc: SELinux
Thanks. Merged.
On Fri, 2004-08-27 at 07:41, Russell Coker wrote:
> 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.
--
James Carter <jwcart2@epoch.ncsc.mil>
National Security Agency
--
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] 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.