Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prefix vendor properties with vendor #19

Open
wants to merge 1 commit into
base: branches/android-nn-driver_21_11
Choose a base branch
from

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