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
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test
platform
system
sepolicy
Commits
55efefc3
Commit
55efefc3
authored
8 years ago
by
Jeff Vander Stoep
Committed by
android-build-merger
8 years ago
Browse files
Options
Downloads
Plain Diff
Remove dumpstate selinux spam from logs am:
f4ce8f6c
am:
4e6f67fb
Change-Id: Ia3fe7f33ca0dc2f18040d3128ce84f0878fc8d63
parents
407e9457
4e6f67fb
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
private/domain_deprecated.te
+3
-0
3 additions, 0 deletions
private/domain_deprecated.te
public/dumpstate.te
+2
-1
2 additions, 1 deletion
public/dumpstate.te
with
5 additions
and
1 deletion
private/domain_deprecated.te
+
3
−
0
View file @
55efefc3
...
@@ -149,6 +149,7 @@ allow domain_deprecated proc_meminfo:file r_file_perms;
...
@@ -149,6 +149,7 @@ allow domain_deprecated proc_meminfo:file r_file_perms;
userdebug_or_eng(`
userdebug_or_eng(`
auditallow {
auditallow {
domain_deprecated
domain_deprecated
-dumpstate
-fsck
-fsck
-fsck_untrusted
-fsck_untrusted
-sdcardd
-sdcardd
...
@@ -158,6 +159,7 @@ auditallow {
...
@@ -158,6 +159,7 @@ auditallow {
} proc:file r_file_perms;
} proc:file r_file_perms;
auditallow {
auditallow {
domain_deprecated
domain_deprecated
-dumpstate
-fsck
-fsck
-fsck_untrusted
-fsck_untrusted
-system_server
-system_server
...
@@ -165,6 +167,7 @@ auditallow {
...
@@ -165,6 +167,7 @@ auditallow {
} proc:lnk_file { open ioctl lock }; # getattr read granted in domain
} proc:lnk_file { open ioctl lock }; # getattr read granted in domain
auditallow {
auditallow {
domain_deprecated
domain_deprecated
-dumpstate
-fingerprintd
-fingerprintd
-healthd
-healthd
-netd
-netd
...
...
This diff is collapsed.
Click to expand it.
public/dumpstate.te
+
2
−
1
View file @
55efefc3
...
@@ -137,8 +137,9 @@ read_logd(dumpstate)
...
@@ -137,8 +137,9 @@ read_logd(dumpstate)
control_logd(dumpstate)
control_logd(dumpstate)
read_runtime_log_tags(dumpstate)
read_runtime_log_tags(dumpstate)
# Read /proc/net
# Read
/proc and
/proc/net
allow dumpstate proc_net:file r_file_perms;
allow dumpstate proc_net:file r_file_perms;
r_dir_file(dumpstate, proc)
# Read network state info files.
# Read network state info files.
allow dumpstate net_data_file:dir search;
allow dumpstate net_data_file:dir search;
...
...
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