Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0525ff2a authored by Steve Kondik's avatar Steve Kondik
Browse files

sepolicy: Fix a few denials

 * From sysinit and adbd

Change-Id: I56505e34774f9697a7f336efb43808a651a871f8
parent bb358130
Loading
Loading
Loading
Loading

sepolicy/adbd.te

0 → 100644
+1 −0
Original line number Diff line number Diff line
set_prop(adbd, adbsecure_prop)
+1 −0
Original line number Diff line number Diff line
type adbtcp_prop, property_type;
type recovery_prop, property_type;
type userinit_prop, property_type;
type adbsecure_prop, property_type;
+1 −1
Original line number Diff line number Diff line
adb.network.port              u:object_r:adbtcp_prop:s0
recovery.perf.mode            u:object_r:recovery_prop:s0
adb.secure                    u:object_r:recovery_prop:s0
ro.adb.secure                 u:object_r:adbsecure_prop:s0
cm.userinit.active            u:object_r:userinit_prop:s0
+2 −0
Original line number Diff line number Diff line
@@ -7,6 +7,8 @@ init_daemon_domain(sysinit)
allow sysinit devpts:chr_file { rw_file_perms };
allow sysinit shell_exec:file { rx_file_perms };
allow sysinit system_file:file { rx_file_perms };
allow sysinit system_file:dir { r_dir_perms };
allow sysinit toolbox_exec:file { rx_file_perms };
allow sysinit self:process setcurrent;

userdebug_or_eng(`