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
b69ebb1b
Commit
b69ebb1b
authored
9 years ago
by
Nick Kralevich
Browse files
Options
Downloads
Plain Diff
resolved conflicts for
f57e2fd7
to master
Change-Id: I2a178737f43bae53de9c1fcdcfba4d2717c67fd5
parents
00eea6d8
f57e2fd7
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
app.te
+0
-3
0 additions, 3 deletions
app.te
isolated_app.te
+7
-0
7 additions, 0 deletions
isolated_app.te
untrusted_app.te
+3
-0
3 additions, 0 deletions
untrusted_app.te
with
10 additions
and
3 deletions
app.te
+
0
−
3
View file @
b69ebb1b
...
@@ -19,9 +19,6 @@ allow appdomain zygote:fd use;
...
@@ -19,9 +19,6 @@ allow appdomain zygote:fd use;
# valgrind needs mmap exec for zygote
# valgrind needs mmap exec for zygote
allow appdomain zygote_exec:file rx_file_perms;
allow appdomain zygote_exec:file rx_file_perms;
# gdbserver for ndk-gdb ptrace attaches to app process.
allow appdomain self:process ptrace;
# Read system properties managed by zygote.
# Read system properties managed by zygote.
allow appdomain zygote_tmpfs:file read;
allow appdomain zygote_tmpfs:file read;
...
...
This diff is collapsed.
Click to expand it.
isolated_app.te
+
7
−
0
View file @
b69ebb1b
...
@@ -18,6 +18,13 @@ allow isolated_app app_data_file:file { read write getattr lock };
...
@@ -18,6 +18,13 @@ allow isolated_app app_data_file:file { read write getattr lock };
allow isolated_app activity_service:service_manager find;
allow isolated_app activity_service:service_manager find;
allow isolated_app display_service:service_manager find;
allow isolated_app display_service:service_manager find;
# Google Breakpad (crash reporter for Chrome) relies on ptrace
# functionality. Without the ability to ptrace, the crash reporter
# tool is broken.
# b/20150694
# https://code.google.com/p/chromium/issues/detail?id=475270
allow isolated_app self:process ptrace;
#####
#####
##### Neverallow
##### Neverallow
#####
#####
...
...
This diff is collapsed.
Click to expand it.
untrusted_app.te
+
3
−
0
View file @
b69ebb1b
...
@@ -110,6 +110,9 @@ userdebug_or_eng(`
...
@@ -110,6 +110,9 @@ userdebug_or_eng(`
allow untrusted_app perfprofd_data_file:dir r_dir_perms;
allow untrusted_app perfprofd_data_file:dir r_dir_perms;
')
')
# gdbserver for ndk-gdb ptrace attaches to app process.
allow untrusted_app self:process ptrace;
# Programs routinely attempt to scan through /system, looking
# Programs routinely attempt to scan through /system, looking
# for files. Suppress the denials when they occur.
# for files. Suppress the denials when they occur.
dontaudit untrusted_app exec_type:file getattr;
dontaudit untrusted_app exec_type:file getattr;
...
...
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