Merge tag 'android-14.0.0_r16' into staging/lineage-21_merge-android-14.0.0_r16

Android 14.0.0 Release 16 (UQ1A.231205.014)

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZXDGAwAKCRDorT+BmrEO
# eFxfAJ96uqWuV6ChFz2vgO2yEWQFUonR3QCgkAi1rIJBl3gicB0QaHcziD0gYT0=
# =YwjO
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed Dec  6 21:05:39 2023 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [marginal]
# gpg: initial-contribution@android.com: Verified 2195 signatures in the past
#      2 years.  Encrypted 4 messages in the past 23 months.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381  0964 E8AD 3F81 9AB1 0E78

# By Vic Huang
# Via Automerger Merge Worker (14) and others
* tag 'android-14.0.0_r16':
  Grant hal_bluetooth_default to access coredump directory

Change-Id: I4f10db91806dd51ef920cbd95f76235214c36fa5
This commit is contained in:
Michael Bestas
2023-12-10 16:34:42 +02:00
3 changed files with 6 additions and 2 deletions

View File

@@ -63,3 +63,4 @@ type debugfs_icnss, debugfs_type, fs_type;
type debugfs_ion, debugfs_type, fs_type;
type debugfs_tzdbg, debugfs_type, fs_type;
type cnss_vendor_data_file, file_type, data_file_type, mlstrustedobject;
type sscoredump_vendor_data_coredump_file, file_type, data_file_type, mlstrustedobject;

View File

@@ -261,6 +261,7 @@
/data/vendor/mediadrm(/.*)? u:object_r:mediadrm_vendor_data_file:s0
/data/vendor/nnhal(/.*)? u:object_r:hal_neuralnetworks_data_file:s0
/data/vendor/ssrdump(/.*)? u:object_r:ramdump_vendor_data_file:s0
/data/vendor/ssrdump/coredump(/.*)? u:object_r:sscoredump_vendor_data_coredump_file:s0
/data/vendor/ssrlog(/.*)? u:object_r:ssr_log_file:s0
/data/vendor/camera(/.*)? u:object_r:camera_vendor_data_file:s0
/data/vendor/location(/.*)? u:object_r:location_data_file:s0

View File

@@ -4,8 +4,10 @@ allow hal_bluetooth_default hal_bluetooth_coexistence_hwservice:hwservice_manage
userdebug_or_eng(`
allow hal_bluetooth_default diag_device:chr_file rw_file_perms;
allow hal_bluetooth_default ramdump_vendor_data_file:dir rw_dir_perms;
allow hal_bluetooth_default ramdump_vendor_data_file:file { create rw_file_perms };
allow hal_bluetooth_default ramdump_vendor_data_file:dir create_dir_perms;
allow hal_bluetooth_default ramdump_vendor_data_file:file create_file_perms;
allow hal_bluetooth_default sscoredump_vendor_data_coredump_file:dir create_dir_perms;
allow hal_bluetooth_default sscoredump_vendor_data_coredump_file:file create_file_perms;
r_dir_file(hal_bluetooth_default, debugfs_ipc)
set_prop(hal_bluetooth_default, vendor_ssr_prop)
')