[PATCH V4 17/38] x86/intel_rdt: Respect read and write access

2018-05-22 Thread Reinette Chatre
By default, if the opener has CAP_DAC_OVERRIDE, a kernfs file can be opened regardless of RW permissions. Writing to a kernfs file will thus succeed even if permissions are . We would like to restrict the actions that can be performed on a resource group from userspace based on the mode of

[PATCH V4 17/38] x86/intel_rdt: Respect read and write access

2018-05-22 Thread Reinette Chatre
By default, if the opener has CAP_DAC_OVERRIDE, a kernfs file can be opened regardless of RW permissions. Writing to a kernfs file will thus succeed even if permissions are . We would like to restrict the actions that can be performed on a resource group from userspace based on the mode of