[LTP] [PATCH] tst_fd: Use raw syscall for fanotify_init

Li Wang liwang@redhat.com
Fri Feb 23 08:02:41 CET 2024


On Fri, Feb 23, 2024 at 8:06 AM Edward Liaw via ltp <ltp@lists.linux.it>
wrote:

> Some systems do not provide sys/fanotify.h, such as Android.  We can use
> the raw syscall for open_fanotify to avoid importing the header file.
>
> Suggested-by: Cyril Hrubis <chrubis@suse.cz>
> Signed-off-by: Edward Liaw <edliaw@google.com>
>

Reviewed-by: Li Wang <liwang@redhat.com>


-- 
Regards,
Li Wang


More information about the ltp mailing list