6a1632c7e1
* tests/process_vm_readv.c: New file. * tests/process_vm_readv_writev.c: Likewise. * tests/process_vm_writev.c: Likewise. * tests/process_vm_readv.test: New test. * tests/process_vm_writev.test: Likewise. * tests/.gitignore: Add process_vm_readv and process_vm_writev. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add process_vm_readv.test and process_vm_writev.test. (EXTRA_DIST): Add process_vm_readv_writev.c.
19 lines
305 B
C
19 lines
305 B
C
#include "tests.h"
|
|
|
|
#include <asm/unistd.h>
|
|
|
|
#ifdef __NR_process_vm_writev
|
|
|
|
# define OP process_vm_writev
|
|
# define OP_NR __NR_process_vm_writev
|
|
# define OP_STR "process_vm_writev"
|
|
# define OP_WR 1
|
|
|
|
# include "process_vm_readv_writev.c"
|
|
|
|
#else
|
|
|
|
SKIP_MAIN_UNDEFINED("__NR_process_vm_writev");
|
|
|
|
#endif
|