Export build flag to selinux policy for sysfs_udc fscontext
sysfs_udc context is introduced in aosp/3163782. Build-time flag RELEASE_USB_UDC_SYSFS_SELINUX_POLICY_ENABLED guards the access to the new fscontext. This change exports the flag to selinux policy to make it visible. Bug: 339241080 Test: build Flag: RELEASE_USB_UDC_SYSFS_SELINUX_POLICY_ENABLED Change-Id: I442c5cb16ee40e0a54bddd7c1550dbb4a69557c9
This commit is contained in:
parent
7cf82126a0
commit
e7d8589878
1 changed files with 5 additions and 0 deletions
5
sepolicy/Android.bp
Normal file
5
sepolicy/Android.bp
Normal file
|
@ -0,0 +1,5 @@
|
|||
se_flags {
|
||||
name: "usb_udc_sysfs_selinux_flags",
|
||||
flags: ["RELEASE_USB_UDC_SYSFS_SELINUX_POLICY_ENABLED"],
|
||||
export_to: ["all_selinux_flags"],
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue