commit | 5bb76ff410d5a768d66f890f83000048e819e624 | [log] [tgz] |
---|---|---|
author | ThiƩbaud Weksteen <tweek@google.com> | Wed Sep 01 09:09:47 2021 +0200 |
committer | ThiƩbaud Weksteen <tweek@google.com> | Tue Sep 07 12:29:55 2021 +0000 |
tree | c8c8faba89d71c0d52d50d2ace4c5179118a7d57 | |
parent | 49f185bbafd0bc16692d3468f1ae75961f9efa24 [diff] |
Add permission expression parser Introduces a new parser for permission expressions intended to be used for the AIDL annotation @Enforce. An example of expression it can parse is: "permission = READ_PHONE_STATE || uid = SYSTEM_UID" The parser is generated using Bison and Flex. It declares it own prefix and namespace to avoid name conflict when used within libaidl-common. Test: aidl-perm_unittests Bug: 197828948 Change-Id: Iac10fdcf92a1437ec6d4e6b9b90c063cc5415e8b
Documentation for this project is currently maintained here:
https://source.android.com/devices/architecture/aidl/overview