Dmitry V. Levin
95b84ea641
* memfd_create.c: New file. * Makefile.am (strace_SOURCES): Add it. * linux/dummy.h (sys_memfd_create): Remove. * pathtrace.c (pathtrace_match): Add SEN_memfd_create. * xlat/memfd_create_flags.in: New file. * tests/memfd_create.c: New file. * tests/memfd_create.expected: Likewise. * tests/memfd_create.test: New test. * tests/Makefile.am: (check_PROGRAMS): Add memfd_create. (TESTS): Add memfd_create.test. (EXTRA_DIST): Add memfd_create.expected. * tests/.gitignore: Add memfd_create.
12 lines
137 B
Bash
Executable File
12 lines
137 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Check memfd_create syscall decoding.
|
|
|
|
. "${srcdir=.}/init.sh"
|
|
|
|
run_prog
|
|
run_strace -e memfd_create $args
|
|
match_grep
|
|
|
|
exit 0
|