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
adf6e309
Commit
adf6e309
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 sysfs rules am:
275f6dd5
am:
8e589af6
am:
e934bee6
Change-Id: I9943ee2240a108031b10f7e5123a8b239ef872bf
parents
2562e322
e934bee6
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
private/domain_deprecated.te
+0
-46
0 additions, 46 deletions
private/domain_deprecated.te
public/uncrypt.te
+3
-0
3 additions, 0 deletions
public/uncrypt.te
public/update_engine_common.te
+3
-0
3 additions, 0 deletions
public/update_engine_common.te
with
6 additions
and
46 deletions
private/domain_deprecated.te
deleted
100644 → 0
+
0
−
46
View file @
2562e322
# rules removed from the domain attribute
# Read access to pseudo filesystems.
r_dir_file(domain_deprecated, sysfs)
userdebug_or_eng(`
auditallow {
domain_deprecated
-fingerprintd
-healthd
-netd
-recovery
-system_app
-surfaceflinger
-system_server
-tee
-ueventd
-vold
} sysfs:dir { open getattr read ioctl lock }; # search granted in domain
auditallow {
domain_deprecated
-fingerprintd
-healthd
-netd
-recovery
-system_app
-surfaceflinger
-system_server
-tee
-ueventd
-vold
} sysfs:file r_file_perms;
auditallow {
domain_deprecated
-fingerprintd
-healthd
-netd
-recovery
-system_app
-surfaceflinger
-system_server
-tee
-ueventd
-vold
} sysfs:lnk_file { getattr open ioctl lock }; # read granted in domain
')
This diff is collapsed.
Click to expand it.
public/uncrypt.te
+
3
−
0
View file @
adf6e309
...
@@ -40,3 +40,6 @@ r_dir_file(uncrypt, rootfs)
...
@@ -40,3 +40,6 @@ r_dir_file(uncrypt, rootfs)
# uncrypt reads /proc/cmdline
# uncrypt reads /proc/cmdline
allow uncrypt proc:file r_file_perms;
allow uncrypt proc:file r_file_perms;
# Read files in /sys
r_dir_file(uncrypt, sysfs)
This diff is collapsed.
Click to expand it.
public/update_engine_common.te
+
3
−
0
View file @
adf6e309
...
@@ -44,3 +44,6 @@ allow update_engine proc_misc:file r_file_perms;
...
@@ -44,3 +44,6 @@ allow update_engine proc_misc:file r_file_perms;
# read directories on /system and /vendor
# read directories on /system and /vendor
allow update_engine system_file:dir r_dir_perms;
allow update_engine system_file:dir r_dir_perms;
# Read files in /sys
r_dir_file(uncrypt, sysfs)
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