Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AndroidSystemSEPolicy
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Werner Sembach
AndroidSystemSEPolicy
Commits
2d425de9
Commit
2d425de9
authored
9 years ago
by
Nick Kralevich
Committed by
Android Git Automerger
9 years ago
Browse files
Options
Downloads
Plain Diff
am
b1b5e662
: am
caefbd71
: allow adbd to set sys.usb.ffs.ready
* commit '
b1b5e662
': allow adbd to set sys.usb.ffs.ready
parents
b77f78eb
b1b5e662
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
adbd.te
+2
-1
2 additions, 1 deletion
adbd.te
property.te
+1
-0
1 addition, 0 deletions
property.te
property_contexts
+1
-0
1 addition, 0 deletions
property_contexts
with
4 additions
and
1 deletion
adbd.te
+
2
−
1
View file @
2d425de9
...
@@ -41,10 +41,11 @@ allow adbd sdcard_type:file create_file_perms;
...
@@ -41,10 +41,11 @@ allow adbd sdcard_type:file create_file_perms;
allow adbd anr_data_file:dir r_dir_perms;
allow adbd anr_data_file:dir r_dir_perms;
allow adbd anr_data_file:file r_file_perms;
allow adbd anr_data_file:file r_file_perms;
# Set service.adb.*, sys.powerctl properties.
# Set service.adb.*, sys.powerctl
, and sys.usb.ffs.ready
properties.
unix_socket_connect(adbd, property, init)
unix_socket_connect(adbd, property, init)
allow adbd shell_prop:property_service set;
allow adbd shell_prop:property_service set;
allow adbd powerctl_prop:property_service set;
allow adbd powerctl_prop:property_service set;
allow adbd ffs_prop:property_service set;
# Run /system/bin/bu
# Run /system/bin/bu
allow adbd system_file:file rx_file_perms;
allow adbd system_file:file rx_file_perms;
...
...
This diff is collapsed.
Click to expand it.
property.te
+
1
−
0
View file @
2d425de9
...
@@ -4,6 +4,7 @@ type debug_prop, property_type;
...
@@ -4,6 +4,7 @@ type debug_prop, property_type;
type debuggerd_prop, property_type;
type debuggerd_prop, property_type;
type dhcp_prop, property_type;
type dhcp_prop, property_type;
type fingerprint_prop, property_type;
type fingerprint_prop, property_type;
type ffs_prop, property_type;
type radio_prop, property_type;
type radio_prop, property_type;
type net_radio_prop, property_type;
type net_radio_prop, property_type;
type system_radio_prop, property_type;
type system_radio_prop, property_type;
...
...
This diff is collapsed.
Click to expand it.
property_contexts
+
1
−
0
View file @
2d425de9
...
@@ -20,6 +20,7 @@ runtime. u:object_r:system_prop:s0
...
@@ -20,6 +20,7 @@ runtime. u:object_r:system_prop:s0
hw. u:object_r:system_prop:s0
hw. u:object_r:system_prop:s0
sys. u:object_r:system_prop:s0
sys. u:object_r:system_prop:s0
sys.powerctl u:object_r:powerctl_prop:s0
sys.powerctl u:object_r:powerctl_prop:s0
sys.usb.ffs. u:object_r:ffs_prop:s0
service. u:object_r:system_prop:s0
service. u:object_r:system_prop:s0
wlan. u:object_r:system_prop:s0
wlan. u:object_r:system_prop:s0
dhcp. u:object_r:dhcp_prop:s0
dhcp. u:object_r:dhcp_prop:s0
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment