summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorMarc-André Lureau2015-10-09 17:17:21 +0200
committerMichael S. Tsirkin2015-10-22 13:34:49 +0200
commit35f9b6ef3acc9d0546c395a566b04e63ca84e302 (patch)
tree60c61e946a41bca2bca032ee1481c2933aad364c /include/exec
parentutil: add memfd helpers (diff)
downloadqemu-35f9b6ef3acc9d0546c395a566b04e63ca84e302.tar.gz
qemu-35f9b6ef3acc9d0546c395a566b04e63ca84e302.tar.xz
qemu-35f9b6ef3acc9d0546c395a566b04e63ca84e302.zip
util: add fallback for qemu_memfd_alloc()
Add an open/unlink/mmap fallback for system that do not support memfd (only available since 3.17, ~1y ago). This patch may require additional SELinux policies to work for enforced systems, but should fail gracefully in this case. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Tested-by: Thibaut Collet <thibaut.collet@6wind.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions