Dmitry V. Levin
a6ebdb149e
* userfaultfd.c: New file. * Makefile.am (strace_SOURCES): Add it. * xlat/uffd_flags.in: New file. * linux/dummy.h (userfaultfd): Remove. * tests/userfaultfd.c: New file. * tests/userfaultfd.test: New test. * tests/Makefile.am (check_PROGRAMS): Add userfaultfd. (TESTS): Add userfaultfd.test. * tests/.gitignore: Add userfaultfd.
12 lines
179 B
C
12 lines
179 B
C
#include "defs.h"
|
|
#include <fcntl.h>
|
|
|
|
#include "xlat/uffd_flags.h"
|
|
|
|
SYS_FUNC(userfaultfd)
|
|
{
|
|
printflags(uffd_flags, tcp->u_arg[0], "UFFD_???");
|
|
|
|
return RVAL_DECODED | RVAL_FD;
|
|
}
|