Skip to content
Snippets Groups Projects
Commit 4ee7131a authored by William Roberts's avatar William Roberts
Browse files

Introduce seapp_neverallow test


Produce a list of neverallow assertions from seapp_contexts into
a separate file, general_seapp_context_neverallows, to be used
during CTS neverallow checking.

Change-Id: I171ed43cf4ae4961f66d5d8f56695345493f1261
Signed-off-by: default avatarWilliam Roberts <william.c.roberts@intel.com>
parent da52e859
No related branches found
No related tags found
No related merge requests found
...@@ -203,6 +203,20 @@ $(LOCAL_BUILT_MODULE): $(built_sepolicy) $(all_sc_files) $(HOST_OUT_EXECUTABLES) ...@@ -203,6 +203,20 @@ $(LOCAL_BUILT_MODULE): $(built_sepolicy) $(all_sc_files) $(HOST_OUT_EXECUTABLES)
GENERAL_SEAPP_CONTEXTS := $(LOCAL_BUILT_MODULE) GENERAL_SEAPP_CONTEXTS := $(LOCAL_BUILT_MODULE)
all_sc_files := all_sc_files :=
##################################
include $(CLEAR_VARS)
LOCAL_MODULE := general_seapp_neverallows
LOCAL_MODULE_CLASS := ETC
LOCAL_MODULE_TAGS := tests
include $(BUILD_SYSTEM)/base_rules.mk
$(LOCAL_BUILT_MODULE): $(addprefix $(LOCAL_PATH)/, seapp_contexts)
@mkdir -p $(dir $@)
- $(hide) grep -ie '^neverallow' $< > $@
GENERAL_SEAPP_NEVERALLOWS := $(LOCAL_BUILT_MODULE)
################################## ##################################
include $(CLEAR_VARS) include $(CLEAR_VARS)
......
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