50aa029f4b
Steps taken to produce the mapping files: 1. Add prebuilts/api/29.0/[plat_pub_versioned.cil|vendor_sepolicy.cil] plat_pub_versioned.cil contains all public attributes and types from Q Leave vendor_sepolicy.cil is empty. 2. Add new file private/compat/29.0/29.0.cil by doing the following: - copy /system/etc/selinux/mapping/29.0.cil from pi-dev aosp_arm64-eng device to private/compat/29.0/29.0.cil - remove all attribute declaration statement (typeattribute ...) and sort lines alphabetically - some selinux types were added/renamed/deleted w.r.t 29 sepolicy. Find all such types using treble_sepolicy_tests_29.0 test. - for all these types figure out where to map them by looking at 28.0.[ignore.]cil files and add approprite entries to 29.0.[ignore.]cil. This change also enables treble_sepolicy_tests_29.0 and installs 29.0.cil mapping file onto the device. Bug: 133155528 Bug: 133196056 Test: m treble_sepolicy_tests_29.0 Test: m 29.0_compat_test Test: m selinux_policy Change-Id: I9e83e9bf118c8b8f8fcf84d5c0dcb6eb588e0d55
1 line
14 B
Text
1 line
14 B
Text
;; empty stub
|