modify whitelist for Sysfs restrictions
Posted: Sat Feb 07, 2015 3:48 pm
I have the option
In the help, I read that few directories have been whitelisted:
Being on a laptop, I would like to allow user to see battery status:
How could I addd /sys/class/power_supply/ to the whitelist, so that user can actually see the battery icon or use acpi ?
enabled in my kernel:CONFIG_GRKERNSEC_SYSFS_RESTRICT
- Code: Select all
Filesystem Protections
[*] Sysfs/debugfs restriction
In the help, I read that few directories have been whitelisted:
- Code: Select all
/sys/fs/selinux
/sys/fs/fuse
/sys/devices/system/cpu
Being on a laptop, I would like to allow user to see battery status:
- Code: Select all
/sys/class/power_supply/
How could I addd /sys/class/power_supply/ to the whitelist, so that user can actually see the battery icon or use acpi ?