Platform Tools Release 29.0.1 (5644136)
Allow camera to notify traced of a notable event (bonito/sargo)

Most apps already have the permission to act as full producers
(isolated_app, ephemeral_app, priv_app, untrusted_app_all), but
the camera doesn't inherit that as it runs in its own domain.

Granting only the socket (i.e. ipc) permission, as:
* only that is needed at the moment.
* granting the shmem/fd permissions would require a broader change, as traced_tmpfs is declared in private/.

Specific denial:
05-20 13:56:20.303  7751  7751 W trigger_perfett: type=1400 audit(0.0:19): avc: denied { write } for name="traced_producer" dev="tmpfs" ino=7061 scontext=u:r:google_camera_app:s0:c181,c256,c512,c768 tcontext=u:object_r:traced_producer_socket:s0 tclass=sock_file permissive=0 app=com.google.android.GoogleCamera

Bug: 130543265
Tested: extrapolating from the same fix on crosshatch, tested manually on blueline-userdebug.
Change-Id: I0c53fe4ea8975f84e26bc856c8cbbedcb88820ea
1 file changed
tree: ecc7e1e3b6ac7ed184af686851239136709eccdc
  1. private/
  2. public/
  3. vendor/
  4. .clang-format
  5. .gitignore
  6. bonito-sepolicy.mk
  7. OWNERS