Hi,
I'm writing a driver which registers a number of device attributes in
sysfs. The permissions are set when calling DEVICE_ATTR macro.
My concern is that the users of that driver might be willing to set
different permissions for the device (for security reasons). Some of the
attributes fall under these security reasons and should therefore have
the same permissions as the file in /dev.
Is there a way to do that ? Is there any other security feature provided
by sysfs ? Am I wrong implementing security sensible calls through sysfs ?
Any help would ... well, help :-)
Thanks in advance
Thomas
This message contains confidential information and is intended only for the
individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and delete
this e-mail from your system.
Innova Card will not therefore be liable for the message if modified.
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/