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
f7a0cc51
Commit
f7a0cc51
authored
9 years ago
by
Nick Kralevich
Committed by
android-build-merger
9 years ago
Browse files
Options
Downloads
Plain Diff
Add permissions back to app / shell domains
am:
8ff6a86d
* commit '
8ff6a86d
': Add permissions back to app / shell domains
parents
781a4bed
8ff6a86d
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
app.te
+10
-0
10 additions, 0 deletions
app.te
shell.te
+3
-0
3 additions, 0 deletions
shell.te
with
13 additions
and
0 deletions
app.te
+
10
−
0
View file @
f7a0cc51
...
@@ -29,6 +29,16 @@ allow appdomain zygote:process sigchld;
...
@@ -29,6 +29,16 @@ allow appdomain zygote:process sigchld;
allow appdomain cgroup:dir { search write };
allow appdomain cgroup:dir { search write };
allow appdomain cgroup:file w_file_perms;
allow appdomain cgroup:file w_file_perms;
# Read /data/dalvik-cache.
allow appdomain dalvikcache_data_file:dir { search getattr };
allow appdomain dalvikcache_data_file:file r_file_perms;
# Read the /sdcard symlink
allow appdomain rootfs:lnk_file r_file_perms;
# Search /storage/emulated tmpfs mount.
allow appdomain tmpfs:dir r_dir_perms;
userdebug_or_eng(`
userdebug_or_eng(`
# Notify zygote of the wrapped process PID when using --invoke-with.
# Notify zygote of the wrapped process PID when using --invoke-with.
allow appdomain zygote:fifo_file write;
allow appdomain zygote:fifo_file write;
...
...
This diff is collapsed.
Click to expand it.
shell.te
+
3
−
0
View file @
f7a0cc51
...
@@ -25,6 +25,9 @@ userdebug_or_eng(`
...
@@ -25,6 +25,9 @@ userdebug_or_eng(`
allow shell adbd:fd use;
allow shell adbd:fd use;
allow shell adbd:unix_stream_socket { read write ioctl getattr };
allow shell adbd:unix_stream_socket { read write ioctl getattr };
# Root fs.
allow shell rootfs:dir r_dir_perms;
# read files in /data/anr
# read files in /data/anr
allow shell anr_data_file:dir r_dir_perms;
allow shell anr_data_file:dir r_dir_perms;
allow shell anr_data_file:file r_file_perms;
allow shell anr_data_file: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