Common interfaces & sepolicies for tensor-based Google Pixel devices
Find a file
Lucas Wei f39a955d95 Introduce Pixel mailbox module
Introduce Pixel mailbox module to dump debugging messages and integrate
with bugreport.
This patch also create sepolicy files to avoid avc denied.

avc:  denied  { search } for  comm="dump_mailbox" name="radio" dev="dm-57" ino=375 scontext=u:r:dump_mailbox:s0 tcontext=u:object_r:radio_vendor_data_file:s0 tclass=dir permissive=1
avc:  denied  { search } for  comm="dump_mailbox" name="instances" dev="tracefs" ino=4203 scontext=u:r:dump_mailbox:s0 tcontext=u:object_r:debugfs_tracing_instances:s0 tclass=dir permissive=1
avc:  denied  { read } for  comm="dump_mailbox" name="trace" dev="tracefs" ino=7250 scontext=u:r:dump_mailbox:s0 tcontext=u:object_r:debugfs_tracing_instances:s0 tclass=file permissive=1
avc:  denied  { open } for  comm="dump_mailbox" path="/sys/kernel/tracing/instances/goog_cpm_mailbox/trace" dev="tracefs" ino=7187 scontext=u:r:dump_mailbox:s0 tcontext=u:object_r:debugfs_traci
avc:  denied  { create } for  comm="dump_mailbox" name="goog_cpm_mailbox_trace" scontext=u:r:dump_mailbox:s0 tcontext=u:object_r:radio_vendor_data_file:s0 tclass=file permissive=1
avc:  denied  { write open } for  comm="dump_mailbox" path="/data/vendor/radio/logs/always-on/all_logs/mailbox/goog_cpm_mailbox_trace" dev="dm-52" ino=29097 scontext=u:r:dump_mailbox:s0 tcontex=1
avc:  denied  { getattr } for  comm="dump_mailbox" path="/data/vendor/radio/logs/always-on/all_logs/mailbox/goog_cpm_mailbox_trace" dev="dm-52" ino=29097 scontext=u:r:dump_mailbox:s0 tcontext=ut=5 audit_backlog_limit=64
=1
avc:  denied  { read } for  comm="dump_mailbox" name="trace" dev="tracefs" ino=5239 scontext=u:r:dump_mailbox:s0 tcontext=u:object_r:debugfs_tracing_instances_mailbox:s0 tclass=file permissive=1
avc:  denied  { open } for  comm="dump_mailbox" path="/sys/kernel/tracing/instances/goog_cpm_mailbox/trace" dev="tracefs" ino=5239 scontext=u:r:dump_mailbox:s0 tcontext=u:object_r:debugfs_tracing_instances_mailbox:s0 tclass=file permissive=1
avc:  denied  { create } for  comm="dump_mailbox" name="goog_cpm_mailbox_trace" scontext=u:r:dump_mailbox:s0 tcontext=u:object_r:radio_vendor_data_file:s0 tclass=file permissive=1
avc:  denied  { write open } for  comm="dump_mailbox" path="/data/vendor/radio/logs/always-on/all_logs/mailbox/goog_cpm_mailbox_trace" dev="dm-52" ino=30937 scontext=u:r:dump_mailbox:s0 tcontext=u:object_r:radio_vendor_data_file:s0 tclass=file permissive=1
avc:  denied  { getattr } for  comm="dump_mailbox" path="/sys/kernel/tracing/instances/goog_cpm_mailbox/trace" dev="tracefs" ino=5239 scontext=u:r:dump_mailbox:s0 tcontext=u:object_r:debugfs_tracing_instances_mailbox:s0 tclass=file permissive=1
avc:  denied  { getattr } for  comm="dump_mailbox" path="/data/vendor/radio/logs/always-on/all_logs/mailbox/goog_cpm_mailbox_trace" dev="dm-52" ino=30937 scontext=u:r:dump_mailbox:s0 tcontext=u:object_r:radio_vendor_data_file:s0 tclass=file permissive=1
avc:  denied  { create } for  comm="dump_mailbox" name="goog_cpm_mailbox_trace" scontext=u:r:dump_mailbox:s0 tcontext=u:object_r:radio_vendor_data_file:s0 tclas(6 results) 15:39:41 [4796/19306]
avc:  denied  { write open } for  comm="dump_mailbox" path="/data/vendor/radio/logs/always-on/all_logs/mailbox/goog_cpm_mailbox_trace" dev="dm-52" ino=32864 scontext=u:r:dump_mailbox:s0 tcontext=u:object_r:radio_vendor_data_file:s0 tclass=file permissive=1
avc:  denied  { getattr } for  comm="dump_mailbox" path="/data/vendor/radio/logs/always-on/all_logs/mailbox/goog_cpm_mailbox_trace" dev="dm-52" ino=32864 scontext=u:r:dump_mailbox:s0 tcontext=u:object_r:radio_vendor_data_file:s0 tclass=file permissive=1

