Revert "add sepolicy for set_usb_irq.sh"
This reverts commit 6733f9667d
.
Bug: 225789036
Test: build pass
Change-Id: If43c8db71c737d509b1dfd098503f564a06bf046
This commit is contained in:
parent
32f2e4b0e7
commit
3fdb24bdc1
2 changed files with 0 additions and 17 deletions
|
@ -220,9 +220,5 @@
|
|||
/mnt/vendor/efs_backup(/.*)? u:object_r:modem_efs_file:s0
|
||||
/mnt/vendor/modem_userdata(/.*)? u:object_r:modem_userdata_file:s0
|
||||
|
||||
# USB
|
||||
/vendor/bin/hw/set_usb_irq\.sh u:object_r:set-usb-irq-sh_exec:s0
|
||||
|
||||
# Raw HID device
|
||||
/dev/hidraw[0-9]* u:object_r:hidraw_device:s0
|
||||
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
type set-usb-irq-sh, domain;
|
||||
type set-usb-irq-sh_exec, vendor_file_type, exec_type, file_type;
|
||||
init_daemon_domain(set-usb-irq-sh)
|
||||
|
||||
allow set-usb-irq-sh vendor_toolbox_exec:file execute_no_trans;
|
||||
|
||||
allow set-usb-irq-sh proc_irq:dir r_dir_perms;
|
||||
allow set-usb-irq-sh proc_irq:file w_file_perms;
|
||||
|
||||
# AFAICT this happens if /proc/irq updates as we're running
|
||||
# and we end up trying to write into non-existing file,
|
||||
# which implies creation...
|
||||
dontaudit set-usb-irq-sh self:capability dac_override;
|
Loading…
Add table
Add a link
Reference in a new issue