2021-09-08 14:53:44 +00:00
|
|
|
policy_module(logadm, 1.1.0)
|
2009-03-19 17:56:10 +00:00
|
|
|
|
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# Declarations
|
|
|
|
#
|
|
|
|
|
|
|
|
role logadm_r;
|
|
|
|
|
|
|
|
userdom_base_user_template(logadm)
|
|
|
|
|
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# logadmin local policy
|
|
|
|
#
|
|
|
|
|
2017-02-15 23:47:33 +00:00
|
|
|
allow logadm_t self:capability { dac_override dac_read_search kill sys_nice sys_ptrace };
|
2009-03-19 17:56:10 +00:00
|
|
|
|
|
|
|
logging_admin(logadm_t, logadm_r)
|
2021-03-13 23:22:59 +00:00
|
|
|
|
|
|
|
optional_policy(`
|
|
|
|
dbus_role_template(logadm, logadm_r, logadm_t)
|
|
|
|
')
|