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
2a6d0ace
Commit
2a6d0ace
authored
12 years ago
by
Geremy Condra
Committed by
Android Git Automerger
12 years ago
Browse files
Options
Downloads
Plain Diff
am
1620c671
: Merge "Introduce security labels for 2 new device nodes."
* commit '
1620c671
': Introduce security labels for 2 new device nodes.
parents
5a55c119
1620c671
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
device.te
+2
-0
2 additions, 0 deletions
device.te
file_contexts
+2
-0
2 additions, 0 deletions
file_contexts
system.te
+2
-0
2 additions, 0 deletions
system.te
with
6 additions
and
0 deletions
device.te
+
2
−
0
View file @
2a6d0ace
...
@@ -38,12 +38,14 @@ type video_device, dev_type;
...
@@ -38,12 +38,14 @@ type video_device, dev_type;
type vcs_device, dev_type;
type vcs_device, dev_type;
type zero_device, dev_type;
type zero_device, dev_type;
type fuse_device, dev_type;
type fuse_device, dev_type;
type iio_device, dev_type;
type ion_device, dev_type, mlstrustedobject;
type ion_device, dev_type, mlstrustedobject;
type gps_device, dev_type;
type gps_device, dev_type;
type qtaguid_device, dev_type;
type qtaguid_device, dev_type;
type watchdog_device, dev_type;
type watchdog_device, dev_type;
type uhid_device, dev_type;
type uhid_device, dev_type;
type tun_device, dev_type, mlstrustedobject;
type tun_device, dev_type, mlstrustedobject;
type usbaccessory_device, dev_type;
# All devices have a uart for the hci
# All devices have a uart for the hci
# attach service. The uart dev node
# attach service. The uart dev node
...
...
This diff is collapsed.
Click to expand it.
file_contexts
+
2
−
0
View file @
2a6d0ace
...
@@ -50,6 +50,7 @@
...
@@ -50,6 +50,7 @@
/dev/fuse u:object_r:fuse_device:s0
/dev/fuse u:object_r:fuse_device:s0
/dev/graphics(/.*)? u:object_r:graphics_device:s0
/dev/graphics(/.*)? u:object_r:graphics_device:s0
/dev/input(/.*) u:object_r:input_device:s0
/dev/input(/.*) u:object_r:input_device:s0
/dev/iio:device[0-9]+ u:object_r:iio_device:s0
/dev/ion u:object_r:ion_device:s0
/dev/ion u:object_r:ion_device:s0
/dev/kmem u:object_r:kmem_device:s0
/dev/kmem u:object_r:kmem_device:s0
/dev/log(/.*)? u:object_r:log_device:s0
/dev/log(/.*)? u:object_r:log_device:s0
...
@@ -105,6 +106,7 @@
...
@@ -105,6 +106,7 @@
/dev/uhid u:object_r:uhid_device:s0
/dev/uhid u:object_r:uhid_device:s0
/dev/uinput u:object_r:input_device:s0
/dev/uinput u:object_r:input_device:s0
/dev/urandom u:object_r:urandom_device:s0
/dev/urandom u:object_r:urandom_device:s0
/dev/usb_accessory u:object_r:usbaccessory_device:s0
/dev/vcs[0-9a-z]* u:object_r:vcs_device:s0
/dev/vcs[0-9a-z]* u:object_r:vcs_device:s0
/dev/video[0-9]* u:object_r:video_device:s0
/dev/video[0-9]* u:object_r:video_device:s0
/dev/watchdog u:object_r:watchdog_device:s0
/dev/watchdog u:object_r:watchdog_device:s0
...
...
This diff is collapsed.
Click to expand it.
system.te
+
2
−
0
View file @
2a6d0ace
...
@@ -144,10 +144,12 @@ allow system accelerometer_device:chr_file rw_file_perms;
...
@@ -144,10 +144,12 @@ allow system accelerometer_device:chr_file rw_file_perms;
allow system alarm_device:chr_file rw_file_perms;
allow system alarm_device:chr_file rw_file_perms;
allow system graphics_device:dir search;
allow system graphics_device:dir search;
allow system graphics_device:chr_file rw_file_perms;
allow system graphics_device:chr_file rw_file_perms;
allow system iio_device:chr_file rw_file_perms;
allow system input_device:dir r_dir_perms;
allow system input_device:dir r_dir_perms;
allow system input_device:chr_file rw_file_perms;
allow system input_device:chr_file rw_file_perms;
allow system tty_device:chr_file rw_file_perms;
allow system tty_device:chr_file rw_file_perms;
allow system urandom_device:chr_file rw_file_perms;
allow system urandom_device:chr_file rw_file_perms;
allow system usbaccessory_device:chr_file rw_file_perms;
allow system video_device:chr_file rw_file_perms;
allow system video_device:chr_file rw_file_perms;
allow system qemu_device:chr_file rw_file_perms;
allow system qemu_device:chr_file rw_file_perms;
...
...
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