selinux-refpolicy/policy/modules/roles/logadm.te
Chris PeBenito 78276fc43b Drop module versioning.
Semodule stopped using this many years ago. The policy_module() macro will
continue to support an optional second parameter as version.
If it is not specified, a default value of 1 is set.

Signed-off-by: Chris PeBenito <pebenito@ieee.org>
2022-01-06 09:19:13 -05:00

24 lines
401 B
Plaintext

policy_module(logadm)
########################################
#
# Declarations
#
role logadm_r;
userdom_base_user_template(logadm)
########################################
#
# logadmin local policy
#
allow logadm_t self:capability { dac_override dac_read_search kill sys_nice sys_ptrace };
logging_admin(logadm_t, logadm_r)
optional_policy(`
dbus_role_template(logadm, logadm_r, logadm_t)
')