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:
parent
92f07d6f82
commit
c98b903f68
1 changed files with 9 additions and 0 deletions
9
generic/vendor/common/te_macros
vendored
9
generic/vendor/common/te_macros
vendored
|
@ -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', `
|
||||
')
|
||||
|
|
Loading…
Reference in a new issue