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
289f91ac
Commit
289f91ac
authored
12 years ago
by
Stephen Smalley
Committed by
Android Git Automerger
12 years ago
Browse files
Options
Downloads
Plain Diff
am
5b852b53
: am
62508bf4
: Allow apps to execute the shell or system commands unconditionally.
* commit '
5b852b53
': Allow apps to execute the shell or system commands unconditionally.
parents
23eb5be2
5b852b53
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
app.te
+4
-0
4 additions, 0 deletions
app.te
cts.te
+4
-0
4 additions, 0 deletions
cts.te
with
8 additions
and
0 deletions
app.te
+
4
−
0
View file @
289f91ac
...
@@ -147,6 +147,10 @@ allow appdomain platform_app_data_file:file { getattr read write };
...
@@ -147,6 +147,10 @@ allow appdomain platform_app_data_file:file { getattr read write };
allow appdomain system_data_file:dir r_dir_perms;
allow appdomain system_data_file:dir r_dir_perms;
allow appdomain system_data_file:file { execute open };
allow appdomain system_data_file:file { execute open };
# Execute the shell or other system executables.
allow appdomain shell_exec:file rx_file_perms;
allow appdomain system_file:file rx_file_perms;
# Read/write wallpaper file (opened by system).
# Read/write wallpaper file (opened by system).
allow appdomain wallpaper_file:file { read write };
allow appdomain wallpaper_file:file { read write };
...
...
This diff is collapsed.
Click to expand it.
cts.te
+
4
−
0
View file @
289f91ac
...
@@ -26,6 +26,10 @@ allow appdomain file_type:dir_file_class_set getattr;
...
@@ -26,6 +26,10 @@ allow appdomain file_type:dir_file_class_set getattr;
allow appdomain dev_type:dir_file_class_set getattr;
allow appdomain dev_type:dir_file_class_set getattr;
allow appdomain fs_type:dir_file_class_set getattr;
allow appdomain fs_type:dir_file_class_set getattr;
# Accesses to apk_tmp_file and shell_data_file
allow appdomain apk_tmp_file:file rw_file_perms;
allow appdomain shell_data_file:file r_file_perms;
# Read permission over link file to devices.
# Read permission over link file to devices.
allow appdomain dev_type:lnk_file read;
allow appdomain dev_type:lnk_file read;
...
...
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