Skip to content
Snippets Groups Projects
Commit cf141426 authored by Geremy Condra's avatar Geremy Condra Committed by Gerrit Code Review
Browse files

Merge "Strengthen setenforce and setbool assertions"

parents 9aea69c0 193d1292
No related branches found
No related tags found
No related merge requests found
...@@ -16,7 +16,7 @@ neverallow appdomain kmem_device:chr_file { read write }; ...@@ -16,7 +16,7 @@ neverallow appdomain kmem_device:chr_file { read write };
# Setting SELinux enforcing status or booleans. # Setting SELinux enforcing status or booleans.
# Conditionally allowed to system_app for SEAndroidManager. # Conditionally allowed to system_app for SEAndroidManager.
neverallow { appdomain -system_app } kernel:security { setenforce setbool }; neverallow { domain -unconfineddomain -system -system_app } kernel:security { setenforce setbool };
# Load security policy. # Load security policy.
neverallow appdomain kernel:security load_policy; neverallow appdomain kernel:security load_policy;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment