-
- Downloads
Preserve attributes needed for CTS
Change fb889f23 "Force expand all hal_* attributes" annotated all hal_* attributes to be expanded to their associated types. However some of these attributes are used in CTS for neverallow checking. Mark these attributes to be preserved. In addition, remove the hacky workaround introduced in oc-dev for b/62658302 where extraneous neverallow rules were introduced to prevent unused or negated attributes from being auto-expanded from policy. Bug: 62658302 Bug: 63135903 Test: cts-tradefed run cts -m CtsSecurityHostTestCases -t \ android.cts.security.SELinuxNeverallowRulesTest armeabi-v7a CtsSecurityHostTestCases completed in 4s. 501 passed, 0 failed, 0 not executed Merged-In: I989def70a16f66e7a18bef1191510793fbe9cb8c Change-Id: I989def70a16f66e7a18bef1191510793fbe9cb8c
Showing
- private/app_neverallows.te 0 additions, 1 deletionprivate/app_neverallows.te
- public/attributes 45 additions, 39 deletionspublic/attributes
- public/domain.te 0 additions, 8 deletionspublic/domain.te
- public/hal_neverallows.te 0 additions, 1 deletionpublic/hal_neverallows.te
- public/te_macros 0 additions, 2 deletionspublic/te_macros
Loading
Please register or sign in to comment