Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sepolicy
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test
platform
system
sepolicy
Commits
c529c66f
Commit
c529c66f
authored
12 years ago
by
Geremy Condra
Committed by
repo sync
12 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add policy for __properties__ device.
Change-Id: Ie9b391283362fb6930f1ae858f0a879835c91e32
parent
7c8e6d4a
No related branches found
Branches containing commit
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
domain.te
+1
-0
1 addition, 0 deletions
domain.te
file_contexts
+1
-0
1 addition, 0 deletions
file_contexts
with
3 additions
and
0 deletions
device.te
+
1
−
0
View file @
c529c66f
...
@@ -49,6 +49,7 @@ type uhid_device, dev_type;
...
@@ -49,6 +49,7 @@ type uhid_device, dev_type;
type tun_device, dev_type, mlstrustedobject;
type tun_device, dev_type, mlstrustedobject;
type usbaccessory_device, dev_type;
type usbaccessory_device, dev_type;
type usb_device, dev_type;
type usb_device, dev_type;
type properties_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.
domain.te
+
1
−
0
View file @
c529c66f
...
@@ -55,6 +55,7 @@ allow domain nv_device:chr_file rw_file_perms;
...
@@ -55,6 +55,7 @@ allow domain nv_device:chr_file rw_file_perms;
allow domain alarm_device:chr_file r_file_perms;
allow domain alarm_device:chr_file r_file_perms;
allow domain urandom_device:chr_file r_file_perms;
allow domain urandom_device:chr_file r_file_perms;
allow domain random_device:chr_file r_file_perms;
allow domain random_device:chr_file r_file_perms;
allow domain properties_device:file r_file_perms;
# Filesystem accesses.
# Filesystem accesses.
allow domain fs_type:filesystem getattr;
allow domain fs_type:filesystem getattr;
...
...
This diff is collapsed.
Click to expand it.
file_contexts
+
1
−
0
View file @
c529c66f
...
@@ -113,6 +113,7 @@
...
@@ -113,6 +113,7 @@
/dev/watchdog u:object_r:watchdog_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
/dev/__properties__ u:object_r:properties_device:s0
#############################
#############################
# System files
# System files
#
#
...
...
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