kernel: implement sysctl_vm_overcommit_t for /proc/sys/vm/overcommit_memory
Whoever requires this type first gets to create the interfaces to operate on this object Signed-off-by: Dominick Grift <dac.override@gmail.com>
This commit is contained in:
parent
81d15a0273
commit
6d6370c98a
@ -153,6 +153,9 @@ genfscon proc /sys/net/unix gen_context(system_u:object_r:sysctl_net_unix_t,s0)
|
||||
type sysctl_vm_t, sysctl_type;
|
||||
genfscon proc /sys/vm gen_context(system_u:object_r:sysctl_vm_t,s0)
|
||||
|
||||
type sysctl_vm_overcommit_t, sysctl_type;
|
||||
genfscon proc /sys/vm/overcommit_memory gen_context(system_u:object_r:sysctl_vm_overcommit_t,s0)
|
||||
|
||||
# /proc/sys/dev directory and files
|
||||
type sysctl_dev_t, sysctl_type;
|
||||
genfscon proc /sys/dev gen_context(system_u:object_r:sysctl_dev_t,s0)
|
||||
|
Loading…
Reference in New Issue
Block a user