Skip to content
Snippets Groups Projects
Commit d5db9de5 authored by Josh Gao's avatar Josh Gao Committed by Gerrit Code Review
Browse files

Merge "Remove support for legacy f_adb interface."

parents 1b7512a1 a3bc3cff
No related branches found
No related tags found
No related merge requests found
...@@ -58,7 +58,6 @@ ...@@ -58,7 +58,6 @@
/dev/adf-interface[0-9]*\.[0-9]* u:object_r:graphics_device:s0 /dev/adf-interface[0-9]*\.[0-9]* u:object_r:graphics_device:s0
/dev/adf-overlay-engine[0-9]*\.[0-9]* u:object_r:graphics_device:s0 /dev/adf-overlay-engine[0-9]*\.[0-9]* u:object_r:graphics_device:s0
/dev/alarm u:object_r:alarm_device:s0 /dev/alarm u:object_r:alarm_device:s0
/dev/android_adb.* u:object_r:adb_device:s0
/dev/ashmem u:object_r:ashmem_device:s0 /dev/ashmem u:object_r:ashmem_device:s0
/dev/audio.* u:object_r:audio_device:s0 /dev/audio.* u:object_r:audio_device:s0
/dev/binder u:object_r:binder_device:s0 /dev/binder u:object_r:binder_device:s0
......
...@@ -20,8 +20,7 @@ allow adbd self:capability setpcap; ...@@ -20,8 +20,7 @@ allow adbd self:capability setpcap;
# Create and use network sockets. # Create and use network sockets.
net_domain(adbd) net_domain(adbd)
# Access /dev/android_adb or /dev/usb-ffs/adb/ep0 # Access /dev/usb-ffs/adb/ep0
allow adbd adb_device:chr_file rw_file_perms;
allow adbd functionfs:dir search; allow adbd functionfs:dir search;
allow adbd functionfs:file rw_file_perms; allow adbd functionfs:file rw_file_perms;
......
# Device types # Device types
type device, dev_type, fs_type; type device, dev_type, fs_type;
type alarm_device, dev_type, mlstrustedobject; type alarm_device, dev_type, mlstrustedobject;
type adb_device, dev_type;
type ashmem_device, dev_type, mlstrustedobject; type ashmem_device, dev_type, mlstrustedobject;
type audio_device, dev_type; type audio_device, dev_type;
type audio_timer_device, dev_type; type audio_timer_device, dev_type;
......
...@@ -58,8 +58,7 @@ recovery_only(` ...@@ -58,8 +58,7 @@ recovery_only(`
allow recovery kernel:system syslog_read; allow recovery kernel:system syslog_read;
# Access /dev/android_adb or /dev/usb-ffs/adb/ep0 # Access /dev/usb-ffs/adb/ep0
allow recovery adb_device:chr_file rw_file_perms;
allow recovery functionfs:dir search; allow recovery functionfs:dir search;
allow recovery functionfs:file rw_file_perms; allow recovery functionfs:file rw_file_perms;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment