usermanage: permit groupadd to read kernel sysctl
When using groupadd, I got some AVC due to groupadd reading /proc/sys/kernel/cap_last_cap Signed-off-by: Corentin LABBE <clabbe.montjoie@gmail.com>
This commit is contained in:
parent
95d5195d8c
commit
4e81910cce
|
@ -227,6 +227,8 @@ files_relabel_etc_files(groupadd_t)
|
|||
files_read_etc_runtime_files(groupadd_t)
|
||||
files_read_usr_symlinks(groupadd_t)
|
||||
|
||||
kernel_read_kernel_sysctls(groupadd_t)
|
||||
|
||||
# Execute /usr/bin/{passwd, chfn, chsh} and /usr/sbin/{useradd, vipw}.
|
||||
corecmd_exec_bin(groupadd_t)
|
||||
|
||||
|
|
Loading…
Reference in New Issue