Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add CPUINFO_AVOID_SELINUX_VIOLATIONS to ARM parser
For Android ARM builds, we previously introduced parsing of some non-standard properties: * ro.mediatek.platform * ro.chipname * ro.hardware.chipname In this context, 'non-standard' refers to properties that are not supported by all Android devices and in particular, are not specified as part of any domain in Android's platform sepolicy. As a result, processes that contain the cpuinfo library will generate SELinux denials until the system is modified to allow access to these properties, even though they are not valid on these systems. To avoid breaking existing behavior, introduce a negative-flag that allows users to compile out this behavior.
- Loading branch information