On Tue, Sep 19, 2023 at 3:01 PM Amir Goldstein <amir73il@xxxxxxxxx> wrote: > We do not add new system calls for doing something that is already > possible with existing system calls to make the life of a programmer > easier - this has never been a valid argument for adding a new syscall. - it's not possible to safely add an inotify watch; this isn't about making something easier, but about making something safe/reliable/race-free in a way that wasn't possible before - there are many precedents of new system calls just to add dfd support (fchmodat, execveat, linkat, mkdirat, ....) - there are also a few new system calls that were added to make the life of a programmer easier even though the same was already possible with existing system calls (close_range, process_madvise, pidfd_getfd, mount_setattr, ...)