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
e288cfa1
Commit
e288cfa1
authored
9 years ago
by
Nick Kralevich
Committed by
Gerrit Code Review
9 years ago
Browse files
Options
Downloads
Plain Diff
Merge "su.te: drop domain_deprecated and app auditallow rules."
parents
1bd0712e
0af2aa0b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
app.te
+2
-2
2 additions, 2 deletions
app.te
su.te
+1
-1
1 addition, 1 deletion
su.te
with
3 additions
and
3 deletions
app.te
+
2
−
2
View file @
e288cfa1
...
@@ -219,8 +219,8 @@ selinux_check_access(appdomain)
...
@@ -219,8 +219,8 @@ selinux_check_access(appdomain)
selinux_check_context(appdomain)
selinux_check_context(appdomain)
# appdomain should not be accessing information on /sys
# appdomain should not be accessing information on /sys
auditallow appdomain sysfs:dir { open getattr read ioctl };
auditallow
{
appdomain
userdebug_or_eng(`-su') }
sysfs:dir { open getattr read ioctl };
auditallow appdomain sysfs:file r_file_perms;
auditallow
{
appdomain
userdebug_or_eng(`-su') }
sysfs:file r_file_perms;
###
###
### Neverallow rules
### Neverallow rules
...
...
This diff is collapsed.
Click to expand it.
su.te
+
1
−
1
View file @
e288cfa1
...
@@ -5,7 +5,7 @@ userdebug_or_eng(`
...
@@ -5,7 +5,7 @@ userdebug_or_eng(`
# Domain used for su processes, as well as for adbd and adb shell
# Domain used for su processes, as well as for adbd and adb shell
# after performing an adb root command. The domain definition is
# after performing an adb root command. The domain definition is
# wrapped to ensure that it does not exist at all on -user builds.
# wrapped to ensure that it does not exist at all on -user builds.
type su, domain,
domain_deprecated,
mlstrustedsubject;
type su, domain, mlstrustedsubject;
domain_auto_trans(shell, su_exec, su)
domain_auto_trans(shell, su_exec, su)
# Allow dumpstate to call su on userdebug / eng builds to collect
# Allow dumpstate to call su on userdebug / eng builds to collect
...
...
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