am e693ed7c
: Remove the su domain from -user builds.
* commit 'e693ed7c187804b3b1ae49bf0d31bd43e7a19e08': Remove the su domain from -user builds.
This commit is contained in:
commit
8b92506821
2 changed files with 10 additions and 0 deletions
|
@ -10,6 +10,12 @@ POLICYVERS ?= 24
|
|||
MLS_SENS=1
|
||||
MLS_CATS=1024
|
||||
|
||||
ifeq ($(TARGET_BUILD_VARIANT),user)
|
||||
BOARD_SEPOLICY_IGNORE+=external/sepolicy/su.te
|
||||
else
|
||||
BOARD_SEPOLICY_IGNORE+=external/sepolicy/su_user.te
|
||||
endif
|
||||
|
||||
# Quick edge case error detection for BOARD_SEPOLICY_REPLACE.
|
||||
# Builds the singular path for each replace file.
|
||||
sepolicy_replace_paths :=
|
||||
|
|
4
su_user.te
Normal file
4
su_user.te
Normal file
|
@ -0,0 +1,4 @@
|
|||
# File types must be defined for file_contexts.
|
||||
type su_exec, file_type;
|
||||
|
||||
# No allow rules
|
Loading…
Reference in a new issue