All of lore.kernel.org
 help / color / mirror / Atom feed
* Diamond Rio 500 and other device nodes
@ 2003-10-29 15:27 Russell Coker
  2003-10-30  3:58 ` Diyab
  0 siblings, 1 reply; 5+ messages in thread
From: Russell Coker @ 2003-10-29 15:27 UTC (permalink / raw)
  To: SE Linux

What do you think is the correct type for the device node for the "Diamond Rio 
500" (/dev/usb/rio500)?

It's a portable MP3 player and storage device with a USB interface, so I think 
that removable_device_t is appropriate, in concept it's similar to a floppy 
disk drive.

Also I've used scanner_device_t for USB digital cameras, I think of a camera 
as a portable scanner.  ;)  But I guess a case could be made for considering 
digital cameras to be removable storage.


I have been considering whether I should merge the v4l_device_t device nodes 
with those for scanners.  However I think that although the concept is the 
same the likely use is different.  Having one program to use v4l to control a 
security system while another program acts as a scanner server is likely, 
while it's likely that a program which is authorised for accessing a scanner 
will also be authorised for digital cameras.

-- 
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] 5+ messages in thread

end of thread, other threads:[~2003-10-30 16:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-29 15:27 Diamond Rio 500 and other device nodes Russell Coker
2003-10-30  3:58 ` Diyab
2003-10-30 14:33   ` Russell Coker
2003-10-30 16:02     ` Stephen Smalley
2003-10-30 16:23       ` 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.