Linux: consolidate inotify_init implementation
commit842128f160a48e5545900ea3bc3ba2ce40539d11
authorAdhemerval Zanella Netto <adhemerval.zanella@linaro.org>
Wed, 19 Oct 2022 22:14:10 +0000 (19 19:14 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 7 Dec 2022 14:27:01 +0000 (7 11:27 -0300)
treed7e5612f97e8736b85e686f9935fd9b79f95f468
parentd1d23b134244d59c4d6ef2295df5ec97b81ddb0a
Linux: consolidate inotify_init implementation

Use inotify_init syscall if defined, otherwise use inotify_init1.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
sysdeps/unix/sysv/linux/inotify_init.c [moved from sysdeps/unix/sysv/linux/generic/inotify_init.c with 78% similarity]