Dmitry V. Levin
7c2210190a
* execve.c (decode_execve): New function. (sys_execve): Use it. (sys_execveat): New function. * linux/dummy.h (sys_execveat): Remove. * tests/execveat.c: New file. * tests/execveat.expected: Likewise. * tests/execveat-v.expected: Likewise. * tests/execveat.test: New test. * tests/Makefile.am (check_PROGRAMS): Add execveat. (TESTS): Add execveat.test. (EXTRA_DIST): Add execveat.expected and execveat-v.expected. * tests/.gitignore: Add execveat.
14 lines
189 B
Bash
Executable File
14 lines
189 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Check execveat syscall decoding.
|
|
|
|
. "${srcdir=.}/init.sh"
|
|
|
|
run_prog
|
|
run_strace $args
|
|
match_grep
|
|
run_strace -v $args
|
|
match_grep "$LOG" "$srcdir/${ME_%.test}-v.expected"
|
|
|
|
exit 0
|