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
851d5b64
Commit
851d5b64
authored
7 years ago
by
Treehugger Robot
Committed by
Gerrit Code Review
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Moving adbd from rootdir to system/bin"
parents
6a1e6a9c
5846c79e
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
private/adbd.te
+2
-0
2 additions, 0 deletions
private/adbd.te
private/file_contexts
+1
-0
1 addition, 0 deletions
private/file_contexts
private/init.te
+1
-1
1 addition, 1 deletion
private/init.te
public/adbd.te
+1
-0
1 addition, 0 deletions
public/adbd.te
with
5 additions
and
1 deletion
private/adbd.te
+
2
−
0
View file @
851d5b64
...
@@ -3,6 +3,8 @@
...
@@ -3,6 +3,8 @@
typeattribute adbd coredomain;
typeattribute adbd coredomain;
typeattribute adbd mlstrustedsubject;
typeattribute adbd mlstrustedsubject;
init_daemon_domain(adbd)
domain_auto_trans(adbd, shell_exec, shell)
domain_auto_trans(adbd, shell_exec, shell)
userdebug_or_eng(`
userdebug_or_eng(`
...
...
This diff is collapsed.
Click to expand it.
private/file_contexts
+
1
−
0
View file @
851d5b64
...
@@ -270,6 +270,7 @@
...
@@ -270,6 +270,7 @@
/system/etc/selinux/plat_sepolicy.cil u:object_r:sepolicy_file:s0
/system/etc/selinux/plat_sepolicy.cil u:object_r:sepolicy_file:s0
/system/etc/selinux/plat_and_mapping_sepolicy\.cil\.sha256 u:object_r:sepolicy_file:s0
/system/etc/selinux/plat_and_mapping_sepolicy\.cil\.sha256 u:object_r:sepolicy_file:s0
/system/bin/vr_hwc u:object_r:vr_hwc_exec:s0
/system/bin/vr_hwc u:object_r:vr_hwc_exec:s0
/system/bin/adbd u:object_r:adbd_exec:s0
#############################
#############################
# Vendor files
# Vendor files
...
...
This diff is collapsed.
Click to expand it.
private/init.te
+
1
−
1
View file @
851d5b64
...
@@ -3,11 +3,11 @@ typeattribute init coredomain;
...
@@ -3,11 +3,11 @@ typeattribute init coredomain;
tmpfs_domain(init)
tmpfs_domain(init)
# Transitions to seclabel processes in init.rc
# Transitions to seclabel processes in init.rc
domain_trans(init, rootfs, adbd)
domain_trans(init, rootfs, charger)
domain_trans(init, rootfs, charger)
domain_trans(init, rootfs, healthd)
domain_trans(init, rootfs, healthd)
domain_trans(init, rootfs, slideshow)
domain_trans(init, rootfs, slideshow)
recovery_only(`
recovery_only(`
domain_trans(init, rootfs, adbd)
domain_trans(init, rootfs, recovery)
domain_trans(init, rootfs, recovery)
')
')
domain_trans(init, shell_exec, shell)
domain_trans(init, shell_exec, shell)
...
...
This diff is collapsed.
Click to expand it.
public/adbd.te
+
1
−
0
View file @
851d5b64
# adbd seclabel is specified in init.rc since
# adbd seclabel is specified in init.rc since
# it lives in the rootfs and has no unique file type.
# it lives in the rootfs and has no unique file type.
type adbd, domain;
type adbd, domain;
type adbd_exec, exec_type, file_type;
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