file_contexts/types.fc
Subsystems (2)
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.
Signature · 4 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
types.fc renamed from usr/src/se/policy/file_contexts/types.fc +4 -2
@@ -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
Quoted 1 line · Russell Coker
for
/dev/mdsp(it's a DSP board whatever that means, not a hard disk).
It usually means Digital Signal Processor.
Signature · 7 lines
------------------------------------------------------ Dale Amon [email protected] +44-7802-188325 International linux systems consultancy Hardware & software system design, security and networking, systems programming and Admin "Have Laptop, Will Travel" ------------------------------------------------------
Quoted 4 lines · Dale Amon
Quoted 1 line · Russell Coker
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. ;)
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.
Quoted 6 lines · Russell Coker
Quoted 1 line
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/videoprocessing)?
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...
Signature · 7 lines
------------------------------------------------------ Dale Amon [email protected] +44-7802-188325 International linux systems consultancy Hardware & software system design, security and networking, systems programming and Admin "Have Laptop, Will Travel" ------------------------------------------------------
Quoted 8 lines · Dale Amon
Quoted 6 lines · Russell Coker
Quoted 1 line
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/videoprocessing)?
Quoted 5 lines
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.
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.
Thanks. Merged.
Quoted 5 lines · Russell Coker
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.
Signature · 7 lines
James Carter <[email protected]> National Security Agency -- 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.