Re: [LTP] [PATCH v4 01/13] Add SAFE_STATX macro

Cyril Hrubis
2024-10-02T12:29:09Z

Hi!
> --- a/testcases/kernel/syscalls/fchmodat2/fchmodat2_01.c
> +++ b/testcases/kernel/syscalls/fchmodat2/fchmodat2_01.c
> @@ -12,6 +12,8 @@
> * usage on symlinks will raise EOPNOTSUPP.
> */
>
> +#define _GNU_SOURCE
> +
> #include "tst_test.h"
> #include "tst_safe_file_at.h"
> #include "lapi/fcntl.h"

This looks like it should be in a separate patch as well. At least there
is no description why this is needed in the patch either.

--
Cyril Hrubis
chrubis@suse.cz