fix rpm
This commit is contained in:
parent
175b1cb551
commit
7fefc1d956
|
@ -6,7 +6,12 @@ policy_module(rpm,1.0)
|
||||||
# Declarations
|
# Declarations
|
||||||
#
|
#
|
||||||
|
|
||||||
|
ifdef(`targeted_policy',`
|
||||||
|
unconfined_alias_domain(rpm_t)
|
||||||
|
',`
|
||||||
type rpm_t;
|
type rpm_t;
|
||||||
|
')
|
||||||
|
|
||||||
type rpm_exec_t;
|
type rpm_exec_t;
|
||||||
init_system_domain(rpm_t,rpm_exec_t)
|
init_system_domain(rpm_t,rpm_exec_t)
|
||||||
domain_obj_id_change_exempt(rpm_t)
|
domain_obj_id_change_exempt(rpm_t)
|
||||||
|
@ -321,7 +326,7 @@ ifdef(`distro_redhat',`
|
||||||
')
|
')
|
||||||
|
|
||||||
ifdef(`targeted_policy',`
|
ifdef(`targeted_policy',`
|
||||||
unconfined_domain_template(rpm_t)
|
unconfined_domain_template(rpm_script_t)
|
||||||
')
|
')
|
||||||
|
|
||||||
tunable_policy(`allow_execmem',`
|
tunable_policy(`allow_execmem',`
|
||||||
|
|
Loading…
Reference in New Issue