qemu-e2k/util
Marc-André Lureau 35f9b6ef3a 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>
2015-10-22 14:34:49 +03:00
..
acl.c
bitmap.c
bitops.c
compatfd.c
crc32c.c
cutils.c utils: rename strtosz to use qemu prefix 2015-09-25 12:04:41 +02:00
envlist.c
error.c error: New error_fatal 2015-09-18 14:38:08 +02:00
event_notifier-posix.c
event_notifier-win32.c
fifo8.c
getauxval.c
hbitmap.c
hexdump.c
host-utils.c
id.c
iov.c
Makefile.objs util: add linux-only memfd fallback 2015-10-22 14:34:48 +03:00
memfd.c util: add fallback for qemu_memfd_alloc() 2015-10-22 14:34:49 +03:00
mmap-alloc.c exec: factor out duplicate mmap code 2015-10-21 09:24:44 +03:00
module.c
notify.c
osdep.c
oslib-posix.c exec: factor out duplicate mmap code 2015-10-21 09:24:44 +03:00
oslib-win32.c oslib-win32: only provide localtime_r/gmtime_r if missing 2015-09-24 21:13:49 +02:00
path.c
qemu-config.c
qemu-error.c error: only prepend timestamp on stderr 2015-09-18 14:34:39 +02:00
qemu-openpty.c
qemu-option.c hmp: Allow for error message hints on HMP 2015-09-18 14:34:39 +02:00
qemu-progress.c
qemu-sockets.c
qemu-thread-posix.c
qemu-thread-win32.c qemu-thread: add a fast path to the Win32 QemuEvent 2015-09-24 20:52:28 +02:00
qemu-timer-common.c
rcu.c
readline.c
rfifolock.c
throttle.c
unicode.c
uri.c