06ec5853f3
Change-Id: Ie50c04eb83cb9c62f679a1c1aa2ac482af159f7e
24 lines
605 B
Plaintext
24 lines
605 B
Plaintext
recovery_only(`
|
|
|
|
# Secure adb (setup_adbd)
|
|
allow adbd adb_keys_file:dir search;
|
|
allow recovery adb_keys_file:dir r_dir_perms;
|
|
allow recovery adb_keys_file:file r_file_perms;
|
|
allow recovery shell_prop:property_service set;
|
|
|
|
# Recovery dialogs
|
|
unix_socket_connect(recovery, vold, vold)
|
|
allow recovery tmpfs:sock_file create_file_perms;
|
|
|
|
# Read packages.xml
|
|
allow recovery system_data_file:file r_file_perms;
|
|
|
|
# Manage fstab and /adb_keys
|
|
allow recovery rootfs:file create_file_perms;
|
|
allow recovery rootfs:dir { write add_name };
|
|
|
|
# Control properties
|
|
allow recovery recovery_prop:property_service set;
|
|
|
|
')
|