use domtrans from initrc for insmod
This commit is contained in:
parent
eeab5717d6
commit
290a4a9360
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
policy_module(modutils,1.1.1)
|
policy_module(modutils,1.1.2)
|
||||||
|
|
||||||
gen_require(`
|
gen_require(`
|
||||||
bool secure_mode_insmod;
|
bool secure_mode_insmod;
|
||||||
@ -20,7 +20,8 @@ files_type(modules_dep_t)
|
|||||||
|
|
||||||
type insmod_t;
|
type insmod_t;
|
||||||
type insmod_exec_t;
|
type insmod_exec_t;
|
||||||
init_system_domain(insmod_t,insmod_exec_t)
|
domain_type(insmod_t)
|
||||||
|
domain_entry_file(insmod_t,insmod_exec_t)
|
||||||
mls_file_write_down(insmod_t)
|
mls_file_write_down(insmod_t)
|
||||||
role system_r types insmod_t;
|
role system_r types insmod_t;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user