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
c8859c2d
Commit
c8859c2d
authored
10 years ago
by
Nick Kralevich
Committed by
Gerrit Code Review
10 years ago
Browse files
Options
Downloads
Plain Diff
Merge "remove syslog_* from unconfined"
parents
8dd5053f
685e2f9d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
app.te
+2
-2
2 additions, 2 deletions
app.te
init.te
+1
-0
1 addition, 0 deletions
init.te
unconfined.te
+1
-1
1 addition, 1 deletion
unconfined.te
with
4 additions
and
3 deletions
app.te
+
2
−
2
View file @
c8859c2d
...
...
@@ -317,9 +317,9 @@ neverallow { appdomain -unconfineddomain }
proc:dir_file_class_set write;
# Access to syslog(2) or /proc/kmsg.
neverallow { appdomain -system_app
-unconfineddomain
}
neverallow { appdomain -system_app }
kernel:system { syslog_mod syslog_console };
neverallow { appdomain -system_app
-unconfineddomain
-shelldomain }
neverallow { appdomain -system_app -shelldomain }
kernel:system syslog_read;
# Ability to perform any filesystem operation other than statfs(2).
...
...
This diff is collapsed.
Click to expand it.
init.te
+
1
−
0
View file @
c8859c2d
...
...
@@ -12,6 +12,7 @@ allow init dev_type:blk_file rw_file_perms;
allow init fs_type:filesystem *;
allow init {fs_type dev_type file_type}:dir_file_class_set relabelto;
allow init kernel:security load_policy;
allow init kernel:system syslog_mod;
allow init usermodehelper:file rw_file_perms;
allow init proc_security:file rw_file_perms;
...
...
This diff is collapsed.
Click to expand it.
unconfined.te
+
1
−
1
View file @
c8859c2d
...
...
@@ -19,7 +19,7 @@
allow unconfineddomain self:capability ~{ sys_ptrace sys_rawio mknod sys_module audit_write audit_control linux_immutable };
allow unconfineddomain self:capability2 ~{ mac_override mac_admin };
allow unconfineddomain kernel:security ~{ load_policy setenforce setcheckreqprot setbool setsecparam };
allow unconfineddomain kernel:system
*
;
allow unconfineddomain kernel:system
~{ syslog_read syslog_mod syslog_console }
;
allow unconfineddomain domain:process ~{ execmem execstack execheap ptrace transition dyntransition setexec setfscreate setcurrent setkeycreate setsockcreate };
allow unconfineddomain domain:fd *;
allow unconfineddomain domain:dir r_dir_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