Add macro for framework type detection module

Add permissions needed for clients to use the
vendor framework detection library module.  All
native clients using the framework detection
module must use the macro for their domain.

The existing permission needs are empty
(already part of domain) but added placeholder
to allow any underlying mechanism changes that
may require new permissions.

Change-Id: I88de640608e673a77a357afce11af8cb4d01e2d9
This commit is contained in:
David Ng 2018-11-14 21:14:12 -08:00 committed by Gerrit - the friendly Code Review server
parent 4327d05bdd
commit 8546ead68d

View file

@ -148,3 +148,15 @@ allow $1 $3:dir { create_dir_perms relabelto };
# for writing files_moved so we only execute the move once
allow $1 $3:file { create open write getattr relabelto };
')
########################################
# framework full value-add detection
# Adds rules needed for client to use the framework detection module
# to differentiate being an unmodified AOSP framework with baseline
# AOSP functionality or one with modified AOSP providing full vendor
# value-adds
#
# Placeholder - currently the detection mechanism does not require
# any additional security permissions
define(`use_vendor_fwk_detect', `
')