diff options
author | Dmitry V. Levin <ldv@strace.io> | 2021-06-02 08:13:00 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2021-06-02 08:13:00 +0000 |
commit | 9fac2ae8318639173d15c40151e1510c0c281176 (patch) | |
tree | 92b606f71762cfa9ce29da64e4d5c6d079f16315 /tests/fchmodat.c | |
parent | 1d6e24f5783d4c1d8b362b67b16e54c3d851d60e (diff) | |
download | strace-9fac2ae8318639173d15c40151e1510c0c281176.tar.gz |
tests: assume __NR_fchmodat is defined
fchmodat syscall entries are present in syscallent files for all
supported architectures.
* tests/fchmodat.c: Assume __NR_fchmodat is defined.
Diffstat (limited to 'tests/fchmodat.c')
-rw-r--r-- | tests/fchmodat.c | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/tests/fchmodat.c b/tests/fchmodat.c index 2c69f4624..79850470b 100644 --- a/tests/fchmodat.c +++ b/tests/fchmodat.c @@ -11,13 +11,11 @@ #include "tests.h" #include "scno.h" -#ifdef __NR_fchmodat +#include <fcntl.h> +#include <stdio.h> +#include <unistd.h> -# include <fcntl.h> -# include <stdio.h> -# include <unistd.h> - -# include "secontext.h" +#include "secontext.h" int main(void) @@ -108,9 +106,3 @@ main(void) puts("+++ exited with 0 +++"); return 0; } - -#else - -SKIP_MAIN_UNDEFINED("__NR_fchmodat") - -#endif |