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
8d959fc9
Commit
8d959fc9
authored
7 years ago
by
Jeff Vander Stoep
Committed by
android-build-merger
7 years ago
Browse files
Options
Downloads
Plain Diff
domain_deprecated: remove ion access am:
88e4be54
am:
8745ac43
am:
c8338f26
am:
efb5a5ba
Change-Id: Ie2461f25e7ac409837c84d7f467b63d4f23d918f
parents
96f0e1fd
efb5a5ba
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
private/domain_deprecated.te
+0
-19
0 additions, 19 deletions
private/domain_deprecated.te
public/dumpstate.te
+3
-0
3 additions, 0 deletions
public/dumpstate.te
with
3 additions
and
19 deletions
private/domain_deprecated.te
+
0
−
19
View file @
8d959fc9
...
@@ -156,25 +156,6 @@ auditallow {
...
@@ -156,25 +156,6 @@ auditallow {
} cache_file:lnk_file r_file_perms;
} cache_file:lnk_file r_file_perms;
')
')
# Allow access to ion memory allocation device
allow domain_deprecated ion_device:chr_file rw_file_perms;
# split this auditallow into read and write perms since most domains seem to
# only require read
userdebug_or_eng(`
auditallow {
domain_deprecated
-appdomain
-fingerprintd
-keystore
-surfaceflinger
-system_server
-tee
-vold
-zygote
} ion_device:chr_file r_file_perms;
auditallow domain_deprecated ion_device:chr_file { write append };
')
# Read access to pseudo filesystems.
# Read access to pseudo filesystems.
r_dir_file(domain_deprecated, proc)
r_dir_file(domain_deprecated, proc)
r_dir_file(domain_deprecated, sysfs)
r_dir_file(domain_deprecated, sysfs)
...
...
This diff is collapsed.
Click to expand it.
public/dumpstate.te
+
3
−
0
View file @
8d959fc9
...
@@ -200,6 +200,9 @@ allow dumpstate proc_zoneinfo:file r_file_perms;
...
@@ -200,6 +200,9 @@ allow dumpstate proc_zoneinfo:file r_file_perms;
# Create a service for talking back to system_server
# Create a service for talking back to system_server
add_service(dumpstate, dumpstate_service)
add_service(dumpstate, dumpstate_service)
# use /dev/ion for screen capture
allow dumpstate ion_device:chr_file r_file_perms;
###
###
### neverallow rules
### neverallow rules
###
###
...
...
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