add more capabilities to openvswitch_load_module_t
When openvswitch starts, it is denied reading modules.* files, so this patch allows openvswitch to do so. Signed-off-by: bigclouds <yuelg@chinaunicom.cn> (cherry picked from commit e968019d8d5f3f283d795bcb2bdfec37e8773ca2)
This commit is contained in:
parent
44c49e6716
commit
2561da764f
@ -32,7 +32,7 @@ index b2c63ab..8f76c14 100644
|
||||
allow openvswitch_load_module_t kernel_t:system module_request;
|
||||
allow openvswitch_load_module_t modules_conf_t:dir { getattr open read search };
|
||||
allow openvswitch_load_module_t modules_conf_t:file { getattr open read };
|
||||
+allow openvswitch_load_module_t modules_dep_t:file open;
|
||||
+allow openvswitch_load_module_t modules_dep_t:file { getattr map open read };
|
||||
allow openvswitch_load_module_t modules_object_t:file { map getattr open read };
|
||||
allow openvswitch_load_module_t modules_object_t:dir { getattr open read search };
|
||||
allow openvswitch_load_module_t openvswitch_load_module_exec_t:file { entrypoint };
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user