Skip to content

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 [email protected]

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 <[email protected]>
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