platform_system_sepolicy/private/compat
Alan Stokes 8a6bb3ef84 Compatibility for vendor_hidraw_device
Older vendor policy may apply the label vendor_hidraw_device to the
HID device.

From 202404 we use the new label hidraw_device for this.

Fix the compatibility rules to allow new system policy to work with
older vendor policy by adding specific compat logic.

Note that the original 34.0 system policy didn't mention hidraw_device
at all, so the more normal compatibility mechanisms don't really work.

Bug: 340923653
Test: Builds, boots, no new denials
Change-Id: I358118b217c82b5f8111f3e05d35aa16c464b941
2024-06-10 14:59:04 +01:00
..
29.0 Add debugfs permission to 29.0 and 30.0 compat cil 2024-04-16 01:24:41 +00:00
30.0 Add debugfs permission to 29.0 and 30.0 compat cil 2024-04-16 01:24:41 +00:00
31.0 Add comments on compat files 2023-01-31 09:57:26 +09:00
32.0 Merge "Add comments on compat files" am: beee8849a6 2023-01-31 07:32:10 +00:00
33.0 Prebuilt updates am: 448968a6d1 2023-11-29 06:25:40 +00:00
34.0 Compatibility for vendor_hidraw_device 2024-06-10 14:59:04 +01:00
202404 Improve CIL parsing 2024-05-31 12:24:38 +01:00