Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sepolicy
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test
platform
system
sepolicy
Commits
984b0030
Commit
984b0030
authored
Oct 28, 2015
by
Nick Kralevich
Committed by
android-build-merger
Oct 28, 2015
Browse files
Options
Downloads
Plain Diff
Update text relocation neverallow assertions
am:
89424bf9
* commit '
89424bf9
': Update text relocation neverallow assertions
parents
5a3132bb
89424bf9
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
domain.te
+2
-3
2 additions, 3 deletions
domain.te
with
2 additions
and
3 deletions
domain.te
+
2
−
3
View file @
984b0030
...
@@ -417,7 +417,6 @@ neverallow { domain userdebug_or_eng(`-dumpstate -shell -su') } su_exec:file no_
...
@@ -417,7 +417,6 @@ neverallow { domain userdebug_or_eng(`-dumpstate -shell -su') } su_exec:file no_
# which, long term, need to go away.
# which, long term, need to go away.
neverallow domain {
neverallow domain {
file_type
file_type
-system_file # needs to die. b/20013628
-system_data_file
-system_data_file
-apk_data_file
-apk_data_file
-app_data_file
-app_data_file
...
@@ -429,9 +428,9 @@ neverallow domain {
...
@@ -429,9 +428,9 @@ neverallow domain {
# required by some device-specific service domains.
# required by some device-specific service domains.
neverallow domain self:process { execstack execheap };
neverallow domain self:process { execstack execheap };
#
TODO:
prohibit non-zygote spawned processes from using shared libraries
# prohibit non-zygote spawned processes from using shared libraries
# with text relocations. b/20013628 .
# with text relocations. b/20013628 .
#
neverallow { domain -appdomain } file_type:file execmod;
neverallow { domain -appdomain } file_type:file execmod;
neverallow { domain -init } proc:{ file dir } mounton;
neverallow { domain -init } proc:{ file dir } mounton;
...
...
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