Merge "Allow init to configure dm_verity kernel driver."

This commit is contained in:
Treehugger Robot 2020-01-15 13:13:01 +00:00 committed by Gerrit Code Review
commit 4d33dc28e7
4 changed files with 4 additions and 0 deletions

View file

@ -57,6 +57,7 @@
art_apex_dir
service_manager_service
soundtrigger_middleware_service
sysfs_dm_verity
system_group_file
system_jvmti_agent_prop
system_passwd_file

View file

@ -145,6 +145,7 @@ genfscon sysfs /kernel/mm/transparent_hugepage u:object_r:sysfs_transparent_huge
genfscon sysfs /kernel/notes u:object_r:sysfs_kernel_notes:s0
genfscon sysfs /kernel/uevent_helper u:object_r:sysfs_usermodehelper:s0
genfscon sysfs /kernel/wakeup_reasons u:object_r:sysfs_wakeup_reasons:s0
genfscon sysfs /module/dm_verity/parameters/prefetch_cluster u:object_r:sysfs_dm_verity:s0
genfscon sysfs /module/lowmemorykiller u:object_r:sysfs_lowmemorykiller:s0
genfscon sysfs /module/tcp_cubic/parameters u:object_r:sysfs_net:s0
genfscon sysfs /module/wlan/parameters/fwpath u:object_r:sysfs_wlan_fwpath:s0

View file

@ -84,6 +84,7 @@ type sysfs_batteryinfo, fs_type, sysfs_type;
type sysfs_bluetooth_writable, fs_type, sysfs_type, mlstrustedobject;
type sysfs_devices_block, fs_type, sysfs_type;
type sysfs_dm, fs_type, sysfs_type;
type sysfs_dm_verity, fs_type, sysfs_type;
type sysfs_dt_firmware_android, fs_type, sysfs_type;
type sysfs_extcon, fs_type, sysfs_type;
type sysfs_ion, fs_type, sysfs_type;

View file

@ -381,6 +381,7 @@ allow init {
# init access to /sys files.
allow init {
sysfs_android_usb
sysfs_dm_verity
sysfs_leds
sysfs_power
sysfs_fs_f2fs