sepolicy: Add macro for libsoc helper module

Adds permissions needed for vendor modules to
get soc info at run time. All native clients
using the libsoc helper 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: Iaeb93c5473f03c7b3b7956e8bbb5ec6ed733ae4f
This commit is contained in:
Roopesh Nataraja 2020-01-29 17:12:50 -08:00
parent 92f07d6f82
commit c98b903f68

View file

@ -172,3 +172,12 @@ allow $1 $3:file { create open write getattr relabelto };
# any additional security permissions
define(`use_vendor_fwk_detect', `
')
########################################
# SoC detection at run time by vendor modules
# Adds rules needed for vendor modules to get soc info at run time
#
# Placeholder - currently the detection mechanism does not require
# any additional security permissions
define(`use_libsoc_helper', `
')