Revert "Add the sysrq_file special file and give ADB write access."
This rule doesn't work, as /proc/sysrq-trigger isn't properly labeled.
Revert this change for now.
This reverts commit bb2591e56f
.
This commit is contained in:
parent
a3f6568590
commit
1e25b98074
3 changed files with 0 additions and 8 deletions
3
adbd.te
3
adbd.te
|
@ -35,6 +35,3 @@ allow adbd shell:process noatsecure;
|
||||||
# XXX Run screencap in a separate domain?
|
# XXX Run screencap in a separate domain?
|
||||||
binder_use(adbd)
|
binder_use(adbd)
|
||||||
binder_call(adbd, surfaceflinger)
|
binder_call(adbd, surfaceflinger)
|
||||||
|
|
||||||
# Write to the sysrq file
|
|
||||||
allow adbd sysrq_file:file w_file_perms;
|
|
||||||
|
|
2
file.te
2
file.te
|
@ -81,8 +81,6 @@ type security_file, file_type;
|
||||||
type bluetooth_efs_file, file_type;
|
type bluetooth_efs_file, file_type;
|
||||||
# Downloaded files
|
# Downloaded files
|
||||||
type download_file, file_type;
|
type download_file, file_type;
|
||||||
# The sysrq special file
|
|
||||||
type sysrq_file, file_type;
|
|
||||||
|
|
||||||
# Socket types
|
# Socket types
|
||||||
type adbd_socket, file_type;
|
type adbd_socket, file_type;
|
||||||
|
|
|
@ -211,6 +211,3 @@
|
||||||
# asec containers
|
# asec containers
|
||||||
/mnt/asec(/.*)? u:object_r:asec_apk_file:s0
|
/mnt/asec(/.*)? u:object_r:asec_apk_file:s0
|
||||||
/data/app-asec(/.*)? u:object_r:asec_image_file:s0
|
/data/app-asec(/.*)? u:object_r:asec_image_file:s0
|
||||||
#############################
|
|
||||||
# special /proc files
|
|
||||||
/proc/sysrq-trigger u:object_r:sysrq_file:s0
|
|
||||||
|
|
Loading…
Reference in a new issue