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
e4682a63
Commit
e4682a63
authored
12 years ago
by
Stephen Smalley
Browse files
Options
Downloads
Patches
Plain Diff
Allow apps to write to /proc/net/xt_qtaguid/ctrl.
parent
6c39ee00
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
app.te
+3
-0
3 additions, 0 deletions
app.te
file.te
+1
-0
1 addition, 0 deletions
file.te
ocontexts
+1
-0
1 addition, 0 deletions
ocontexts
with
5 additions
and
0 deletions
app.te
+
3
−
0
View file @
e4682a63
...
@@ -103,6 +103,9 @@ allow appdomain wallpaper_file:file { read write };
...
@@ -103,6 +103,9 @@ allow appdomain wallpaper_file:file { read write };
allow appdomain anr_data_file:dir search;
allow appdomain anr_data_file:dir search;
allow appdomain anr_data_file:file { open append };
allow appdomain anr_data_file:file { open append };
# Write to /proc/net/xt_qtaguid/ctrl file.
allow appdomain qtaguid:file write;
# Use the Binder.
# Use the Binder.
binder_use(appdomain)
binder_use(appdomain)
# Perform binder IPC to binder services.
# Perform binder IPC to binder services.
...
...
This diff is collapsed.
Click to expand it.
file.te
+
1
−
0
View file @
e4682a63
...
@@ -4,6 +4,7 @@ type pipefs, fs_type;
...
@@ -4,6 +4,7 @@ type pipefs, fs_type;
type sockfs, fs_type;
type sockfs, fs_type;
type rootfs, fs_type;
type rootfs, fs_type;
type proc, fs_type;
type proc, fs_type;
type qtaguid, fs_type, mlstrustedobject;
type selinuxfs, fs_type;
type selinuxfs, fs_type;
type cgroup, fs_type, mlstrustedobject;
type cgroup, fs_type, mlstrustedobject;
type sysfs, fs_type, mlstrustedobject;
type sysfs, fs_type, mlstrustedobject;
...
...
This diff is collapsed.
Click to expand it.
ocontexts
+
1
−
0
View file @
e4682a63
...
@@ -51,6 +51,7 @@ fs_use_trans mqueue u:object_r:mqueue:s0;
...
@@ -51,6 +51,7 @@ fs_use_trans mqueue u:object_r:mqueue:s0;
genfscon rootfs / u:object_r:rootfs:s0
genfscon rootfs / u:object_r:rootfs:s0
# proc labeling can be further refined (longest matching prefix).
# proc labeling can be further refined (longest matching prefix).
genfscon proc / u:object_r:proc:s0
genfscon proc / u:object_r:proc:s0
genfscon proc /net/xt_qtaguid/ctrl u:object_r:qtaguid:s0
# selinuxfs booleans can be individually labeled.
# selinuxfs booleans can be individually labeled.
genfscon selinuxfs / u:object_r:selinuxfs:s0
genfscon selinuxfs / u:object_r:selinuxfs:s0
genfscon cgroup / u:object_r:cgroup:s0
genfscon cgroup / u:object_r:cgroup: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