Allow dumpstate to create tmpfs files
dumpstate needs to be able to create tmpfs files for it's upcoming use of memfd_create. Test: Generate bugreport Change-Id: I4ce19635d9b76929b05d85bdba89340e5d5399d1
This commit is contained in:
parent
14db21eafa
commit
1d88bf547e
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue