Skip to content

prefix vendor properties with vendor#19

Open
justeph wants to merge 1 commit intoARM-software:branches/android-nn-driver_21_11from
justeph:justeph/prefix-system-properties-with-vendor
Open

prefix vendor properties with vendor#19
justeph wants to merge 1 commit intoARM-software:branches/android-nn-driver_21_11from
justeph:justeph/prefix-system-properties-with-vendor

Conversation

@justeph
Copy link

@justeph justeph commented Feb 1, 2022

vendor properties need to be prefixed with "vendor" on android 12, as
explained here:
https://android.googlesource.com/platform/system/sepolicy/+/refs/heads/master/tests/check_prop_prefix.py#86

Today, when defining this sepolicy:

Armnn.operandTypeTensorQuant8AsymmPerformance.execTime u:object_r:armnn_prop:s0

we have this build error:

Allowed context prefixes for [...]/sepolicy/30.0/vendor/property_contexts: ['vendor_', 'odm_']


1 violation found:
Armnn.operandTypeTensorQuant8AsymmPerformance.execTime u:object_r:armnn_prop:s0

Signed-off-by: Julien STEPHAN jstephan@baylibre.com

vendor properties need to be prefixed with "vendor" on android 12, as
explained here:
https://android.googlesource.com/platform/system/sepolicy/+/refs/heads/master/tests/check_prop_prefix.py#86

Today, when defining this sepolicy:

Armnn.operandTypeTensorQuant8AsymmPerformance.execTime u:object_r:armnn_prop:s0

we have this build error:

Allowed context prefixes for [...]/sepolicy/30.0/vendor/property_contexts: ['vendor_', 'odm_']
******************************
1 violation found:
Armnn.operandTypeTensorQuant8AsymmPerformance.execTime u:object_r:armnn_prop:s0

Signed-off-by: Julien STEPHAN <jstephan@baylibre.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant