Merge pull request #172 from bauen1/allow-sysadm-staff-pipes
This commit is contained in:
commit
e583966f92
|
@ -56,7 +56,7 @@ optional_policy(`
|
||||||
')
|
')
|
||||||
|
|
||||||
optional_policy(`
|
optional_policy(`
|
||||||
sysadm_role_change(auditadm_r)
|
sysadm_role_change(auditadm_r, auditadm_t)
|
||||||
')
|
')
|
||||||
|
|
||||||
optional_policy(`
|
optional_policy(`
|
||||||
|
|
|
@ -68,7 +68,7 @@ optional_policy(`
|
||||||
')
|
')
|
||||||
|
|
||||||
optional_policy(`
|
optional_policy(`
|
||||||
sysadm_role_change(secadm_r)
|
sysadm_role_change(secadm_r, secadm_t)
|
||||||
')
|
')
|
||||||
|
|
||||||
optional_policy(`
|
optional_policy(`
|
||||||
|
|
|
@ -52,7 +52,7 @@ optional_policy(`
|
||||||
')
|
')
|
||||||
|
|
||||||
optional_policy(`
|
optional_policy(`
|
||||||
sysadm_role_change(staff_r)
|
sysadm_role_change(staff_r, staff_t)
|
||||||
userdom_dontaudit_use_user_terminals(staff_t)
|
userdom_dontaudit_use_user_terminals(staff_t)
|
||||||
')
|
')
|
||||||
|
|
||||||
|
|
|
@ -9,14 +9,24 @@
|
||||||
## Role allowed access.
|
## Role allowed access.
|
||||||
## </summary>
|
## </summary>
|
||||||
## </param>
|
## </param>
|
||||||
|
## <param name="domain">
|
||||||
|
## <summary>
|
||||||
|
## Domain allowed access.
|
||||||
|
## </summary>
|
||||||
|
## </param>
|
||||||
## <rolecap/>
|
## <rolecap/>
|
||||||
#
|
#
|
||||||
interface(`sysadm_role_change',`
|
interface(`sysadm_role_change',`
|
||||||
gen_require(`
|
gen_require(`
|
||||||
|
type sysadm_t;
|
||||||
role sysadm_r;
|
role sysadm_r;
|
||||||
')
|
')
|
||||||
|
|
||||||
allow $1 sysadm_r;
|
allow $1 sysadm_r;
|
||||||
|
|
||||||
|
tunable_policy(`sysadm_allow_rw_inherited_fifo', `
|
||||||
|
allow sysadm_t $2:fifo_file rw_inherited_fifo_file_perms;
|
||||||
|
')
|
||||||
')
|
')
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
|
|
|
@ -12,6 +12,14 @@ policy_module(sysadm, 2.15.3)
|
||||||
## </desc>
|
## </desc>
|
||||||
gen_tunable(allow_ptrace, false)
|
gen_tunable(allow_ptrace, false)
|
||||||
|
|
||||||
|
## <desc>
|
||||||
|
## <p>
|
||||||
|
## Allow sysadm to read/write to fifo files inherited from
|
||||||
|
## a domain allowed to change role.
|
||||||
|
## </p>
|
||||||
|
## </desc>
|
||||||
|
gen_tunable(sysadm_allow_rw_inherited_fifo, false)
|
||||||
|
|
||||||
#role sysadm_r;
|
#role sysadm_r;
|
||||||
|
|
||||||
userdom_admin_user_template(sysadm)
|
userdom_admin_user_template(sysadm)
|
||||||
|
|
Loading…
Reference in New Issue