Add vendor_kernel_modules type to public.

Bug: 166559473
Bug: 183135316
Test: build and boot
Change-Id: Idc9f6235a1b69236ce274d9b3173f6d39ee04c82
Merged-In: Idc9f6235a1b69236ce274d9b3173f6d39ee04c82
(cherry picked from commit 3b23f17eae)
This commit is contained in:
Yabin Cui 2021-03-31 10:23:40 -07:00
parent 6620b476a8
commit 2e2df6b3a7
2 changed files with 4 additions and 0 deletions

View file

@ -117,6 +117,7 @@
userdata_sysdev userdata_sysdev
userspace_reboot_metadata_file userspace_reboot_metadata_file
vcn_management_service vcn_management_service
vendor_kernel_modules
vibrator_manager_service vibrator_manager_service
vpn_management_service vpn_management_service
vpnprofilestore_service vpnprofilestore_service

View file

@ -560,6 +560,9 @@ type vndservice_contexts_file, file_type;
# /sys/kernel/tracing/instances/bootreceiver for monitoring kernel memory corruptions. # /sys/kernel/tracing/instances/bootreceiver for monitoring kernel memory corruptions.
type debugfs_bootreceiver_tracing, fs_type, debugfs_type; type debugfs_bootreceiver_tracing, fs_type, debugfs_type;
# kernel modules
type vendor_kernel_modules, vendor_file_type, file_type;
# Allow files to be created in their appropriate filesystems. # Allow files to be created in their appropriate filesystems.
allow fs_type self:filesystem associate; allow fs_type self:filesystem associate;
allow cgroup tmpfs:filesystem associate; allow cgroup tmpfs:filesystem associate;