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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Werner Sembach
AndroidSystemSEPolicy
Commits
cac0b7d6
Commit
cac0b7d6
authored
Sep 13, 2013
by
Stephen Smalley
Committed by
Android Git Automerger
Sep 13, 2013
Browse files
Options
Downloads
Plain Diff
am
c0845036
: Remove sys_nice capability from domains.
* commit '
c0845036
': Remove sys_nice capability from domains.
parents
28029a8d
c0845036
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
domain.te
+0
-3
0 additions, 3 deletions
domain.te
system.te
+16
-0
16 additions, 0 deletions
system.te
with
16 additions
and
3 deletions
domain.te
+
0
−
3
View file @
cac0b7d6
...
@@ -10,9 +10,6 @@ allow domain tmpfs:file { read getattr };
...
@@ -10,9 +10,6 @@ allow domain tmpfs:file { read getattr };
# Search /storage/emulated tmpfs mount.
# Search /storage/emulated tmpfs mount.
allow domain tmpfs:dir r_dir_perms;
allow domain tmpfs:dir r_dir_perms;
# binder adjusts the nice value during IPC.
allow domain self:capability sys_nice;
# Intra-domain accesses.
# Intra-domain accesses.
allow domain self:process ~{ execstack execheap ptrace };
allow domain self:process ~{ execstack execheap ptrace };
allow domain self:fd use;
allow domain self:fd use;
...
...
This diff is collapsed.
Click to expand it.
system.te
+
16
−
0
View file @
cac0b7d6
...
@@ -8,6 +8,22 @@ permissive system;
...
@@ -8,6 +8,22 @@ permissive system;
unconfined_domain(system);
unconfined_domain(system);
relabelto_domain(system);
relabelto_domain(system);
# These are the capabilities assigned by the zygote to the
# system server.
allow system self:capability {
kill
net_admin
net_bind_service
net_broadcast
net_raw
sys_boot
sys_module
sys_nice
sys_resource
sys_time
sys_tty_config
};
# Create a socket for receiving info from wpa.
# Create a socket for receiving info from wpa.
type_transition system wifi_data_file:sock_file system_wpa_socket;
type_transition system wifi_data_file:sock_file system_wpa_socket;
allow system self:zygote { specifyids specifyrlimits specifyseinfo };
allow system self:zygote { specifyids specifyrlimits specifyseinfo };
...
...
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