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
b6c9f6dd
Commit
b6c9f6dd
authored
8 years ago
by
Nick Kralevich
Committed by
android-build-merger
8 years ago
Browse files
Options
Downloads
Plain Diff
kernel.te: tighten entrypoint / execute_no_trans neverallow am:
02cfce49
am:
74b84259
am:
02e44d0e
Change-Id: I40fd1b397f71950e79bca563f441ad3c33d7a275
parents
d8ffcfec
02e44d0e
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
public/kernel.te
+1
-4
1 addition, 4 deletions
public/kernel.te
with
1 addition
and
4 deletions
public/kernel.te
+
1
−
4
View file @
b6c9f6dd
...
@@ -87,9 +87,6 @@ neverallow * kernel:process { transition dyntransition };
...
@@ -87,9 +87,6 @@ neverallow * kernel:process { transition dyntransition };
# possible causes include:
# possible causes include:
# - The program is a kernel usermodehelper. In this case, define a domain
# - The program is a kernel usermodehelper. In this case, define a domain
# for the program and domain_auto_trans() to it.
# for the program and domain_auto_trans() to it.
# - You failed to setcon u:r:init:s0 in your init.rc and thus your init
# program was left in the kernel domain and is now trying to execute
# some other program. Fix your init.rc file.
# - You are running an exploit which switched to the init task credentials
# - You are running an exploit which switched to the init task credentials
# and is then trying to exec a shell or other program. You lose!
# and is then trying to exec a shell or other program. You lose!
neverallow kernel
{ file_type fs_type -rootfs }
:file { entrypoint execute_no_trans };
neverallow kernel
*
:file { entrypoint execute_no_trans };
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