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
5903310e
Commit
5903310e
authored
11 years ago
by
Nick Kralevich
Committed by
Android Git Automerger
11 years ago
Browse files
Options
Downloads
Plain Diff
am
fed8a2a4
: Remove transition / dyntransition from unconfined
* commit '
fed8a2a4
': Remove transition / dyntransition from unconfined
parents
17d90a46
fed8a2a4
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
healthd.te
+0
-2
0 additions, 2 deletions
healthd.te
init.te
+8
-0
8 additions, 0 deletions
init.te
kernel.te
+3
-0
3 additions, 0 deletions
kernel.te
unconfined.te
+1
-1
1 addition, 1 deletion
unconfined.te
with
12 additions
and
3 deletions
healthd.te
+
0
−
2
View file @
5903310e
# healthd seclabel is specified in init.rc since
# healthd seclabel is specified in init.rc since
# it lives in the rootfs and has no unique file type.
# it lives in the rootfs and has no unique file type.
type healthd, domain;
type healthd, domain;
type healthd_exec, exec_type, file_type;
init_daemon_domain(healthd)
allow healthd rootfs:file { read entrypoint };
allow healthd rootfs:file { read entrypoint };
write_klog(healthd)
write_klog(healthd)
# /dev/__null__ created by init prior to policy load,
# /dev/__null__ created by init prior to policy load,
...
...
This diff is collapsed.
Click to expand it.
init.te
+
8
−
0
View file @
5903310e
...
@@ -11,3 +11,11 @@ allow init {fs_type dev_type file_type}:dir_file_class_set relabelto;
...
@@ -11,3 +11,11 @@ allow init {fs_type dev_type file_type}:dir_file_class_set relabelto;
allow init kernel:security load_policy;
allow init kernel:security load_policy;
allow init usermodehelper:file rw_file_perms;
allow init usermodehelper:file rw_file_perms;
allow init proc_security:file rw_file_perms;
allow init proc_security:file rw_file_perms;
# Transitions to seclabel processes in init.rc
allow init adbd:process transition;
allow init healthd:process transition;
allow init recovery:process transition;
allow init shell:process transition;
allow init ueventd:process transition;
allow init watchdogd:process transition;
This diff is collapsed.
Click to expand it.
kernel.te
+
3
−
0
View file @
5903310e
# Life begins with the kernel.
# Life begins with the kernel.
type kernel, domain;
type kernel, domain;
allow kernel init:process dyntransition;
# The kernel is unconfined.
# The kernel is unconfined.
unconfined_domain(kernel)
unconfined_domain(kernel)
relabelto_domain(kernel)
relabelto_domain(kernel)
...
...
This diff is collapsed.
Click to expand it.
unconfined.te
+
1
−
1
View file @
5903310e
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
allow unconfineddomain self:capability_class_set *;
allow unconfineddomain self:capability_class_set *;
allow unconfineddomain kernel:security ~{ load_policy setenforce setcheckreqprot };
allow unconfineddomain kernel:security ~{ load_policy setenforce setcheckreqprot };
allow unconfineddomain kernel:system *;
allow unconfineddomain kernel:system *;
allow unconfineddomain domain:process ~{ execmem execstack execheap ptrace };
allow unconfineddomain domain:process ~{ execmem execstack execheap ptrace
transition dyntransition
};
allow unconfineddomain domain:fd *;
allow unconfineddomain domain:fd *;
allow unconfineddomain domain:dir r_dir_perms;
allow unconfineddomain domain:dir r_dir_perms;
allow unconfineddomain domain:lnk_file r_file_perms;
allow unconfineddomain domain:lnk_file r_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