mirror of
https://github.com/Evolution-X-Devices/device_google_gs201
synced 2026-02-01 11:27:36 +00:00
1. Add init-check_ap_pd_auth-sh for the vendor daemon script
`/vendor/bin/init.check_ap_pd_auth.sh`.
2. Add policy for properties `ro.vendor.sjtag_{ap,gsa}_is_unlocked` for
init, init-check_ap_pd_auth-sh and ssr_detector to access them.
SjtagService: type=1400 audit(0.0:1005): avc: denied { open } for path="/dev/__properties__/u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=379 scontext=u:r:ssr_detector_app:s0:c512,c768 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=1
SjtagService: type=1400 audit(0.0:1006): avc: denied { getattr } for path="/dev/__properties__/u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=379 scontext=u:r:ssr_detector_app:s0:c512,c768 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=1
SjtagService: type=1400 audit(0.0:1007): avc: denied { map } for path="/dev/__properties__/u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=379 scontext=u:r:ssr_detector_app:s0:c512,c768 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=1
SjtagService: type=1400 audit(0.0:1008): avc: denied { write } for name="property_service" dev="tmpfs" ino=446 scontext=u:r:ssr_detector_app:s0:c512,c768 tcontext=u:object_r:property_socket:s0 tclass=sock_file permissive=1
SjtagService: type=1400 audit(0.0:1009): avc: denied { connectto } for path="/dev/socket/property_service" scontext=u:r:ssr_detector_app:s0:c512,c768 tcontext=u:r:init:s0 tclass=unix_stream_socket permissive=1
Bug: 298314432
Change-Id: Ib5dbcc50e266e33797626280504ea9e2cdc9f942
47 lines
1.6 KiB
Plaintext
47 lines
1.6 KiB
Plaintext
vendor_internal_prop(vendor_diag_prop)
|
|
vendor_internal_prop(vendor_slog_prop)
|
|
vendor_internal_prop(vendor_modem_prop)
|
|
vendor_internal_prop(vendor_persist_config_default_prop)
|
|
vendor_internal_prop(vendor_cbd_prop)
|
|
vendor_internal_prop(vendor_rild_prop)
|
|
vendor_internal_prop(vendor_carrier_prop)
|
|
vendor_internal_prop(vendor_ssrdump_prop)
|
|
vendor_internal_prop(vendor_wifi_version)
|
|
vendor_internal_prop(vendor_nfc_prop)
|
|
vendor_internal_prop(vendor_secure_element_prop)
|
|
vendor_internal_prop(vendor_battery_profile_prop)
|
|
vendor_internal_prop(vendor_battery_defender_prop)
|
|
vendor_internal_prop(vendor_shutdown_prop)
|
|
vendor_internal_prop(vendor_imssvc_prop)
|
|
vendor_internal_prop(vendor_camera_prop)
|
|
vendor_internal_prop(vendor_camera_fatp_prop)
|
|
vendor_internal_prop(vendor_usb_config_prop)
|
|
vendor_internal_prop(vendor_tcpdump_log_prop)
|
|
vendor_internal_prop(vendor_gps_prop)
|
|
vendor_internal_prop(vendor_ro_sys_default_prop)
|
|
vendor_internal_prop(vendor_persist_sys_default_prop)
|
|
vendor_internal_prop(vendor_display_prop)
|
|
|
|
# Fingerprint
|
|
vendor_internal_prop(vendor_fingerprint_prop)
|
|
|
|
# UWB calibration
|
|
system_vendor_config_prop(vendor_uwb_calibration_prop)
|
|
# Country code must be vendor_public to be written by UwbVendorService and read by NFC HAL
|
|
vendor_internal_prop(vendor_uwb_calibration_country_code)
|
|
|
|
# Dynamic sensor
|
|
vendor_internal_prop(vendor_dynamic_sensor_prop)
|
|
|
|
# Telephony debug app
|
|
vendor_internal_prop(vendor_telephony_app_prop)
|
|
|
|
# Trusty storage FS ready
|
|
vendor_internal_prop(vendor_trusty_storage_prop)
|
|
|
|
# Mali Integration
|
|
vendor_restricted_prop(vendor_arm_runtime_option_prop)
|
|
|
|
# SJTAG lock state
|
|
vendor_internal_prop(vendor_sjtag_lock_state_prop)
|