universal7885: sepolicy: Attach vendor_property_type to properties

We are going to enforce that each property has an explicit owner, such
as system, vendor, or product. This attaches vendor_property_type to
properties defined under vendor sepolicy directories.

Bug: 159097992
Test: m selinux_policy && boot device
Change-Id: I33c40ca345365d8f01f43d3ce7f1f3434b1edfd5
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
This commit is contained in:
Inseob Kim 2020-08-18 23:29:12 +09:00 committed by roynatech2544
commit faa961a5f5
No known key found for this signature in database
GPG key ID: 9675C32163D88D30

View file

@ -1,26 +1,21 @@
# modemloader
type modemloader_prop, property_type;
type camera_prop, property_type;
type persist_rmnet_prop, property_type;
type persist_data_df_prop, property_type;
type persist_data_wda_prop, property_type;
type vendor_camera_prop, property_type;
type vendor_factory_prop, property_type;
type vendor_gps_prop, property_type;
type vendor_nfc_prop, property_type;
type vendor_wlbtd_prop, property_type;
type vendor_wlan_prop, property_type;
type vendor_hwc_prop, property_type;
# property.te
type vendor_cbd_prop, property_type;
type vendor_radio_prop, property_type;
type vendor_fastcharge_prop, property_type;
type vendor_wifi_prop, property_type;
type rild_prop, property_type;
# property.te
type vendor_secureos_prop, property_type;
type vendor_tzdaemon_prop, property_type;
type vendor_tztsdaemon_prop, property_type;
vendor_internal_prop(modemloader_prop)
vendor_internal_prop(camera_prop)
vendor_internal_prop(modemloader_prop)
vendor_internal_prop(persist_rmnet_prop)
vendor_internal_prop(persist_data_df_prop)
vendor_internal_prop(persist_data_wda_prop)
vendor_internal_prop(vendor_camera_prop)
vendor_internal_prop(vendor_factory_prop)
vendor_internal_prop(vendor_gps_prop)
vendor_internal_prop(vendor_nfc_prop)
vendor_internal_prop(vendor_wlbtd_prop)
vendor_internal_prop(vendor_wlan_prop)
vendor_internal_prop(vendor_hwc_prop)
vendor_internal_prop(vendor_cbd_prop)
vendor_internal_prop(vendor_radio_prop)
vendor_internal_prop(vendor_fastcharge_prop)
vendor_internal_prop(vendor_wifi_prop)
vendor_internal_prop(rild_prop)
vendor_internal_prop(vendor_secureos_prop)
vendor_internal_prop(vendor_tzdaemon_prop)
vendor_internal_prop(vendor_tztsdaemon_prop)