insmod needs to write to /proc/sys/kernel/tainted
In the current default policy the insmod_t domain is explicitely prohibited from writing to sysctl_kernel_t objects.
What is the best way of resolving this? Should I change the type of /proc/sys/kernel/tainted?
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 5 lines · Russell Coker
In the current default policy the
insmod_tdomain is explicitely prohibited from writing tosysctl_kernel_tobjects.What is the best way of resolving this? Should I change the type of
/proc/sys/kernel/tainted?
Given the privileged nature of the insmod_t domain, it is probably fine to directly grant it permission to sysctl_kernel_t and adjust the corresponding TE assertion to accept this. We could define a new type for the tainted flag, but I'm not sure it is worthwhile.
--
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.