USB device files
Is there any way of automatically labelling the device nodes on the usbdevfs which is mounted on /proc/bus/usb for USB systems?
Something like the method used for devfs would be good for the next release...
Signature · 9 lines
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/projects.html Projects I am working on http://www.coker.com.au/~russell/ My home page -- You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 4 lines · Russell Coker
Is there any way of automatically labelling the device nodes on the usbdevfs which is mounted on
/proc/bus/usbfor USB systems?Something like the method used for devfs would be good for the next release...
Do you have any suggestions as to what a reasonable file labeling hierarchy might look like for usbdevfs? I'm not sure what types to define and assign in the example policy.
I would also like to have a more general mechanism for some of these pseudo filesystem types. Unfortunately, there doesn't seem to be a lot of commonality among them in terms of the appropriate file labeling behavior. Perhaps we could generalize the current devfs labeling support to also address usbdevfs? We might also want to use this support for the portions of /proc outside of the /proc/PID directories (which should continue to inherit their SID from associated task) and the /proc/sys tree (which should use the same SID as the corresponding sysctl variable).
--
Stephen D. Smalley, NAI Labs
[email protected]
--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.