Closed claytono closed 7 years ago
Thanks @claytononeill !
Could you also add unix.IN_CLOEXEC
as an argument to InotifyInit1
? I was planning to switch this call but the idea must have slipped my mind 😶
@ppknap Updated with the IN_CLOEXEC flag.
Thanks @claytononeill !
The InotifyInit syscall doesn't exist on all architectures, but InotifyInit1 does. In the kernel implementation, inotify_init is just a wrapper around inotify_init1 and passes in zero for the only parameter which is a flags field.