Flag: EXEMPT, add mailbox dump program to bugreport
Bug: 363168077
Change-Id: I622f37bf8f913df8d9b242ab206fc267d446753d
2024-11-13 07:52:03 +00:00
aoc Merge "[Audio AIDL] Move audiometricext to HIDL only." into main 2024-10-22 02:49:28 +00:00
audio Merge "[USB Audio] Fix SEPolicy issue" into main 2024-11-04 03:28:24 +00:00
battery_mitigation sepolicy: remove irregular policy 2024-10-04 16:07:24 +00:00
bcmbt [BT] change # of copy file when crash 2024-07-17 03:23:38 +00:00
betterbug Apply flag RELEASE_PACKAGE_BETTER_BUG 2024-07-16 23:10:34 +00:00
bluetooth Merge "add sepolicy rules for bluetooth common hal dumpstate" into main 2024-10-29 08:34:45 +00:00
bootctrl bootctrl: fixed OOB read in BootControl 2024-08-28 12:44:34 -07:00
camera Use Build-Time flag to choose build from source or use prebuilt 2024-08-13 15:05:46 +00:00
check_current_prebuilt check_current_prebuilt: Symlink current prebuilt folder to android root 2024-09-06 09:35:30 +00:00
chre Allow sensor hal to connect to CHRE HAL 2024-02-07 15:36:08 -08:00
dauntless gsc: Change the criteria for building GSC targets 2024-10-09 05:10:25 +00:00
display display: add pixel display trace to bugreport 2024-10-04 18:55:40 +00:00
display_logbuffer dumpstate: add logbuffer support for display 2023-12-13 06:12:51 +00:00
dump_chip_info Introduce dump_chip_info module 2024-10-30 01:54:29 +00:00
edgetpu Remove DBA from edgetpu.mk 2024-10-11 00:56:55 +00:00
esim Disable bootstrap for UGS devices (sold in Canada) 2024-10-09 23:41:33 +00:00
euiccpixel_app gs-common: add rules for euiccpixel_app 2024-09-13 14:09:38 +00:00
fingerprint Allow fingerprint HAL to access IGoodixFingerprintDaemon 2024-11-05 09:31:29 +00:00
gcam_app Revert^2 "Add more access for GCA to edgetpu" 2024-11-06 18:24:20 +00:00
gear ban hal_dumpstate_default from execute_no_trans 2024-10-07 05:54:43 +00:00
gps dump_gps: Support bugreport extract resource info 2024-10-16 04:39:03 +00:00
gpu Add GPU team owners for mk files am: 1d82070ee9 am: 9747c1bb8d 2024-09-04 16:49:25 +00:00
gril Allow grilservice_app to binder call twoshay 2024-11-01 09:04:43 +00:00
gs_watchdogd Explicitly set user root for the gs_watchdogd service. am: f25cb6895f 2024-08-30 09:29:18 +00:00
gsa dumpstate: gsa: Add GSA logs to dumpstate 2024-09-05 14:24:35 +00:00
gxp Remove the duplicate gxp rule 2024-10-24 08:05:26 +00:00
gyotaku_app [dump_gyotaku] Add collect odpm logs for dump_gyotaku. 2024-06-07 03:33:43 +00:00
insmod insmod.sh: Support 'rmmod' directive 2024-10-18 15:10:16 -07:00
led create led dump 2023-02-13 12:48:47 +08:00
mailbox Introduce Pixel mailbox module 2024-11-13 07:52:03 +00:00
mediacodec Add permission for mediacodec to bindercall camera hal 2024-10-07 10:01:00 +00:00
misc_writer Sepolicy: allow vendor_misc_writer to get sota_prop 2023-06-29 20:47:51 +00:00
modem Merge "Revert^2 "Allow devices that use HIDL to find AIDL radio_ext_service"" into main 2024-09-16 21:10:24 +00:00
mte Remove mitchp from OWNERS 2024-10-25 17:58:48 +00:00
nfc gs-common: nfc: st21nfc: Add rules for android.hardware.nfc-service.st 2024-09-04 06:20:49 +00:00
pcie dumpstate: Collect PCIe link statistics 2023-02-10 09:08:10 -06:00
performance Move compaction_proactiveness to vendor sepolicy 2024-09-01 08:06:04 +00:00
pixel_metrics gs-common: dumpstate: Add RT Runnable stats into bugreport 2023-11-13 17:53:18 +00:00
pixel_ril pixel_ril: make VINTF target level specify by device 2023-05-10 18:43:58 +08:00
pixelsupport Add SEPolicy domain for cavalry app 2024-03-28 09:43:36 +00:00
power Create power folder and align pm_freeze_timeout settings with p22 2024-06-27 02:36:28 +08:00
powerstats powerstats: sort frequencies in descending order 2023-12-25 15:04:50 +08:00
radio Move the sysfs_modem_state from a product folder to gs-common 2024-03-28 21:10:23 +00:00
ramdump_and_coredump RamdumpService: Update the SELinux policy for Flood Control to use Firebase Cloud Firestore. 2024-11-01 11:55:32 +08:00
recorder Recorder: add sepolicy for Google Recorder app 2024-06-04 14:57:11 +08:00
sensors sensors: Support registry dump on DEV device. 2024-07-30 20:08:40 +08:00
sepolicy Export build flag to selinux policy for sysfs_udc fscontext 2024-08-21 01:12:43 +00:00
soc Change bash script to C++ implementation 2023-07-19 13:20:59 +08:00
sota_app Add a factoryota-watch.mk file to include the OtaClient for wearable 2024-03-27 03:11:31 +00:00
storage storage: adjust ufs error history design 2024-10-22 05:15:58 +00:00
thermal thermal: allow thermal_hal to read sysfs_gpu 2024-04-29 05:37:09 +00:00
touch touch: Support SW_LID event from sensor HAL 2024-10-07 01:04:53 +00:00
trusty rpmb_dev: add rpmb_dev package 2024-03-13 17:49:16 +01:00
tts Updates TTS voice packs in gs-common 202407 2024-07-15 04:00:32 +00:00
umfw_stat dump_umfw_stat: Reduce timeout to 0.5 seconds 2024-04-25 16:43:16 +00:00
vibrator/flags Vibrator: Add enable_pwle_v2 2024-10-23 02:20:47 +00:00
widevine Add widevine SELinux permissions 2024-09-03 13:40:57 +00:00
wireless_charger WLC: service: update AIDL manifest version to 1-2 2024-08-08 04:58:14 +00:00
wlan create wlan dump 2023-03-31 06:28:07 +08:00
Android.bp gs-common: add device_google_gs-common_license 2023-12-05 00:46:19 +08:00
device.mk Revert^2 "Add one variable to decide if need TTS voice packs" 2024-06-13 01:37:43 +00:00
FSTAB_OWNERS Add FSTAB_OWNERS and update OWNERS to include Android.bp 2024-08-02 11:39:01 +00:00
MK_OWNERS Add MK_OWNERS as owners file for makefile 2024-05-24 08:01:37 +00:00
NOTICE gs-common: add device_google_gs-common_license 2023-12-05 00:46:19 +08:00
OWNERS Add FSTAB_OWNERS and update OWNERS to include Android.bp 2024-08-02 11:39:01 +00:00
README.txt add owners to manage gs-common 2022-08-12 09:55:21 +08:00

Please refer to go/pixel-recycle to modularize your code in this space.