bengris32 fd99152e17
basic: non_plat: Allow rebalance_interrupts to read affected_cpus
Change-Id: I2bd9a7e71033a0cf91b93531c5fb41d302796397
Signed-off-by: bengris32 <bengris32@protonmail.ch>
2023-09-05 13:18:58 +01:00

14 lines
602 B
Plaintext

# rebalance_interrupts vendor
type rebalance_interrupts_vendor, domain;
type rebalance_interrupts_vendor_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(rebalance_interrupts_vendor)
allow rebalance_interrupts_vendor sysfs_irq:dir r_dir_perms;
allow rebalance_interrupts_vendor sysfs_irq:file r_file_perms;
allow rebalance_interrupts_vendor proc_irq:dir r_dir_perms;
allow rebalance_interrupts_vendor proc_irq:file { rw_file_perms setattr };
allow rebalance_interrupts_vendor self:capability { chown setuid setgid };
r_dir_file(rebalance_interrupts_vendor, sysfs_devices_system_cpu)