From cf977e706b07e80f394570a393eb2169b9b9a1a7 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 28 Dec 2023 04:23:00 +0000 Subject: pure Perl inotify support This is a step towards improving the out-of-the-box experience in achieving notifications without XS, extra downloads, and .so loading + runtime mmap overhead. This also fixes loongarch support of all Linux syscalls due to a bad regexp :x All the reachable Linux architectures listed at should be supported. At the moment, there appears to be no reachable sparc* Linux machines available to cfarm users. Fixes: b0e5093aa3572a86 (syscall: add support for riscv64, 2022-08-11) --- devel/sysdefs-list | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'devel') diff --git a/devel/sysdefs-list b/devel/sysdefs-list index d0166461..61532cf2 100755 --- a/devel/sysdefs-list +++ b/devel/sysdefs-list @@ -88,9 +88,37 @@ int main(void) MAYBE D(SYS_epoll_wait); D(SYS_epoll_pwait); D(SYS_signalfd4); + + X(IN_CLOEXEC); + X(IN_ACCESS); + X(IN_ALL_EVENTS); + X(IN_ATTRIB); + X(IN_CLOSE); + X(IN_CLOSE_NOWRITE); + X(IN_CLOSE_WRITE); + X(IN_CREATE); + X(IN_DELETE); + X(IN_DELETE_SELF); + X(IN_DONT_FOLLOW); + X(IN_EXCL_UNLINK); + X(IN_IGNORED); + X(IN_ISDIR); + X(IN_MASK_ADD); + X(IN_MODIFY); + X(IN_MOVE); + X(IN_MOVED_FROM); + X(IN_MOVED_TO); + X(IN_MOVE_SELF); + X(IN_ONESHOT); + X(IN_ONLYDIR); + X(IN_OPEN); + X(IN_Q_OVERFLOW); + X(IN_UNMOUNT); + D(SYS_inotify_init1); D(SYS_inotify_add_watch); D(SYS_inotify_rm_watch); + D(SYS_prctl); D(SYS_fstatfs); -- cgit v1.2.3-24-ge0c7