mount bind /system/bin/adbd /sbin/adbd before adbd starts
This is needed for master on A-only devices
This commit is contained in:
parent
f6ccfe0865
commit
2886155138
@ -9,3 +9,8 @@ allow vndk_detect shell_exec:file rx_file_perms;
|
|||||||
allow vndk_detect toolbox_exec:file rx_file_perms;
|
allow vndk_detect toolbox_exec:file rx_file_perms;
|
||||||
#/system/bin/grep
|
#/system/bin/grep
|
||||||
allow vndk_detect system_file:file rx_file_perms;
|
allow vndk_detect system_file:file rx_file_perms;
|
||||||
|
|
||||||
|
#mount -o bind /system/bin/adbd /sbin/adbd
|
||||||
|
allow vndk_detect adbd_exec:file { getattr };
|
||||||
|
allow vndk_detect rootfs:file { mounton getattr };
|
||||||
|
allow vndk_detect self:capability { sys_admin };
|
||||||
|
@ -8,3 +8,5 @@ grep -oE 'init_[0-9_]+' /vendor/etc/selinux/nonplat_sepolicy.cil | \
|
|||||||
while read version;do
|
while read version;do
|
||||||
setprop persist.sys.vndk $version
|
setprop persist.sys.vndk $version
|
||||||
done
|
done
|
||||||
|
|
||||||
|
mount -o bind /system/bin/adbd /sbin/adbd
|
||||||
|
Loading…
Reference in New Issue
Block a user