platform_system_sepolicy/microdroid
Shikha Panwar a9f1dc9708 Selinux configs for enabling tombstones be passed to host
For Guest: tombstone_tranmit needs permissions for:
1. keeping track of files being written on /data/tombstones.
2. creating vsock socket to talk to virtualizationservice (to forward
   these tombstones)

These permissions will be similar to tombstone_tarnsmit on cuttlefish
(device/google/cuttlefish/guest/monitoring/tombstone_transmit/tombstone_transmit.cpp)

For Host (virtualizationservice) needs:
1. permission to  connect to tombstoned.
2. permission to use fd belonging to tombstoned.
3. append and related permissions on tombstone_data file.

Test: Tested by crashing a process in guest (started using microdroid
demo)

Change-Id: Ifd0728d792bda98ba139f18fa9406494a714879d
2022-04-05 13:09:04 +00:00
..
reqd_mask Touch up microdroid sepolicy after removing keystore 2022-01-28 13:07:16 +00:00
system Selinux configs for enabling tombstones be passed to host 2022-04-05 13:09:04 +00:00
vendor Remove unnecessary entries from microdroid vendor file_contexts 2022-04-05 16:41:26 +09:00
Android.bp microdroid: Set mls_cats to 1 2022-03-10 13:16:13 +09:00
TEST_MAPPING Run Virtualization tests when we change microdroid policy 2021-12-09 11:35:36 +00:00