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
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test
platform
system
sepolicy
Commits
02ce98ea
Commit
02ce98ea
authored
6 years ago
by
Treehugger Robot
Committed by
Gerrit Code Review
6 years ago
Browse files
Options
Downloads
Plain Diff
Merge "remove system_server debugfs:file r_file_perms"
parents
3d533078
fe4061da
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
private/system_server.te
+0
-2
0 additions, 2 deletions
private/system_server.te
public/domain.te
+2
-2
2 additions, 2 deletions
public/domain.te
with
2 additions
and
4 deletions
private/system_server.te
+
0
−
2
View file @
02ce98ea
...
@@ -142,8 +142,6 @@ allow system_server stats_data_file:dir { open read remove_name search write };
...
@@ -142,8 +142,6 @@ allow system_server stats_data_file:dir { open read remove_name search write };
allow system_server stats_data_file:file unlink;
allow system_server stats_data_file:file unlink;
# Read /sys/kernel/debug/wakeup_sources.
# Read /sys/kernel/debug/wakeup_sources.
allow system_server debugfs:file r_file_perms;
auditallow system_server debugfs:file r_file_perms;
allow system_server debugfs_wakeup_sources:file r_file_perms;
allow system_server debugfs_wakeup_sources:file r_file_perms;
# Delete /data/misc/stats-data/ and /data/misc/stats-service/ directories.
# Delete /data/misc/stats-data/ and /data/misc/stats-service/ directories.
...
...
This diff is collapsed.
Click to expand it.
public/domain.te
+
2
−
2
View file @
02ce98ea
...
@@ -1387,8 +1387,8 @@ neverallow * domain:file { execute execute_no_trans entrypoint };
...
@@ -1387,8 +1387,8 @@ neverallow * domain:file { execute execute_no_trans entrypoint };
# Do not allow access to the generic debugfs label. This is too broad.
# Do not allow access to the generic debugfs label. This is too broad.
# Instead, if access to part of debugfs is desired, it should have a
# Instead, if access to part of debugfs is desired, it should have a
# more specific label.
# more specific label.
# TODO: fix
system_server and
dumpstate
# TODO: fix dumpstate
neverallow { domain -init -vendor_init
-system_server
-dumpstate } debugfs:file no_rw_file_perms;
neverallow { domain -init -vendor_init -dumpstate } debugfs:file no_rw_file_perms;
# Profiles contain untrusted data and profman parses that. We should only run
# Profiles contain untrusted data and profman parses that. We should only run
# in from installd forked processes.
# in from installd forked processes.
...
...
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