Skip to content
Snippets Groups Projects
Commit 3d860338 authored by Stephen Smalley's avatar Stephen Smalley Committed by Android Git Automerger
Browse files

am 21ada26d: Fix neverallow rules to eliminate CTS SELinuxTest warnings.

* commit '21ada26d':
  Fix neverallow rules to eliminate CTS SELinuxTest warnings.
parents 4a518b8b 21ada26d
No related branches found
No related tags found
No related merge requests found
...@@ -255,7 +255,7 @@ neverallow appdomain { domain -appdomain }:process ...@@ -255,7 +255,7 @@ neverallow appdomain { domain -appdomain }:process
# Transition to a non-app domain. # Transition to a non-app domain.
# Exception for the shell domain, can transition to runas, etc. # Exception for the shell domain, can transition to runas, etc.
neverallow { appdomain -shell } ~appdomain:process neverallow { appdomain -shell } { domain -appdomain }:process
{ transition dyntransition }; { transition dyntransition };
# Write to rootfs. # Write to rootfs.
......
...@@ -167,4 +167,4 @@ allow dev_type tmpfs:filesystem associate; ...@@ -167,4 +167,4 @@ allow dev_type tmpfs:filesystem associate;
# type apk_data_file, file_type, data_file_type, fs_type; # type apk_data_file, file_type, data_file_type, fs_type;
# Should be: # Should be:
# type apk_data_file, file_type, data_file_type; # type apk_data_file, file_type, data_file_type;
neverallow fs_type file_type:filesystem *; neverallow fs_type file_type:filesystem associate;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment