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
a6921cb4
Commit
a6921cb4
authored
11 years ago
by
Nick Kralevich
Committed by
Android Git Automerger
11 years ago
Browse files
Options
Downloads
Plain Diff
am
d434d601
: Merge "Label /dev/usb-ffs/adb functionfs"
* commit '
d434d601
': Label /dev/usb-ffs/adb functionfs
parents
204a6e20
d434d601
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
adbd.te
+3
-1
3 additions, 1 deletion
adbd.te
file.te
+1
-0
1 addition, 0 deletions
file.te
genfs_contexts
+1
-0
1 addition, 0 deletions
genfs_contexts
with
5 additions
and
1 deletion
adbd.te
+
3
−
1
View file @
a6921cb4
...
@@ -22,8 +22,10 @@ allow adbd self:capability setpcap;
...
@@ -22,8 +22,10 @@ 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
.
# Access /dev/android_adb
or /dev/usb-ffs/adb/ep0
allow adbd adb_device:chr_file rw_file_perms;
allow adbd adb_device:chr_file rw_file_perms;
allow adbd functionfs:dir search;
allow adbd functionfs:file rw_file_perms;
# Use a pseudo tty.
# Use a pseudo tty.
allow adbd devpts:chr_file rw_file_perms;
allow adbd devpts:chr_file rw_file_perms;
...
...
This diff is collapsed.
Click to expand it.
file.te
+
1
−
0
View file @
a6921cb4
...
@@ -32,6 +32,7 @@ type sdcard_internal, sdcard_type, fs_type, mlstrustedobject;
...
@@ -32,6 +32,7 @@ type sdcard_internal, sdcard_type, fs_type, mlstrustedobject;
type sdcard_external, sdcard_type, fs_type, mlstrustedobject;
type sdcard_external, sdcard_type, fs_type, mlstrustedobject;
type debugfs, fs_type, mlstrustedobject;
type debugfs, fs_type, mlstrustedobject;
type pstorefs, fs_type;
type pstorefs, fs_type;
type functionfs, fs_type;
# File types
# File types
type unlabeled, file_type;
type unlabeled, file_type;
...
...
This diff is collapsed.
Click to expand it.
genfs_contexts
+
1
−
0
View file @
a6921cb4
...
@@ -29,3 +29,4 @@ genfscon vfat / u:object_r:sdcard_external:s0
...
@@ -29,3 +29,4 @@ genfscon vfat / u:object_r:sdcard_external:s0
genfscon debugfs / u:object_r:debugfs:s0
genfscon debugfs / u:object_r:debugfs:s0
genfscon fuse / u:object_r:sdcard_internal:s0
genfscon fuse / u:object_r:sdcard_internal:s0
genfscon pstore / u:object_r:pstorefs:s0
genfscon pstore / u:object_r:pstorefs:s0
genfscon functionfs / u:object_r:functionfs: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