Merge "Allow dumpstate to create tmpfs files" am: e65a7b3e2b am: c53a1e6720

Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/1983014

Change-Id: If625db4651792851ac8d8d3066bbd7f53c2552b9
This commit is contained in:
Christopher Morin 2022-03-08 01:34:08 +00:00 committed by Automerger Merge Worker
commit 49719eb4de

View file

@ -6,6 +6,10 @@ init_daemon_domain(dumpstate)
# Execute and transition to the vdc domain
domain_auto_trans(dumpstate, vdc_exec, vdc)
# Create tmpfs files for using memfd descriptors to get output from child
# processes.
tmpfs_domain(dumpstate)
# Acquire advisory lock on /system/etc/xtables.lock from ip[6]tables
allow dumpstate system_file:file lock;