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
ae0fcf1f
Commit
ae0fcf1f
authored
12 years ago
by
Geremy Condra
Committed by
Gerrit Code Review
12 years ago
Browse files
Options
Downloads
Plain Diff
Merge "watchdog security policy."
parents
566553e3
bac9992e
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
+1
-0
1 addition, 0 deletions
device.te
file_contexts
+1
-0
1 addition, 0 deletions
file_contexts
watchdogd.te
+8
-0
8 additions, 0 deletions
watchdogd.te
with
10 additions
and
0 deletions
device.te
+
1
−
0
View file @
ae0fcf1f
...
@@ -41,6 +41,7 @@ type fuse_device, dev_type;
...
@@ -41,6 +41,7 @@ type fuse_device, dev_type;
type ion_device, dev_type;
type ion_device, dev_type;
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;
# 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
+
1
−
0
View file @
ae0fcf1f
...
@@ -104,6 +104,7 @@
...
@@ -104,6 +104,7 @@
/dev/urandom u:object_r:urandom_device:s0
/dev/urandom u:object_r:urandom_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/xt_qtaguid u:object_r:qtaguid_device:s0
/dev/xt_qtaguid u:object_r:qtaguid_device:s0
/dev/zero u:object_r:zero_device:s0
/dev/zero u:object_r:zero_device:s0
#############################
#############################
...
...
This diff is collapsed.
Click to expand it.
watchdogd.te
0 → 100644
+
8
−
0
View file @
ae0fcf1f
# watchdogd seclabel is specified in init.<board>.rc
type watchdogd, domain;
allow watchdogd rootfs:file { entrypoint r_file_perms };
allow watchdogd self:capability mknod;
allow watchdogd device:dir { add_name write remove_name };
allow watchdogd watchdog_device:chr_file rw_file_perms;
# because of /dev/__kmsg__ and /dev/__null__
allow watchdogd device:chr_file create_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