[LTP] [PATCH 1/2] fanotify: Move safe_fanotify_init() + safe macro into fanotify.h

Cyril Hrubis chrubis@suse.cz
Wed Oct 14 15:46:48 CEST 2020


Hi!
> Fanotify code is used only in testcases/kernel/syscalls/fanotify/, which
> justify breaking rule of having safe function and macro outside of
> library. This will be further cleaned in next commit.

I guess that this is OK, I doubt that we will need a fanotify_init()
anywhere else but the fanotify testcases.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list