]> git.ipfire.org Git - thirdparty/qemu.git/commit
linux-user: add memfd_create
authorShu-Chun Weng <scw@google.com>
Mon, 19 Aug 2019 18:09:47 +0000 (11:09 -0700)
committerLaurent Vivier <laurent@vivier.eu>
Wed, 11 Sep 2019 06:46:17 +0000 (08:46 +0200)
commit9bdfa4d23f4395dab89a60eb6b05a0308792bd66
tree34e7c3dfeb9e5998a9c29bc76734cd9cf658769a
parent7f4341e84bb867c6e3397a978d3ee131bf8a889b
linux-user: add memfd_create

Add support for the memfd_create syscall. If the host does not have the
libc wrapper, translate to a direct syscall with NC-macro.

Buglink: https://bugs.launchpad.net/qemu/+bug/1734792
Signed-off-by: Shu-Chun Weng <scw@google.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20190819180947.180725-1-scw@google.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
include/qemu/memfd.h
linux-user/syscall.c
util/memfd.c