Merge "Allow init to access user mode helpers" into main

This commit is contained in:
Treehugger Robot 2023-08-24 08:06:42 +00:00 committed by Gerrit Code Review
commit 171a6fbca2

View file

@ -57,6 +57,9 @@ allow init tmpfs:lnk_file { getattr read relabelfrom };
# setrlimit # setrlimit
allow init self:global_capability_class_set sys_resource; allow init self:global_capability_class_set sys_resource;
# Set usermodehelpers.
allow init { usermodehelper sysfs_usermodehelper }:file rw_file_perms;
# Remove /dev/.booting and load /debug_ramdisk/* files # Remove /dev/.booting and load /debug_ramdisk/* files
allow init tmpfs:file { getattr unlink }; allow init tmpfs:file { getattr unlink };