• Home
  • Raw
  • Download

Lines Matching refs:recovery

1 # recovery console (used in recovery init.rc for /sbin/recovery)
5 type recovery, domain;
7 # But the allow rules are only included in the recovery policy.
8 # Otherwise recovery is only allowed the domain rules.
10 # Allow recovery to perform an update as update_engine would do.
11 typeattribute recovery update_engine_common;
13 passthrough_hal_client_domain(recovery, hal_bootctl)
15 …allow recovery self:capability { chown dac_override fowner fsetid setfcap setuid setgid sys_admin …
18 allow recovery self:capability2 mac_admin;
21 allow recovery rootfs:file execute_no_trans;
22 allow recovery system_file:file execute_no_trans;
23 allow recovery toolbox_exec:file rx_file_perms;
26 allow recovery rootfs:dir mounton;
27 allow recovery fs_type:filesystem ~relabelto;
28 allow recovery unlabeled:filesystem ~relabelto;
29 allow recovery contextmount_type:filesystem relabelto;
32 allow recovery exec_type:{ file lnk_file } { create_file_perms relabelfrom relabelto };
33 allow recovery { system_file }:{ file lnk_file } { create_file_perms relabelfrom relabelto };
34 allow recovery system_file:dir { create_dir_perms relabelfrom relabelto };
38 allow recovery unlabeled:{ file lnk_file } { create_file_perms relabelfrom relabelto };
39 allow recovery unlabeled:dir { create_dir_perms relabelfrom relabelto };
41 allow recovery file_contexts_file:file r_file_perms;
49 allow recovery exec_type:dir { create_dir_perms relabelfrom relabelto };
52 allow recovery proc_drop_caches:file w_file_perms;
55 allow recovery config_gz:file { open read getattr };
59 allow recovery sysfs:file w_file_perms;
62 allow recovery sysfs_devices_system_cpu:file w_file_perms;
64 allow recovery sysfs_batteryinfo:file r_file_perms;
68 allow recovery sysfs_leds:dir r_dir_perms;
69 allow recovery sysfs_leds:file rw_file_perms;
70 allow recovery sysfs_leds:lnk_file read;
72 allow recovery kernel:system syslog_read;
75 allow recovery functionfs:dir search;
76 allow recovery functionfs:file rw_file_perms;
79 allow recovery device:dir r_dir_perms;
80 allow recovery block_device:dir r_dir_perms;
81 allow recovery dev_type:blk_file rw_file_perms;
84 allow recovery graphics_device:chr_file rw_file_perms;
85 allow recovery graphics_device:dir r_dir_perms;
86 allow recovery input_device:dir r_dir_perms;
87 allow recovery input_device:chr_file r_file_perms;
88 allow recovery tty_device:chr_file rw_file_perms;
90 # Create /tmp/recovery.log and execute /tmp/update_binary.
91 allow recovery tmpfs:file { create_file_perms x_file_perms };
92 allow recovery tmpfs:dir create_dir_perms;
94 # Manage files on /cache and /cache/recovery
95 allow recovery { cache_file cache_recovery_file }:dir create_dir_perms;
96 allow recovery { cache_file cache_recovery_file }:file create_file_perms;
99 r_dir_file(recovery, sysfs_thermal)
102 r_dir_file(recovery, oemfs);
105 set_prop(recovery, powerctl_prop)
108 set_prop(recovery, ctl_default_prop)
111 get_prop(recovery, serialno_prop)
114 allow recovery self:process setfscreate;
116 # Allow recovery to create a fuse filesystem, and read files from it.
117 allow recovery fuse_device:chr_file rw_file_perms;
118 allow recovery fuse:dir r_dir_perms;
119 allow recovery fuse:file r_file_perms;
121 wakelock_use(recovery)
125 allow recovery kernel:process setsched;
135 # to recovery anyway.
139 # domains, including recovery.
142 neverallow recovery data_file_type:file { no_w_file_perms no_x_file_perms };
143 neverallow recovery data_file_type:dir no_w_dir_perms;