device_google_gs-common/edgetpu/sepolicy
Richard Hsu f9c4631891 [mlock] Allow edgetpu_app_service to call mlock()
This CL references keunyoung's ag/25999220

This is to support the GenAI effort, allowing file backed large models to be mlocked, satisfying the memory accounting on Android.

AVC error message:
https://paste.googleplex.com/5844645780652032

Bug: 322229786

Tested:
end-to-end on ZUM and ZPR.

Change-Id: I6abef85eebbc051cb5e41b8f11f70f7ae1b489ab
2024-03-11 12:16:02 -07:00
..
appdomain.te Added SELinux rules for vendor.darwinn.runtime. properties. 2023-09-26 20:49:42 +00:00
device.te centralize common settings for edgeTPU 2022-11-08 13:34:35 +08:00
edgetpu_app_service.te [mlock] Allow edgetpu_app_service to call mlock() 2024-03-11 12:16:02 -07:00
edgetpu_dba_service.te Merge "Allow hal_neuralnetworks_darwinn and dba service to read DMA buf." into main 2023-10-10 23:26:20 +00:00
edgetpu_logging.te centralize common settings for edgeTPU 2022-11-08 13:34:35 +08:00
edgetpu_tachyon_service.te Allow edgetpu_tachyon_service to access GXP device & Dmabuf. 2023-11-23 05:35:08 +00:00
edgetpu_vendor_server.te Allowed edgetpu_vendor_service to access hetero runtime system 2023-05-17 21:38:06 +00:00
file.te centralize common settings for edgeTPU 2022-11-08 13:34:35 +08:00
file_contexts [mlock] Allow edgetpu_app_service to call mlock() 2024-03-11 12:16:02 -07:00
hal_audio_default.te Allow hal_audio_default to access DMA and TPU property 2023-12-22 04:52:47 +00:00
hal_camera_default.te Added SELinux rules for vendor.darwinn.runtime. properties. 2023-09-26 20:49:42 +00:00
hal_neuralnetworks_darwinn.te Merge "Allow hal_neuralnetworks_darwinn and dba service to read DMA buf." into main 2023-10-10 23:26:20 +00:00
priv_app.te Add support for dba hal in common edgetpu packages 2023-01-17 18:04:45 +00:00
property.te Added SELinux rules for vendor.darwinn.runtime. properties. 2023-09-26 20:49:42 +00:00
property_contexts Added SELinux rules for vendor.darwinn.runtime. properties. 2023-09-26 20:49:42 +00:00
service.te Add tachyon service to the device.mk and sepolicy. 2023-09-11 14:01:16 -07:00
service_contexts Add tachyon service to the device.mk and sepolicy. 2023-09-11 14:01:16 -07:00
untrusted_app_all.te centralize common settings for edgeTPU 2022-11-08 13:34:35 +08:00
vendor_init.te Enable RT threads by default for Edgetpu DBA HAL. 2023-05-11 20:43:01 +00:00