device_google_zumapro/vendor
Kuen-Han Tsai 25748e9d93 Set SEPolicy for the disable_contaminant_detection script
This patch ports Zuma project SEPolicy and corrects the platform device
name.

init    : Command 'exec /vendor/bin/hw/disable_contaminant_detection.sh'
action=vendor.usb.contaminantdisable=true (/vendor/etc/init/hw/
init.zumapro.usb.rc:288) took 5ms and failed: Could not start exec
service: File /vendor/bin/hw/disable_contaminant_detection.sh(labeled
"u:object_r:vendor_file:s0") has incorrect label or no domain transition
from u:r:init:s0 to another SELinux domain defined. Have you configured
your service correctly?
https://source.android.com/security/selinux/device-policy#
label_new_services_and_address_denials. Note: this error shows up even
in permissive mode in order to make auditing denials possible.

Bug: 295127978
Test: manual test
Change-Id: I4269127f0101250615aad9218a9e2684579a653b
Signed-off-by: Kuen-Han Tsai <khtsai@google.com>
2024-02-02 18:07:36 +08:00
..
attributes Move vendor_persist_type to vendor 2023-11-20 12:34:01 +00:00
audioserver.te Allow audioserver access /dev/snd/pcmC0D0p 2023-12-05 08:06:50 +00:00
bootanim.te Move bootanim to vendor 2023-12-05 07:23:46 +00:00
charger_vendor.te Move charger_vendor from legacy to vendor 2023-12-05 08:49:40 +00:00
chre.te Move chre from legacy to vendor 2023-12-05 10:47:09 +00:00
con_monitor_app.te Update sepolicy for ConnectivityMonitor 2024-01-11 20:18:20 +00:00
debug_camera_app.te Set up zumapro selinux policy for /dev/video12 access for hardware JPG encoder. 2024-01-15 02:27:34 +00:00
device.te Set up zumapro selinux policy for /dev/video12 access for hardware JPG encoder. 2024-01-15 02:27:34 +00:00
disable-contaminant-detection-sh.te Set SEPolicy for the disable_contaminant_detection script 2024-02-02 18:07:36 +08:00
dump_gsa.te Move dump_gsa to vendor 2023-12-05 11:10:51 +00:00
dump_power.te Allow dump_power to create thismeal.txt by executing battery_mitigation 2023-11-03 09:58:26 +00:00
dumpstate.te Move dumpstate to vendor 2023-12-05 11:14:52 +00:00
e2fs.te Move e2fs to vendor 2023-12-05 11:25:17 +00:00
file.te zumapro: move sepolicy related to bootctrl hal to gs-common 2023-12-05 01:35:46 +08:00
file_contexts Set SEPolicy for the disable_contaminant_detection script 2024-02-02 18:07:36 +08:00
fsck.te Move fsck rule to vendor 2023-12-05 11:29:51 +00:00
genfs_contexts Set SEPolicy for the disable_contaminant_detection script 2024-02-02 18:07:36 +08:00
google_camera_app.te Set up zumapro selinux policy for /dev/video12 access for hardware JPG encoder. 2024-01-15 02:27:34 +00:00
hal_camera_default.te Set up zumapro selinux policy for /dev/video12 access for hardware JPG encoder. 2024-01-15 02:27:34 +00:00
hal_fingerprint_default.te fingerprint: fix SELinux denials 2024-01-18 02:12:10 +00:00
hal_graphics_composer_default.te Allow binder calls between composer and powerstats 2024-02-01 09:13:27 +08:00
hal_input_processor_default.te Move hal_input_processor_default to vendor 2023-12-01 03:19:30 +00:00
hal_power_default.te zumapro: sepolicy: update ospm selinux settings. 2023-11-28 00:36:38 +00:00
hal_power_stats_default.te Allow binder calls between composer and powerstats 2024-02-01 09:13:27 +08:00
hal_usb_gadget_impl.te hal_usb_impl: Move hal_usb_impl and hal_usb_gadget_impl to vendor 2023-11-15 17:50:29 +08:00
hal_usb_impl.te hal_usb_impl: allow fwk_stats_service 2023-12-20 11:22:42 +08:00
hal_uwb_vendor_default.te uwb: add permissions for factory uwb calib file 2023-09-11 17:36:08 +00:00
hwservice_contexts fingerprint: fix SELinux denials 2024-01-18 02:12:10 +00:00
insmod-sh.te Add insmod-sh policy 2023-12-07 04:52:04 +00:00
kernel.te Add kernel vendor_fw_file dir read permission 2023-12-27 10:41:21 +08:00
pixelstats_vendor.te sepolicy: allows pixelstat to access pca file nodes 2023-09-04 07:14:52 +00:00
property.te Move legacy property.te to vendor and tracking_denials 2023-11-30 09:11:00 +00:00
property_contexts sepolicy: add persist.vendor.primarydisplay. to vendor_display_prop 2024-01-03 11:58:04 +08:00
service.te Move uwb service to vendor 2023-12-05 03:16:18 +00:00
service_contexts Move uwb service to vendor 2023-12-05 03:16:18 +00:00
tee.te trusty: Fix selinux denials for block devices 2023-11-28 09:20:41 +01:00
vendor_init.te Enforce vendor_init and allow tee and display access 2023-12-18 04:42:33 +00:00
vendor_uwb_init.te uwb: add permissions for factory uwb calib file 2023-09-11 17:36:08 +00:00
vndservice.te Move Exynos.HWCService to vendor/ 2023-11-30 09:39:12 +00:00
vndservice_contexts Move Exynos.HWCService to vendor/ 2023-11-30 09:39:12 +00:00