Merge "Allow ueventd to insert modules"

This commit is contained in:
Tom Cherry 2018-08-02 19:22:35 +00:00 committed by Gerrit Code Review
commit b520169832

View file

@ -49,6 +49,11 @@ recovery_only(`
# linker tries to resolve paths in ld.config.txt.
dontaudit ueventd postinstall_mnt_dir:dir getattr;
# ueventd loads modules in response to modalias events.
allow ueventd self:global_capability_class_set sys_module;
allow ueventd vendor_file:system module_load;
allow ueventd kernel:key search;
#####
##### neverallow rules
#####