Merge "Allow ueventd to access device-mapper."
This commit is contained in:
commit
73d18c2bfe
2 changed files with 8 additions and 0 deletions
|
@ -46,6 +46,10 @@ allow ueventd self:global_capability_class_set sys_module;
|
|||
allow ueventd vendor_file:system module_load;
|
||||
allow ueventd kernel:key search;
|
||||
|
||||
# Query device-mapper to extract name/uuid in response to uevents.
|
||||
allow ueventd dm_device:chr_file rw_file_perms;
|
||||
allow ueventd self:capability sys_admin;
|
||||
|
||||
# ueventd is using bootstrap bionic
|
||||
use_bootstrap_libs(ueventd)
|
||||
|
||||
|
|
|
@ -65,6 +65,10 @@ use_bootstrap_libs(ueventd)
|
|||
# Allow ueventd to run shell scripts from vendor
|
||||
allow ueventd vendor_shell_exec:file execute;
|
||||
|
||||
# Query device-mapper to extract name/uuid in response to uevents.
|
||||
allow ueventd dm_device:chr_file rw_file_perms;
|
||||
allow ueventd self:capability sys_admin;
|
||||
|
||||
#####
|
||||
##### neverallow rules
|
||||
#####
|
||||
|
|
Loading…
Reference in a new issue