Fri Jul 28 19:01:11 2023 UTC ()
add epoll syscalls


(christos)
diff -r1.5 -r1.6 src/sys/compat/linux/arch/aarch64/syscalls.master
diff -r1.3 -r1.4 src/sys/compat/linux/arch/alpha/syscalls.conf
diff -r1.102 -r1.103 src/sys/compat/linux/arch/alpha/syscalls.master
diff -r1.75 -r1.76 src/sys/compat/linux/arch/arm/syscalls.master
diff -r1.130 -r1.131 src/sys/compat/linux/arch/i386/syscalls.master
diff -r1.101 -r1.102 src/sys/compat/linux/arch/m68k/syscalls.master
diff -r1.74 -r1.75 src/sys/compat/linux/arch/mips/syscalls.master
diff -r1.80 -r1.81 src/sys/compat/linux/arch/powerpc/syscalls.master

cvs diff -r1.5 -r1.6 src/sys/compat/linux/arch/aarch64/syscalls.master (expand / switch to unified diff)

--- src/sys/compat/linux/arch/aarch64/syscalls.master 2023/07/10 21:08:26 1.5
+++ src/sys/compat/linux/arch/aarch64/syscalls.master 2023/07/28 19:01:10 1.6
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1 $NetBSD: syscalls.master,v 1.5 2023/07/10 21:08:26 christos Exp $ 1 $NetBSD: syscalls.master,v 1.6 2023/07/28 19:01:10 christos Exp $
2 2
3; @(#)syscalls.master 8.1 (Berkeley) 7/19/93 3; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
4 4
5; Derived from sys/compat/linux/arch/*/syscalls.master 5; Derived from sys/compat/linux/arch/*/syscalls.master
6; and from Linux include/uapi/asm-generic/unistd.h 6; and from Linux include/uapi/asm-generic/unistd.h
7 7
8; NetBSD aarch64 COMPAT_LINUX system call name/number "master" file. 8; NetBSD aarch64 COMPAT_LINUX system call name/number "master" file.
9; (See syscalls.conf to see what it is processed into.) 9; (See syscalls.conf to see what it is processed into.)
10; 10;
11; Fields: number type [type-dependent ...] 11; Fields: number type [type-dependent ...]
12; number system call number, must be in order 12; number system call number, must be in order
13; type one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of 13; type one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of
14; the compatibility options defined in syscalls.conf. 14; the compatibility options defined in syscalls.conf.
@@ -87,29 +87,32 @@ @@ -87,29 +87,32 @@
8711 STD { ssize_t|linux_sys||listxattr(char *path, char *list, \ 8711 STD { ssize_t|linux_sys||listxattr(char *path, char *list, \
88 size_t size); } 88 size_t size); }
8912 STD { ssize_t|linux_sys||llistxattr(char *path, char *list, \ 8912 STD { ssize_t|linux_sys||llistxattr(char *path, char *list, \
90 size_t size); } 90 size_t size); }
9113 STD { ssize_t|linux_sys||flistxattr(int fd, char *list, \ 9113 STD { ssize_t|linux_sys||flistxattr(int fd, char *list, \
92 size_t size); } 92 size_t size); }
9314 STD { int|linux_sys||removexattr(char *path, char *name); } 9314 STD { int|linux_sys||removexattr(char *path, char *name); }
9415 STD { int|linux_sys||lremovexattr(char *path, char *name); } 9415 STD { int|linux_sys||lremovexattr(char *path, char *name); }
9516 STD { int|linux_sys||fremovexattr(int fd, char *name); } 9516 STD { int|linux_sys||fremovexattr(int fd, char *name); }
9617 NOARGS { int|sys||__getcwd(char *bufp, size_t length); } 9617 NOARGS { int|sys||__getcwd(char *bufp, size_t length); }
9718 UNIMPL lookup_dcookie 9718 UNIMPL lookup_dcookie
9819 STD { int|linux_sys||eventfd2(unsigned int initval, \ 9819 STD { int|linux_sys||eventfd2(unsigned int initval, \
99 int flags); } 99 int flags); }
10020 UNIMPL epoll_create1 10020 STD { int|linux_sys||epoll_create1(int flags); }
10121 UNIMPL epoll_ctl 10121 STD { int|linux_sys||epoll_ctl(int epfd, int op, int fd, \
10222 UNIMPL epoll_pwait 102 struct linux_epoll_event *event); }
 10322 STD { int|linux_sys||epoll_pwait(int epfd, \
 104 struct linux_epoll_event *events, int maxevents, \
 105 int timeout, const linux_sigset_t *sigmask); }
10323 NOARGS { int|sys||dup(int fd); } 10623 NOARGS { int|sys||dup(int fd); }
10424 STD { int|linux_sys||dup3(int from, int to, int flags); } 10724 STD { int|linux_sys||dup3(int from, int to, int flags); }
10525 STD { int|linux_sys||fcntl(int fd, int cmd, void *arg); } 10825 STD { int|linux_sys||fcntl(int fd, int cmd, void *arg); }
10626 UNIMPL inotify_init1 10926 UNIMPL inotify_init1
10727 UNIMPL inotify_add_watch 11027 UNIMPL inotify_add_watch
10828 UNIMPL inotify_rm_watch 11128 UNIMPL inotify_rm_watch
10929 STD { int|linux_sys||ioctl(int fd, u_long com, \ 11229 STD { int|linux_sys||ioctl(int fd, u_long com, \
110 void *data); } 113 void *data); }
11130 UNIMPL ioprio_set 11430 UNIMPL ioprio_set
11231 UNIMPL ioprio_get 11531 UNIMPL ioprio_get
11332 NOARGS { int|sys||flock(int fd, int how); } 11632 NOARGS { int|sys||flock(int fd, int how); }
11433 STD { int|linux_sys||mknodat(int fd, const char *path, \ 11733 STD { int|linux_sys||mknodat(int fd, const char *path, \
115 linux_umode_t mode, unsigned dev); } 118 linux_umode_t mode, unsigned dev); }
@@ -669,13 +672,17 @@ @@ -669,13 +672,17 @@
669430 UNIMPL fsopen 672430 UNIMPL fsopen
670431 UNIMPL fsconfig 673431 UNIMPL fsconfig
671432 UNIMPL fsmount 674432 UNIMPL fsmount
672433 UNIMPL fspick 675433 UNIMPL fspick
673434 UNIMPL pidfd_open 676434 UNIMPL pidfd_open
674435 UNIMPL clone3 677435 UNIMPL clone3
675436 UNIMPL 678436 UNIMPL
676437 UNIMPL openat2 679437 UNIMPL openat2
677438 UNIMPL pidfd_getfd 680438 UNIMPL pidfd_getfd
678439 UNIMPL faccessat2 681439 UNIMPL faccessat2
679 682
680; we want a "nosys" syscall, we'll just add an extra entry for it. 683; we want a "nosys" syscall, we'll just add an extra entry for it.
681440 STD { int|linux_sys||nosys(void); } 684440 STD { int|linux_sys||nosys(void); }
 685441 STD { int|linux_sys||epoll_pwait2(int epfd, \
 686 struct linux_epoll_event *events, int maxevents, \
 687 const struct linux_timespec *timeout, \
 688 const linux_sigset_t *sigmask); }

cvs diff -r1.3 -r1.4 src/sys/compat/linux/arch/alpha/syscalls.conf (expand / switch to unified diff)

--- src/sys/compat/linux/arch/alpha/syscalls.conf 2001/03/30 18:31:28 1.3
+++ src/sys/compat/linux/arch/alpha/syscalls.conf 2023/07/28 19:01:11 1.4
@@ -1,15 +1,15 @@ @@ -1,15 +1,15 @@
1# $NetBSD: syscalls.conf,v 1.3 2001/03/30 18:31:28 jdolecek Exp $ 1# $NetBSD: syscalls.conf,v 1.4 2023/07/28 19:01:11 christos Exp $
2 2
3sysnames="linux_syscalls.c" 3sysnames="linux_syscalls.c"
4sysnumhdr="linux_syscall.h" 4sysnumhdr="linux_syscall.h"
5syssw="linux_sysent.c" 5syssw="linux_sysent.c"
6sysarghdr="linux_syscallargs.h" 6sysarghdr="linux_syscallargs.h"
7compatopts="" 7compatopts=""
8libcompatopts="" 8libcompatopts=""
9 9
10switchname="linux_sysent" 10switchname="linux_sysent"
11namesname="linux_syscallnames" 11namesname="linux_syscallnames"
12constprefix="LINUX_SYS_" 12constprefix="LINUX_SYS_"
13nsysent=512 13nsysent=1024
14 14
15sys_nosys="linux_sys_nosys" 15sys_nosys="linux_sys_nosys"

cvs diff -r1.102 -r1.103 src/sys/compat/linux/arch/alpha/syscalls.master (expand / switch to unified diff)

--- src/sys/compat/linux/arch/alpha/syscalls.master 2021/12/02 04:29:47 1.102
+++ src/sys/compat/linux/arch/alpha/syscalls.master 2023/07/28 19:01:11 1.103
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1 $NetBSD: syscalls.master,v 1.102 2021/12/02 04:29:47 ryo Exp $ 1 $NetBSD: syscalls.master,v 1.103 2023/07/28 19:01:11 christos Exp $
2; 2;
3; @(#)syscalls.master 8.1 (Berkeley) 7/19/93 3; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
4 4
5; NetBSD alpha COMPAT_LINUX system call name/number "master" file. 5; NetBSD alpha COMPAT_LINUX system call name/number "master" file.
6; (See syscalls.conf to see what it is processed into.) 6; (See syscalls.conf to see what it is processed into.)
7; 7;
8; Fields: number type [type-dependent ...] 8; Fields: number type [type-dependent ...]
9; number system call number, must be in order 9; number system call number, must be in order
10; type one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of 10; type one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of
11; the compatibility options defined in syscalls.conf. 11; the compatibility options defined in syscalls.conf.
12; 12;
13; types: 13; types:
14; STD always included 14; STD always included
@@ -645,29 +645,32 @@ @@ -645,29 +645,32 @@
645 unsigned int len, unsigned long *mask); } 645 unsigned int len, unsigned long *mask); }
646396 STD { int|linux_sys||sched_getaffinity(pid_t pid, \ 646396 STD { int|linux_sys||sched_getaffinity(pid_t pid, \
647 unsigned int len, unsigned long *mask); } 647 unsigned int len, unsigned long *mask); }
648397 UNIMPL tuxcall 648397 UNIMPL tuxcall
649398 UNIMPL io_setup 649398 UNIMPL io_setup
650399 UNIMPL io_destroy 650399 UNIMPL io_destroy
651400 UNIMPL io_getevents 651400 UNIMPL io_getevents
652401 UNIMPL io_submit 652401 UNIMPL io_submit
653402 UNIMPL io_cancel 653402 UNIMPL io_cancel
654403 UNIMPL /* unused */ 654403 UNIMPL /* unused */
655404 UNIMPL /* unused */ 655404 UNIMPL /* unused */
656405 STD { int|linux_sys||exit_group(int error_code); } 656405 STD { int|linux_sys||exit_group(int error_code); }
657406 UNIMPL lookup_dcookie 657406 UNIMPL lookup_dcookie
658407 UNIMPL sys_epoll_create 658407 STD { int|linux_sys||epoll_create(int size); }
659408 UNIMPL sys_epoll_ctl 659408 STD { int|linux_sys||epoll_ctl(int epfd, int op, int fd, \
660409 UNIMPL sys_epoll_wait 660 struct linux_epoll_event *event); }
 661409 STD { int|linux_sys||epoll_wait(int epfd, \
 662 struct linux_epoll_event *events, int maxevents, \
 663 int timeout); }
661410 UNIMPL remap_file_pages 664410 UNIMPL remap_file_pages
662411 STD { int|linux_sys||set_tid_address(int *tid); } 665411 STD { int|linux_sys||set_tid_address(int *tid); }
663412 UNIMPL restart_syscall 666412 UNIMPL restart_syscall
664413 STD { int|linux_sys||fadvise64(int fd, off_t offset, \ 667413 STD { int|linux_sys||fadvise64(int fd, off_t offset, \
665 size_t len, int advice); } 668 size_t len, int advice); }
666414 STD { int|linux_sys||timer_create(clockid_t clockid, \ 669414 STD { int|linux_sys||timer_create(clockid_t clockid, \
667 struct linux_sigevent *evp, timer_t *timerid); } 670 struct linux_sigevent *evp, timer_t *timerid); }
668415 STD { int|linux_sys||timer_settime(timer_t timerid, \ 671415 STD { int|linux_sys||timer_settime(timer_t timerid, \
669 int flags, const struct linux_itimerspec *tim, \ 672 int flags, const struct linux_itimerspec *tim, \
670 struct linux_itimerspec *otim); } 673 struct linux_itimerspec *otim); }
671416 STD { int|linux_sys||timer_gettime(timer_t timerid, \ 674416 STD { int|linux_sys||timer_gettime(timer_t timerid, \
672 struct linux_itimerspec *tim); } 675 struct linux_itimerspec *tim); }
673417 NOARGS { int|sys||timer_getoverrun(timer_t timerid); } 676417 NOARGS { int|sys||timer_getoverrun(timer_t timerid); }
@@ -749,48 +752,50 @@ @@ -749,48 +752,50 @@
749 ; argument names / types, but they are ABI-compatible 752 ; argument names / types, but they are ABI-compatible
750 ; with Linux. 753 ; with Linux.
751 ; 754 ;
752466 NOARGS { int|sys||__futex_set_robust_list(void *head, \ 755466 NOARGS { int|sys||__futex_set_robust_list(void *head, \
753 size_t len); } 756 size_t len); }
754467 NOARGS { int|sys||__futex_get_robust_list(lwpid_t lwpid, \ 757467 NOARGS { int|sys||__futex_get_robust_list(lwpid_t lwpid, \
755 void **headp, size_t *lenp); } 758 void **headp, size_t *lenp); }
756468 UNIMPL splice 759468 UNIMPL splice
757469 UNIMPL sync_file_range 760469 UNIMPL sync_file_range
758470 UNIMPL tee 761470 UNIMPL tee
759471 UNIMPL vmsplice 762471 UNIMPL vmsplice
760472 UNIMPL move_pages 763472 UNIMPL move_pages
761473 UNIMPL getcpu 764473 UNIMPL getcpu
762474 UNIMPL epoll_wait 765474 STD { int|linux_sys||epoll_pwait(int epfd, \
 766 struct linux_epoll_event *events, int maxevents, \
 767 int timeout, const linux_sigset_t *sigmask); }
763475 STD { int|linux_sys||utimensat(int fd, const char *path, \ 768475 STD { int|linux_sys||utimensat(int fd, const char *path, \
764 struct linux_timespec *times, int flag); } 769 struct linux_timespec *times, int flag); }
765476 UNIMPL signalfd 770476 UNIMPL signalfd
766477 UNIMPL timerfd 771477 UNIMPL timerfd
767478 STD { int|linux_sys||eventfd(unsigned int initval); } 772478 STD { int|linux_sys||eventfd(unsigned int initval); }
768479 STD { int|linux_sys||recvmmsg(int s, \ 773479 STD { int|linux_sys||recvmmsg(int s, \
769 struct linux_mmsghdr *msgvec, unsigned int vlen, \ 774 struct linux_mmsghdr *msgvec, unsigned int vlen, \
770 unsigned int flags, struct timespec *timeout); } 775 unsigned int flags, struct timespec *timeout); }
771480 STD { int|linux_sys||fallocate(int fd, int mode, \ 776480 STD { int|linux_sys||fallocate(int fd, int mode, \
772 off_t offset, off_t len); } 777 off_t offset, off_t len); }
773481 STD { int|linux_sys||timerfd_create(clockid_t clock_id, \ 778481 STD { int|linux_sys||timerfd_create(clockid_t clock_id, \
774 int flags); } 779 int flags); }
775482 STD { int|linux_sys||timerfd_settime(int fd, int flags, \ 780482 STD { int|linux_sys||timerfd_settime(int fd, int flags, \
776 const struct linux_itimerspec *tim, \ 781 const struct linux_itimerspec *tim, \
777 struct linux_itimerspec *otim); } 782 struct linux_itimerspec *otim); }
778483 STD { int|linux_sys||timerfd_gettime(int fd, \ 783483 STD { int|linux_sys||timerfd_gettime(int fd, \
779 struct linux_itimerspec *tim); } 784 struct linux_itimerspec *tim); }
780484 UNIMPL signalfd4 785484 UNIMPL signalfd4
781485 STD { int|linux_sys||eventfd2(unsigned int initval, \ 786485 STD { int|linux_sys||eventfd2(unsigned int initval, \
782 int flags); } 787 int flags); }
783486 UNIMPL epoll_create1 788486 STD { int|linux_sys||epoll_create1(int flags); }
784487 STD { int|linux_sys||dup3(int from, int to, int flags); } 789487 STD { int|linux_sys||dup3(int from, int to, int flags); }
785488 STD { int|linux_sys||pipe2(int *pfds, int flags); } 790488 STD { int|linux_sys||pipe2(int *pfds, int flags); }
786489 UNIMPL inotify_init1 791489 UNIMPL inotify_init1
787490 STD { int|linux_sys||preadv(int fd, \ 792490 STD { int|linux_sys||preadv(int fd, \
788 const struct iovec *iovp, int iovcnt, \ 793 const struct iovec *iovp, int iovcnt, \
789 unsigned long off_lo, unsigned long off_hi); } 794 unsigned long off_lo, unsigned long off_hi); }
790491 STD { int|linux_sys||pwritev(int fd, \ 795491 STD { int|linux_sys||pwritev(int fd, \
791 const struct iovcnt *iovp, int iovcnt, \ 796 const struct iovcnt *iovp, int iovcnt, \
792 unsigned long off_lo, unsigned long off_hi); } 797 unsigned long off_lo, unsigned long off_hi); }
793492 UNIMPL rt_tgsigqueueinfo 798492 UNIMPL rt_tgsigqueueinfo
794493 UNIMPL perf_counter_open 799493 UNIMPL perf_counter_open
795494 UNIMPL fanotify_init 800494 UNIMPL fanotify_init
796495 UNIMPL fanotify_mark 801495 UNIMPL fanotify_mark
@@ -804,13 +809,57 @@ @@ -804,13 +809,57 @@
804502 STD { int|linux_sys||accept4(int s, \ 809502 STD { int|linux_sys||accept4(int s, \
805 struct osockaddr *name, \ 810 struct osockaddr *name, \
806 int *anamelen, int flags); } 811 int *anamelen, int flags); }
807503 STD { int|linux_sys||sendmmsg(int s, \ 812503 STD { int|linux_sys||sendmmsg(int s, \
808 struct linux_mmsghdr *msgvec, unsigned int vlen, \ 813 struct linux_mmsghdr *msgvec, unsigned int vlen, \
809 unsigned int flags); } 814 unsigned int flags); }
810504 UNIMPL process_vm_readv 815504 UNIMPL process_vm_readv
811505 UNIMPL process_vm_writev 816505 UNIMPL process_vm_writev
812506 UNIMPL kcmp 817506 UNIMPL kcmp
813507 UNIMPL finit_module 818507 UNIMPL finit_module
814508 UNIMPL sched_setattr 819508 UNIMPL sched_setattr
815509 UNIMPL sched_getattr 820509 UNIMPL sched_getattr
816510 UNIMPL renameat2 821510 UNIMPL renameat2
 822511 UNIMPL
 823512 UNIMPL
 824513 UNIMPL
 825514 UNIMPL
 826515 UNIMPL
 827516 UNIMPL
 828517 UNIMPL
 829518 UNIMPL
 830519 UNIMPL
 831520 UNIMPL
 832521 UNIMPL
 833522 UNIMPL
 834523 UNIMPL
 835524 UNIMPL
 836525 UNIMPL
 837526 UNIMPL
 838527 UNIMPL
 839528 UNIMPL
 840529 UNIMPL
 841530 UNIMPL
 842531 UNIMPL
 843532 UNIMPL
 844533 UNIMPL
 845534 UNIMPL
 846535 UNIMPL
 847536 UNIMPL
 848537 UNIMPL
 849538 UNIMPL
 850539 UNIMPL
 851540 UNIMPL
 852541 UNIMPL
 853542 UNIMPL
 854543 UNIMPL
 855544 UNIMPL
 856545 UNIMPL
 857546 UNIMPL
 858547 UNIMPL
 859548 UNIMPL
 860549 UNIMPL
 861550 UNIMPL
 862551 STD { int|linux_sys||epoll_pwait2(int epfd, \
 863 struct linux_epoll_event *events, int maxevents, \
 864 const struct linux_timespec *timeout, \
 865 const linux_sigset_t *sigmask); }

cvs diff -r1.75 -r1.76 src/sys/compat/linux/arch/arm/syscalls.master (expand / switch to unified diff)

--- src/sys/compat/linux/arch/arm/syscalls.master 2021/12/02 04:29:48 1.75
+++ src/sys/compat/linux/arch/arm/syscalls.master 2023/07/28 19:01:11 1.76
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1 $NetBSD: syscalls.master,v 1.75 2021/12/02 04:29:48 ryo Exp $ 1 $NetBSD: syscalls.master,v 1.76 2023/07/28 19:01:11 christos Exp $
2 2
3; Derived from sys/compat/linux/arch/*/syscalls.master 3; Derived from sys/compat/linux/arch/*/syscalls.master
4; and from Linux 2.4.12 arch/arm/kernel/calls.S 4; and from Linux 2.4.12 arch/arm/kernel/calls.S
5 5
6; NetBSD/arm COMPAT_LINUX system call name/number "master" file. 6; NetBSD/arm COMPAT_LINUX system call name/number "master" file.
7; (See syscalls.conf to see what it is processed into.) 7; (See syscalls.conf to see what it is processed into.)
8; 8;
9; Fields: number type [type-dependent ...] 9; Fields: number type [type-dependent ...]
10; number system call number, must be in order 10; number system call number, must be in order
11; type one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of 11; type one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of
12; the compatibility options defined in syscalls.conf. 12; the compatibility options defined in syscalls.conf.
13; 13;
14; types: 14; types:
@@ -414,29 +414,32 @@ @@ -414,29 +414,32 @@
414 const struct linux_timespec *timeout, int *uaddr2, \ 414 const struct linux_timespec *timeout, int *uaddr2, \
415 int val3); } 415 int val3); }
416241 STD { int|linux_sys||sched_setaffinity(pid_t pid, \ 416241 STD { int|linux_sys||sched_setaffinity(pid_t pid, \
417 unsigned int len, unsigned long *mask); } 417 unsigned int len, unsigned long *mask); }
418242 STD { int|linux_sys||sched_getaffinity(pid_t pid, \ 418242 STD { int|linux_sys||sched_getaffinity(pid_t pid, \
419 unsigned int len, unsigned long *mask); } 419 unsigned int len, unsigned long *mask); }
420243 UNIMPL io_setup 420243 UNIMPL io_setup
421244 UNIMPL io_destroy 421244 UNIMPL io_destroy
422245 UNIMPL io_getevents 422245 UNIMPL io_getevents
423246 UNIMPL io_submit 423246 UNIMPL io_submit
424247 UNIMPL io_cancel 424247 UNIMPL io_cancel
425248 STD { int|linux_sys||exit_group(int error_code); } 425248 STD { int|linux_sys||exit_group(int error_code); }
426249 UNIMPL lookup_dcookie 426249 UNIMPL lookup_dcookie
427250 UNIMPL epoll_create 427250 STD { int|linux_sys||epoll_create(int size); }
428251 UNIMPL epoll_ctl 428251 STD { int|linux_sys||epoll_ctl(int epfd, int op, int fd, \
429252 UNIMPL epoll_wait 429 struct linux_epoll_event *event); }
 430252 STD { int|linux_sys||epoll_wait(int epfd, \
 431 struct linux_epoll_event *events, int maxevents, \
 432 int timeout); }
430253 UNIMPL remap_file_pages 433253 UNIMPL remap_file_pages
431254 UNIMPL set_thread_area 434254 UNIMPL set_thread_area
432255 UNIMPL get_thread_area 435255 UNIMPL get_thread_area
433256 STD { int|linux_sys||set_tid_address(int *tid); } 436256 STD { int|linux_sys||set_tid_address(int *tid); }
434257 STD { int|linux_sys||timer_create(clockid_t clockid, \ 437257 STD { int|linux_sys||timer_create(clockid_t clockid, \
435 struct linux_sigevent *evp, timer_t *timerid); } 438 struct linux_sigevent *evp, timer_t *timerid); }
436258 STD { int|linux_sys||timer_settime(timer_t timerid, \ 439258 STD { int|linux_sys||timer_settime(timer_t timerid, \
437 int flags, const struct linux_itimerspec *tim, \ 440 int flags, const struct linux_itimerspec *tim, \
438 struct linux_itimerspec *otim); } 441 struct linux_itimerspec *otim); }
439259 STD { int|linux_sys||timer_gettime(timer_t timerid, \ 442259 STD { int|linux_sys||timer_gettime(timer_t timerid, \
440 struct linux_itimerspec *tim); } 443 struct linux_itimerspec *tim); }
441260 NOARGS { int|sys||timer_getoverrun(timer_t timerid); } 444260 NOARGS { int|sys||timer_getoverrun(timer_t timerid); }
442261 NOARGS { int|sys||timer_delete(timer_t timerid); } 445261 NOARGS { int|sys||timer_delete(timer_t timerid); }
@@ -547,45 +550,47 @@ @@ -547,45 +550,47 @@
547 ; argument names / types, but they are ABI-compatible 550 ; argument names / types, but they are ABI-compatible
548 ; with Linux. 551 ; with Linux.
549 ; 552 ;
550338 NOARGS { int|sys||__futex_set_robust_list(void *head, \ 553338 NOARGS { int|sys||__futex_set_robust_list(void *head, \
551 size_t len); } 554 size_t len); }
552339 NOARGS { int|sys||__futex_get_robust_list(lwpid_t lwpid, \ 555339 NOARGS { int|sys||__futex_get_robust_list(lwpid_t lwpid, \
553 void **headp, size_t *lenp); } 556 void **headp, size_t *lenp); }
554340 UNIMPL splice 557340 UNIMPL splice
555341 UNIMPL sync_file_range2 558341 UNIMPL sync_file_range2
556342 UNIMPL tee 559342 UNIMPL tee
557343 UNIMPL vmsplice 560343 UNIMPL vmsplice
558344 UNIMPL move_pages 561344 UNIMPL move_pages
559345 UNIMPL getcpu 562345 UNIMPL getcpu
560346 UNIMPL epoll_wait 563346 STD { int|linux_sys||epoll_pwait(int epfd, \
 564 struct linux_epoll_event *events, int maxevents, \
 565 int timeout, const linux_sigset_t *sigmask); }
561347 UNIMPL kexec_load 566347 UNIMPL kexec_load
562348 STD { int|linux_sys||utimensat(int fd, const char *path, \ 567348 STD { int|linux_sys||utimensat(int fd, const char *path, \
563 struct linux_timespec *times, int flag); } 568 struct linux_timespec *times, int flag); }
564349 UNIMPL signalfd 569349 UNIMPL signalfd
565350 STD { int|linux_sys||timerfd_create(clockid_t clock_id, \ 570350 STD { int|linux_sys||timerfd_create(clockid_t clock_id, \
566 int flags); } 571 int flags); }
567351 STD { int|linux_sys||eventfd(unsigned int initval); } 572351 STD { int|linux_sys||eventfd(unsigned int initval); }
568352 STD { int|linux_sys||fallocate(int fd, int mode, \ 573352 STD { int|linux_sys||fallocate(int fd, int mode, \
569 off_t offset, off_t len); } 574 off_t offset, off_t len); }
570353 STD { int|linux_sys||timerfd_settime(int fd, int flags, \ 575353 STD { int|linux_sys||timerfd_settime(int fd, int flags, \
571 const struct linux_itimerspec *tim, \ 576 const struct linux_itimerspec *tim, \
572 struct linux_itimerspec *otim); } 577 struct linux_itimerspec *otim); }
573354 STD { int|linux_sys||timerfd_gettime(int fd, \ 578354 STD { int|linux_sys||timerfd_gettime(int fd, \
574 struct linux_itimerspec *tim); } 579 struct linux_itimerspec *tim); }
575355 UNIMPL signalfd4 580355 UNIMPL signalfd4
576356 STD { int|linux_sys||eventfd2(unsigned int initval, \ 581356 STD { int|linux_sys||eventfd2(unsigned int initval, \
577 int flags); } 582 int flags); }
578357 UNIMPL epoll_create1 583357 STD { int|linux_sys||epoll_create1(int flags); }
579358 STD { int|linux_sys||dup3(int from, int to, int flags); } 584358 STD { int|linux_sys||dup3(int from, int to, int flags); }
580359 STD { int|linux_sys||pipe2(int *pfds, int flags); } 585359 STD { int|linux_sys||pipe2(int *pfds, int flags); }
581360 UNIMPL inotify_init1 586360 UNIMPL inotify_init1
582361 STD { int|linux_sys||preadv(int fd, \ 587361 STD { int|linux_sys||preadv(int fd, \
583 const struct iovec *iovp, int iovcnt, \ 588 const struct iovec *iovp, int iovcnt, \
584 unsigned long off_lo, unsigned long off_hi); } 589 unsigned long off_lo, unsigned long off_hi); }
585362 STD { int|linux_sys||pwritev(int fd, \ 590362 STD { int|linux_sys||pwritev(int fd, \
586 const struct iovcnt *iovp, int iovcnt, \ 591 const struct iovcnt *iovp, int iovcnt, \
587 unsigned long off_lo, unsigned long off_hi); } 592 unsigned long off_lo, unsigned long off_hi); }
588363 UNIMPL rt_tgsigqueueinfo 593363 UNIMPL rt_tgsigqueueinfo
589364 UNIMPL perf_counter_open 594364 UNIMPL perf_counter_open
590365 STD { int|linux_sys||recvmmsg(int s, \ 595365 STD { int|linux_sys||recvmmsg(int s, \
591 struct linux_mmsghdr *msgvec, unsigned int vlen, \ 596 struct linux_mmsghdr *msgvec, unsigned int vlen, \
@@ -622,13 +627,68 @@ @@ -622,13 +627,68 @@
622; SWI numbers starting at 0x900000 (__NR_SYSCALL_BASE). Special 627; SWI numbers starting at 0x900000 (__NR_SYSCALL_BASE). Special
623; ARM-specific syscalls use SWI numbers starting at 0x9f0000 628; ARM-specific syscalls use SWI numbers starting at 0x9f0000
624; (__ARM_NR_BASE). linux_syscall() (in arch/arm/arm/linux_syscall.c) 629; (__ARM_NR_BASE). linux_syscall() (in arch/arm/arm/linux_syscall.c)
625; remaps these down to 0x900180 so that we can use one linux_sysent 630; remaps these down to 0x900180 so that we can use one linux_sysent
626; array for the whole lot. 631; array for the whole lot.
627 632
628384 UNIMPL /* base */ 633384 UNIMPL /* base */
629385 STD { int|linux_sys||breakpoint(void); } 634385 STD { int|linux_sys||breakpoint(void); }
630386 STD { int|linux_sys||cacheflush(uintptr_t from, \ 635386 STD { int|linux_sys||cacheflush(uintptr_t from, \
631 intptr_t to, int flags); } 636 intptr_t to, int flags); }
632387 UNIMPL usr26 637387 UNIMPL usr26
633388 UNIMPL usr32 638388 UNIMPL usr32
634389 STD { int|linux_sys||set_tls(void *tls); } 639389 STD { int|linux_sys||set_tls(void *tls); }
 640390 UNIMPL
 641391 UNIMPL
 642392 UNIMPL
 643393 UNIMPL
 644394 UNIMPL
 645395 UNIMPL
 646396 UNIMPL
 647397 UNIMPL
 648398 UNIMPL
 649399 UNIMPL
 650400 UNIMPL
 651401 UNIMPL
 652402 UNIMPL
 653403 UNIMPL
 654404 UNIMPL
 655405 UNIMPL
 656406 UNIMPL
 657407 UNIMPL
 658408 UNIMPL
 659409 UNIMPL
 660410 UNIMPL
 661411 UNIMPL
 662412 UNIMPL
 663413 UNIMPL
 664414 UNIMPL
 665415 UNIMPL
 666416 UNIMPL
 667417 UNIMPL
 668418 UNIMPL
 669419 UNIMPL
 670420 UNIMPL
 671421 UNIMPL
 672422 UNIMPL
 673423 UNIMPL
 674424 UNIMPL
 675425 UNIMPL
 676426 UNIMPL
 677427 UNIMPL
 678428 UNIMPL
 679429 UNIMPL
 680430 UNIMPL
 681431 UNIMPL
 682432 UNIMPL
 683433 UNIMPL
 684434 UNIMPL
 685435 UNIMPL
 686436 UNIMPL
 687437 UNIMPL
 688438 UNIMPL
 689439 UNIMPL
 690440 UNIMPL
 691441 STD { int|linux_sys||epoll_pwait2(int epfd, \
 692 struct linux_epoll_event *events, int maxevents, \
 693 const struct linux_timespec *timeout, \
 694 const linux_sigset_t *sigmask); }

cvs diff -r1.130 -r1.131 src/sys/compat/linux/arch/i386/syscalls.master (expand / switch to unified diff)

--- src/sys/compat/linux/arch/i386/syscalls.master 2023/07/10 13:05:27 1.130
+++ src/sys/compat/linux/arch/i386/syscalls.master 2023/07/28 19:01:11 1.131
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1 $NetBSD: syscalls.master,v 1.130 2023/07/10 13:05:27 christos Exp $ 1 $NetBSD: syscalls.master,v 1.131 2023/07/28 19:01:11 christos Exp $
2 2
3; @(#)syscalls.master 8.1 (Berkeley) 7/19/93 3; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
4 4
5; NetBSD i386 COMPAT_LINUX system call name/number "master" file. 5; NetBSD i386 COMPAT_LINUX system call name/number "master" file.
6; (See syscalls.conf to see what it is processed into.) 6; (See syscalls.conf to see what it is processed into.)
7; 7;
8; Fields: number type [type-dependent ...] 8; Fields: number type [type-dependent ...]
9; number system call number, must be in order 9; number system call number, must be in order
10; type one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of 10; type one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of
11; the compatibility options defined in syscalls.conf. 11; the compatibility options defined in syscalls.conf.
12; 12;
13; types: 13; types:
14; STD always included 14; STD always included
@@ -418,29 +418,32 @@ @@ -418,29 +418,32 @@
418 struct linux_user_desc *desc); } 418 struct linux_user_desc *desc); }
419244 STD { int|linux_sys||get_thread_area( \ 419244 STD { int|linux_sys||get_thread_area( \
420 struct linux_user_desc *desc); } 420 struct linux_user_desc *desc); }
421245 UNIMPL io_setup 421245 UNIMPL io_setup
422246 UNIMPL io_destroy 422246 UNIMPL io_destroy
423247 UNIMPL io_getevents 423247 UNIMPL io_getevents
424248 UNIMPL io_submit 424248 UNIMPL io_submit
425249 UNIMPL io_cancel 425249 UNIMPL io_cancel
426250 STD { int|linux_sys||fadvise64(int fd, off_t offset, \ 426250 STD { int|linux_sys||fadvise64(int fd, off_t offset, \
427 size_t len, int advice); } 427 size_t len, int advice); }
428251 UNIMPL /* unused */ 428251 UNIMPL /* unused */
429252 STD { int|linux_sys||exit_group(int error_code); } 429252 STD { int|linux_sys||exit_group(int error_code); }
430253 UNIMPL lookup_dcookie 430253 UNIMPL lookup_dcookie
431254 UNIMPL epoll_create 431254 STD { int|linux_sys||epoll_create(int size); }
432255 UNIMPL epoll_ctl 432255 STD { int|linux_sys||epoll_ctl(int epfd, int op, int fd, \
433256 UNIMPL epoll_wait 433 struct linux_epoll_event *event); }
 434256 STD { int|linux_sys||epoll_wait(int epfd, \
 435 struct linux_epoll_event *events, int maxevents, \
 436 int timeout); }
434257 UNIMPL remap_file_pages 437257 UNIMPL remap_file_pages
435258 STD { int|linux_sys||set_tid_address(int *tid); } 438258 STD { int|linux_sys||set_tid_address(int *tid); }
436259 STD { int|linux_sys||timer_create(clockid_t clockid, \ 439259 STD { int|linux_sys||timer_create(clockid_t clockid, \
437 struct linux_sigevent *evp, timer_t *timerid); } 440 struct linux_sigevent *evp, timer_t *timerid); }
438260 STD { int|linux_sys||timer_settime(timer_t timerid, \ 441260 STD { int|linux_sys||timer_settime(timer_t timerid, \
439 int flags, const struct linux_itimerspec *tim, \ 442 int flags, const struct linux_itimerspec *tim, \
440 struct linux_itimerspec *otim); } 443 struct linux_itimerspec *otim); }
441261 STD { int|linux_sys||timer_gettime(timer_t timerid, \ 444261 STD { int|linux_sys||timer_gettime(timer_t timerid, \
442 struct linux_itimerspec *tim); } 445 struct linux_itimerspec *tim); }
443262 NOARGS { int|sys||timer_getoverrun(timer_t timerid); } 446262 NOARGS { int|sys||timer_getoverrun(timer_t timerid); }
444263 NOARGS { int|sys||timer_delete(timer_t timerid); } 447263 NOARGS { int|sys||timer_delete(timer_t timerid); }
445264 STD { int|linux_sys||clock_settime(clockid_t which, \ 448264 STD { int|linux_sys||clock_settime(clockid_t which, \
446 struct linux_timespec *tp); } 449 struct linux_timespec *tp); }
@@ -515,44 +518,46 @@ @@ -515,44 +518,46 @@
515 struct linux_timespec *timeout, \ 518 struct linux_timespec *timeout, \
516 linux_sigset_t *sigset); } 519 linux_sigset_t *sigset); }
517310 UNIMPL unshare 520310 UNIMPL unshare
518311 NOARGS { int|sys||__futex_set_robust_list(void *head, \ 521311 NOARGS { int|sys||__futex_set_robust_list(void *head, \
519 size_t len); } 522 size_t len); }
520312 NOARGS { int|sys||__futex_get_robust_list(lwpid_t lwpid, \ 523312 NOARGS { int|sys||__futex_get_robust_list(lwpid_t lwpid, \
521 void **headp, size_t *lenp); } 524 void **headp, size_t *lenp); }
522313 UNIMPL splice 525313 UNIMPL splice
523314 UNIMPL sync_file_range 526314 UNIMPL sync_file_range
524315 UNIMPL tee 527315 UNIMPL tee
525316 UNIMPL vmsplice 528316 UNIMPL vmsplice
526317 UNIMPL move_pages 529317 UNIMPL move_pages
527318 UNIMPL getcpu 530318 UNIMPL getcpu
528319 UNIMPL epoll_wait 531319 STD { int|linux_sys||epoll_pwait(int epfd, \
 532 struct linux_epoll_event *events, int maxevents, \
 533 int timeout, const linux_sigset_t *sigmask); }
529320 STD { int|linux_sys||utimensat(int fd, const char *path, \ 534320 STD { int|linux_sys||utimensat(int fd, const char *path, \
530 struct linux_timespec *times, int flag); } 535 struct linux_timespec *times, int flag); }
531321 UNIMPL signalfd 536321 UNIMPL signalfd
532322 STD { int|linux_sys||timerfd_create(clockid_t clock_id, \ 537322 STD { int|linux_sys||timerfd_create(clockid_t clock_id, \
533 int flags); } 538 int flags); }
534323 STD { int|linux_sys||eventfd(unsigned int initval); } 539323 STD { int|linux_sys||eventfd(unsigned int initval); }
535324 STD { int|linux_sys||fallocate(int fd, int mode, \ 540324 STD { int|linux_sys||fallocate(int fd, int mode, \
536 off_t offset, off_t len); } 541 off_t offset, off_t len); }
537325 STD { int|linux_sys||timerfd_settime(int fd, int flags, \ 542325 STD { int|linux_sys||timerfd_settime(int fd, int flags, \
538 const struct linux_itimerspec *tim, \ 543 const struct linux_itimerspec *tim, \
539 struct linux_itimerspec *otim); } 544 struct linux_itimerspec *otim); }
540326 STD { int|linux_sys||timerfd_gettime(int fd, \ 545326 STD { int|linux_sys||timerfd_gettime(int fd, \
541 struct linux_itimerspec *tim); } 546 struct linux_itimerspec *tim); }
542327 UNIMPL signalfd4 547327 UNIMPL signalfd4
543328 STD { int|linux_sys||eventfd2(unsigned int initval, \ 548328 STD { int|linux_sys||eventfd2(unsigned int initval, \
544 int flags); } 549 int flags); }
545329 UNIMPL epoll_create1 550329 STD { int|linux_sys||epoll_create1(int flags); }
546330 STD { int|linux_sys||dup3(int from, int to, int flags); } 551330 STD { int|linux_sys||dup3(int from, int to, int flags); }
547331 STD { int|linux_sys||pipe2( int *pfds, int flags); } 552331 STD { int|linux_sys||pipe2( int *pfds, int flags); }
548332 UNIMPL inotify_init1 553332 UNIMPL inotify_init1
549333 STD { int|linux_sys||preadv(int fd, \ 554333 STD { int|linux_sys||preadv(int fd, \
550 const struct iovec *iovp, int iovcnt, \ 555 const struct iovec *iovp, int iovcnt, \
551 unsigned long off_lo, unsigned long off_hi); } 556 unsigned long off_lo, unsigned long off_hi); }
552334 STD { int|linux_sys||pwritev(int fd, \ 557334 STD { int|linux_sys||pwritev(int fd, \
553 const struct iovcnt *iovp, int iovcnt, \ 558 const struct iovcnt *iovp, int iovcnt, \
554 unsigned long off_lo, unsigned long off_hi); } 559 unsigned long off_lo, unsigned long off_hi); }
555335 UNIMPL rt_tgsigqueueinfo 560335 UNIMPL rt_tgsigqueueinfo
556336 UNIMPL perf_counter_open 561336 UNIMPL perf_counter_open
557337 UNIMPL recvmmsg 562337 UNIMPL recvmmsg
558338 UNIMPL fanotify_init 563338 UNIMPL fanotify_init
@@ -651,13 +656,17 @@ @@ -651,13 +656,17 @@
651428 UNIMPL open_tree 656428 UNIMPL open_tree
652429 UNIMPL move_mount 657429 UNIMPL move_mount
653430 UNIMPL fsopen 658430 UNIMPL fsopen
654431 UNIMPL fsconfig 659431 UNIMPL fsconfig
655432 UNIMPL fsmount 660432 UNIMPL fsmount
656433 UNIMPL fspick 661433 UNIMPL fspick
657434 UNIMPL pidfd_open 662434 UNIMPL pidfd_open
658435 UNIMPL clone3 663435 UNIMPL clone3
659436 UNIMPL close_range 664436 UNIMPL close_range
660437 UNIMPL openat2 665437 UNIMPL openat2
661438 UNIMPL pidfd_getfd 666438 UNIMPL pidfd_getfd
662439 UNIMPL faccessat2 667439 UNIMPL faccessat2
663440 UNIMPL process_madvise 668440 UNIMPL process_madvise
 669441 STD { int|linux_sys||epoll_pwait2(int epfd, \
 670 struct linux_epoll_event *events, int maxevents, \
 671 const struct linux_timespec *timeout, \
 672 const linux_sigset_t *sigmask); }

cvs diff -r1.101 -r1.102 src/sys/compat/linux/arch/m68k/syscalls.master (expand / switch to unified diff)

--- src/sys/compat/linux/arch/m68k/syscalls.master 2021/12/02 04:29:48 1.101
+++ src/sys/compat/linux/arch/m68k/syscalls.master 2023/07/28 19:01:11 1.102
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1 $NetBSD: syscalls.master,v 1.101 2021/12/02 04:29:48 ryo Exp $ 1 $NetBSD: syscalls.master,v 1.102 2023/07/28 19:01:11 christos Exp $
2 2
3; @(#)syscalls.master 8.1 (Berkeley) 7/19/93 3; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
4 4
5; NetBSD m68k COMPAT_LINUX system call name/number "master" file. 5; NetBSD m68k COMPAT_LINUX system call name/number "master" file.
6; (See syscalls.conf to see what it is processed into.) 6; (See syscalls.conf to see what it is processed into.)
7; 7;
8; Fields: number type [type-dependent ...] 8; Fields: number type [type-dependent ...]
9; number system call number, must be in order 9; number system call number, must be in order
10; type one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of 10; type one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of
11; the compatibility options defined in syscalls.conf. 11; the compatibility options defined in syscalls.conf.
12; 12;
13; types: 13; types:
14; STD always included 14; STD always included
@@ -428,29 +428,32 @@ @@ -428,29 +428,32 @@
428237 NOARGS { int|sys||mincore(void *addr, size_t len, char *vec); } 428237 NOARGS { int|sys||mincore(void *addr, size_t len, char *vec); }
429238 NOARGS { int|sys||madvise(void *addr, size_t len, int behav); } 429238 NOARGS { int|sys||madvise(void *addr, size_t len, int behav); }
430239 STD { int|linux_sys||fcntl64(int fd, int cmd, void *arg); } 430239 STD { int|linux_sys||fcntl64(int fd, int cmd, void *arg); }
431240 UNIMPL readahead 431240 UNIMPL readahead
432241 UNIMPL io_setup 432241 UNIMPL io_setup
433242 UNIMPL io_destroy 433242 UNIMPL io_destroy
434243 UNIMPL io_getevents 434243 UNIMPL io_getevents
435244 UNIMPL io_submit 435244 UNIMPL io_submit
436245 UNIMPL io_cancel 436245 UNIMPL io_cancel
437246 STD { int|linux_sys||fadvise64(int fd, off_t offset, \ 437246 STD { int|linux_sys||fadvise64(int fd, off_t offset, \
438 size_t len, int advice); } 438 size_t len, int advice); }
439247 UNIMPL exit_group 439247 UNIMPL exit_group
440248 UNIMPL lookup_dcookie 440248 UNIMPL lookup_dcookie
441249 UNIMPL epoll_create 441249 STD { int|linux_sys||epoll_create(int size); }
442250 UNIMPL epoll_ctl 442250 STD { int|linux_sys||epoll_ctl(int epfd, int op, int fd, \
443251 UNIMPL epoll_wait 443 struct linux_epoll_event *event); }
 444251 STD { int|linux_sys||epoll_wait(int epfd, \
 445 struct linux_epoll_event *events, int maxevents, \
 446 int timeout); }
444252 UNIMPL remap_file_pages 447252 UNIMPL remap_file_pages
445253 STD { int|linux_sys||set_tid_address(int *tid); } 448253 STD { int|linux_sys||set_tid_address(int *tid); }
446254 STD { int|linux_sys||timer_create(clockid_t clockid, \ 449254 STD { int|linux_sys||timer_create(clockid_t clockid, \
447 struct linux_sigevent *evp, timer_t *timerid); } 450 struct linux_sigevent *evp, timer_t *timerid); }
448255 STD { int|linux_sys||timer_settime(timer_t timerid, \ 451255 STD { int|linux_sys||timer_settime(timer_t timerid, \
449 int flags, const struct linux_itimerspec *tim, \ 452 int flags, const struct linux_itimerspec *tim, \
450 struct linux_itimerspec *otim); } 453 struct linux_itimerspec *otim); }
451256 STD { int|linux_sys||timer_gettime(timer_t timerid, \ 454256 STD { int|linux_sys||timer_gettime(timer_t timerid, \
452 struct linux_itimerspec *tim); } 455 struct linux_itimerspec *tim); }
453257 NOARGS { int|sys||timer_getoverrun(timer_t timerid); } 456257 NOARGS { int|sys||timer_getoverrun(timer_t timerid); }
454258 NOARGS { int|sys||timer_delete(timer_t timerid); } 457258 NOARGS { int|sys||timer_delete(timer_t timerid); }
455259 STD { int|linux_sys||clock_settime(clockid_t which, \ 458259 STD { int|linux_sys||clock_settime(clockid_t which, \
456 struct linux_timespec *tp); } 459 struct linux_timespec *tp); }
@@ -533,44 +536,46 @@ @@ -533,44 +536,46 @@
533305 NOARGS { int|sys||__futex_get_robust_list(lwpid_t lwpid, \ 536305 NOARGS { int|sys||__futex_get_robust_list(lwpid_t lwpid, \
534 void **headp, size_t *lenp); } 537 void **headp, size_t *lenp); }
535306 UNIMPL splice 538306 UNIMPL splice
536307 UNIMPL sync_file_range 539307 UNIMPL sync_file_range
537308 UNIMPL tee 540308 UNIMPL tee
538309 UNIMPL vmsplice 541309 UNIMPL vmsplice
539310 UNIMPL move_pages 542310 UNIMPL move_pages
540311 STD { int|linux_sys||sched_setaffinity(pid_t pid, \ 543311 STD { int|linux_sys||sched_setaffinity(pid_t pid, \
541 unsigned int len, unsigned long *mask); } 544 unsigned int len, unsigned long *mask); }
542312 STD { int|linux_sys||sched_getaffinity(pid_t pid, \ 545312 STD { int|linux_sys||sched_getaffinity(pid_t pid, \
543 unsigned int len, unsigned long *mask); } 546 unsigned int len, unsigned long *mask); }
544313 UNIMPL kexec_load 547313 UNIMPL kexec_load
545314 UNIMPL getcpu 548314 UNIMPL getcpu
546315 UNIMPL epoll_wait 549315 STD { int|linux_sys||epoll_pwait(int epfd, \
 550 struct linux_epoll_event *events, int maxevents, \
 551 int timeout, const linux_sigset_t *sigmask); }
547316 STD { int|linux_sys||utimensat(int fd, const char *path, \ 552316 STD { int|linux_sys||utimensat(int fd, const char *path, \
548 struct linux_timespec *times, int flag); } 553 struct linux_timespec *times, int flag); }
549317 UNIMPL signalfd 554317 UNIMPL signalfd
550318 STD { int|linux_sys||timerfd_create(clockid_t clock_id, \ 555318 STD { int|linux_sys||timerfd_create(clockid_t clock_id, \
551 int flags); } 556 int flags); }
552319 STD { int|linux_sys||eventfd(unsigned int initval); } 557319 STD { int|linux_sys||eventfd(unsigned int initval); }
553320 STD { int|linux_sys||fallocate(int fd, int mode, \ 558320 STD { int|linux_sys||fallocate(int fd, int mode, \
554 off_t offset, off_t len); } 559 off_t offset, off_t len); }
555321 STD { int|linux_sys||timerfd_settime(int fd, int flags, \ 560321 STD { int|linux_sys||timerfd_settime(int fd, int flags, \
556 const struct linux_itimerspec *tim, \ 561 const struct linux_itimerspec *tim, \
557 struct linux_itimerspec *otim); } 562 struct linux_itimerspec *otim); }
558322 STD { int|linux_sys||timerfd_gettime(int fd, \ 563322 STD { int|linux_sys||timerfd_gettime(int fd, \
559 struct linux_itimerspec *tim); } 564 struct linux_itimerspec *tim); }
560323 UNIMPL signalfd4 565323 UNIMPL signalfd4
561324 STD { int|linux_sys||eventfd2(unsigned int initval, \ 566324 STD { int|linux_sys||eventfd2(unsigned int initval, \
562 int flags); } 567 int flags); }
563325 UNIMPL epoll_create1 568325 STD { int|linux_sys||epoll_create1(int flags); }
564326 STD { int|linux_sys||dup3(int from, int to, int flags); } 569326 STD { int|linux_sys||dup3(int from, int to, int flags); }
565327 STD { int|linux_sys||pipe2(int *pfds, int flags); } 570327 STD { int|linux_sys||pipe2(int *pfds, int flags); }
566328 UNIMPL inotify_init1 571328 UNIMPL inotify_init1
567329 STD { int|linux_sys||preadv(int fd, \ 572329 STD { int|linux_sys||preadv(int fd, \
568 const struct iovec *iovp, int iovcnt, \ 573 const struct iovec *iovp, int iovcnt, \
569 unsigned long off_lo, unsigned long off_hi); } 574 unsigned long off_lo, unsigned long off_hi); }
570330 STD { int|linux_sys||pwritev(int fd, \ 575330 STD { int|linux_sys||pwritev(int fd, \
571 const struct iovcnt *iovp, int iovcnt, \ 576 const struct iovcnt *iovp, int iovcnt, \
572 unsigned long off_lo, unsigned long off_hi); } 577 unsigned long off_lo, unsigned long off_hi); }
573331 UNIMPL rt_tgsigqueueinfo 578331 UNIMPL rt_tgsigqueueinfo
574332 UNIMPL perf_counter_open 579332 UNIMPL perf_counter_open
575333 UNIMPL set_thread_area 580333 UNIMPL set_thread_area
576334 UNIMPL get_thread_area 581334 UNIMPL get_thread_area
@@ -616,13 +621,79 @@ @@ -616,13 +621,79 @@
616370 UNIMPL shutdown 621370 UNIMPL shutdown
617371 STD { int|linux_sys||recvmmsg(int s, \ 622371 STD { int|linux_sys||recvmmsg(int s, \
618 struct linux_mmsghdr *msgvec, unsigned int vlen, \ 623 struct linux_mmsghdr *msgvec, unsigned int vlen, \
619 unsigned int flags, struct timespec *timeout); } 624 unsigned int flags, struct timespec *timeout); }
620372 STD { int|linux_sys||sendmmsg(int s, \ 625372 STD { int|linux_sys||sendmmsg(int s, \
621 struct linux_mmsghdr *msgvec, unsigned int vlen, \ 626 struct linux_mmsghdr *msgvec, unsigned int vlen, \
622 unsigned int flags); } 627 unsigned int flags); }
623373 UNIMPL userfaultfd 628373 UNIMPL userfaultfd
624374 UNIMPL membarrier 629374 UNIMPL membarrier
625375 UNIMPL mlock2 630375 UNIMPL mlock2
626376 UNIMPL copy_file_range 631376 UNIMPL copy_file_range
627377 UNIMPL preadv2 632377 UNIMPL preadv2
628378 UNIMPL pwritev2 633378 UNIMPL pwritev2
 634379 UNIMPL
 635380 UNIMPL
 636381 UNIMPL
 637382 UNIMPL
 638383 UNIMPL
 639384 UNIMPL
 640385 UNIMPL
 641386 UNIMPL
 642387 UNIMPL
 643388 UNIMPL
 644389 UNIMPL
 645390 UNIMPL
 646391 UNIMPL
 647392 UNIMPL
 648393 UNIMPL
 649394 UNIMPL
 650395 UNIMPL
 651396 UNIMPL
 652397 UNIMPL
 653398 UNIMPL
 654399 UNIMPL
 655400 UNIMPL
 656401 UNIMPL
 657402 UNIMPL
 658403 UNIMPL
 659404 UNIMPL
 660405 UNIMPL
 661406 UNIMPL
 662407 UNIMPL
 663408 UNIMPL
 664409 UNIMPL
 665410 UNIMPL
 666411 UNIMPL
 667412 UNIMPL
 668413 UNIMPL
 669414 UNIMPL
 670415 UNIMPL
 671416 UNIMPL
 672417 UNIMPL
 673418 UNIMPL
 674419 UNIMPL
 675420 UNIMPL
 676421 UNIMPL
 677422 UNIMPL
 678423 UNIMPL
 679424 UNIMPL
 680425 UNIMPL
 681426 UNIMPL
 682427 UNIMPL
 683428 UNIMPL
 684429 UNIMPL
 685430 UNIMPL
 686431 UNIMPL
 687432 UNIMPL
 688433 UNIMPL
 689434 UNIMPL
 690435 UNIMPL
 691436 UNIMPL
 692437 UNIMPL
 693438 UNIMPL
 694439 UNIMPL
 695440 UNIMPL
 696441 STD { int|linux_sys||epoll_pwait2(int epfd, \
 697 struct linux_epoll_event *events, int maxevents, \
 698 const struct linux_timespec *timeout, \
 699 const linux_sigset_t *sigmask); }

cvs diff -r1.74 -r1.75 src/sys/compat/linux/arch/mips/syscalls.master (expand / switch to unified diff)

--- src/sys/compat/linux/arch/mips/syscalls.master 2021/12/02 04:29:48 1.74
+++ src/sys/compat/linux/arch/mips/syscalls.master 2023/07/28 19:01:11 1.75
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1 $NetBSD: syscalls.master,v 1.74 2021/12/02 04:29:48 ryo Exp $  1 $NetBSD: syscalls.master,v 1.75 2023/07/28 19:01:11 christos Exp $
2 2
3; @(#)syscalls.master 8.1 (Berkeley) 7/19/93 3; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
4 4
5; Derived from NetBSD's sys/compat/linux/arch/powerpc/syscalls.master 5; Derived from NetBSD's sys/compat/linux/arch/powerpc/syscalls.master
6; from Linux's arch/mips/kernel/syscalls.h 6; from Linux's arch/mips/kernel/syscalls.h
7 7
8; NetBSD mips COMPAT_LINUX system call name/number "master" file. 8; NetBSD mips COMPAT_LINUX system call name/number "master" file.
9; (See syscalls.conf to see what it is processed into.) 9; (See syscalls.conf to see what it is processed into.)
10; 10;
11; Expect problems with 11; Expect problems with
12; 48 signal: undefined in Linux??? 12; 48 signal: undefined in Linux???
13; 86 uselib: needs a.out 13; 86 uselib: needs a.out
14; 14;
@@ -417,29 +417,32 @@ @@ -417,29 +417,32 @@
417 const struct linux_timespec *timeout, int *uaddr2, \ 417 const struct linux_timespec *timeout, int *uaddr2, \
418 int val3); } 418 int val3); }
419239 STD { int|linux_sys||sched_setaffinity(pid_t pid, \ 419239 STD { int|linux_sys||sched_setaffinity(pid_t pid, \
420 unsigned int len, unsigned long *mask); } 420 unsigned int len, unsigned long *mask); }
421240 STD { int|linux_sys||sched_getaffinity(pid_t pid, \ 421240 STD { int|linux_sys||sched_getaffinity(pid_t pid, \
422 unsigned int len, unsigned long *mask); } 422 unsigned int len, unsigned long *mask); }
423241 UNIMPL io_setup 423241 UNIMPL io_setup
424242 UNIMPL io_destroy 424242 UNIMPL io_destroy
425243 UNIMPL io_getevents 425243 UNIMPL io_getevents
426244 UNIMPL io_submit 426244 UNIMPL io_submit
427245 UNIMPL io_cancel 427245 UNIMPL io_cancel
428246 STD { int|linux_sys||exit_group(int error_code); } 428246 STD { int|linux_sys||exit_group(int error_code); }
429247 UNIMPL lookup_dcookie 429247 UNIMPL lookup_dcookie
430248 UNIMPL epoll_create 430248 STD { int|linux_sys||epoll_create(int size); }
431249 UNIMPL epoll_ctl 431249 STD { int|linux_sys||epoll_ctl(int epfd, int op, int fd, \
432250 UNIMPL epoll_wait 432 struct linux_epoll_event *event); }
 433250 STD { int|linux_sys||epoll_wait(int epfd, \
 434 struct linux_epoll_event *events, int maxevents, \
 435 int timeout); }
433251 UNIMPL remap_file_pages 436251 UNIMPL remap_file_pages
434252 STD { int|linux_sys||set_tid_address(int *tid); } 437252 STD { int|linux_sys||set_tid_address(int *tid); }
435253 UNIMPL restart_syscall 438253 UNIMPL restart_syscall
436254 STD { int|linux_sys||fadvise64(int fd, off_t offset, \ 439254 STD { int|linux_sys||fadvise64(int fd, off_t offset, \
437 size_t len, int advice); } 440 size_t len, int advice); }
438255 STD { int|linux_sys||statfs64(const char *path, \ 441255 STD { int|linux_sys||statfs64(const char *path, \
439 size_t sz, struct linux_statfs64 *sp); } 442 size_t sz, struct linux_statfs64 *sp); }
440256 STD { int|linux_sys||fstatfs64(int fd, \ 443256 STD { int|linux_sys||fstatfs64(int fd, \
441 size_t sz, struct linux_statfs64 *sp); } 444 size_t sz, struct linux_statfs64 *sp); }
442257 STD { int|linux_sys||timer_create(clockid_t clockid, \ 445257 STD { int|linux_sys||timer_create(clockid_t clockid, \
443 struct linux_sigevent *evp, timer_t *timerid); } 446 struct linux_sigevent *evp, timer_t *timerid); }
444258 STD { int|linux_sys||timer_settime(timer_t timerid, \ 447258 STD { int|linux_sys||timer_settime(timer_t timerid, \
445 int flags, const struct linux_itimerspec *tim, \ 448 int flags, const struct linux_itimerspec *tim, \
@@ -519,47 +522,49 @@ @@ -519,47 +522,49 @@
519307 UNIMPL vmsplice 522307 UNIMPL vmsplice
520308 UNIMPL move_pages 523308 UNIMPL move_pages
521 ; 524 ;
522 ; The NetBSD native robust list calls have different 525 ; The NetBSD native robust list calls have different
523 ; argument names / types, but they are ABI-compatible 526 ; argument names / types, but they are ABI-compatible
524 ; with Linux. 527 ; with Linux.
525 ; 528 ;
526309 NOARGS { int|sys||__futex_set_robust_list(void *head, \ 529309 NOARGS { int|sys||__futex_set_robust_list(void *head, \
527 size_t len); } 530 size_t len); }
528310 NOARGS { int|sys||__futex_get_robust_list(lwpid_t lwpid, \ 531310 NOARGS { int|sys||__futex_get_robust_list(lwpid_t lwpid, \
529 void **headp, size_t *lenp); } 532 void **headp, size_t *lenp); }
530311 UNIMPL kexec_load 533311 UNIMPL kexec_load
531312 UNIMPL getcpu 534312 UNIMPL getcpu
532313 UNIMPL epoll_pwait 535313 STD { int|linux_sys||epoll_pwait(int epfd, \
 536 struct linux_epoll_event *events, int maxevents, \
 537 int timeout, const linux_sigset_t *sigmask); }
533314 UNIMPL ioprio_set 538314 UNIMPL ioprio_set
534315 UNIMPL ioprio_get 539315 UNIMPL ioprio_get
535316 STD { int|linux_sys||utimensat(int fd, const char *path, \ 540316 STD { int|linux_sys||utimensat(int fd, const char *path, \
536 struct linux_timespec *times, int flag); } 541 struct linux_timespec *times, int flag); }
537317 UNIMPL signalfd 542317 UNIMPL signalfd
538318 UNIMPL timerfd 543318 UNIMPL timerfd
539319 STD { int|linux_sys||eventfd(unsigned int initval); } 544319 STD { int|linux_sys||eventfd(unsigned int initval); }
540320 STD { int|linux_sys||fallocate(int fd, int mode, \ 545320 STD { int|linux_sys||fallocate(int fd, int mode, \
541 off_t offset, off_t len); } 546 off_t offset, off_t len); }
542321 STD { int|linux_sys||timerfd_create(clockid_t clock_id, \ 547321 STD { int|linux_sys||timerfd_create(clockid_t clock_id, \
543 int flags); } 548 int flags); }
544322 STD { int|linux_sys||timerfd_gettime(int fd, \ 549322 STD { int|linux_sys||timerfd_gettime(int fd, \
545 struct linux_itimerspec *tim); } 550 struct linux_itimerspec *tim); }
546323 STD { int|linux_sys||timerfd_settime(int fd, int flags, \ 551323 STD { int|linux_sys||timerfd_settime(int fd, int flags, \
547 const struct linux_itimerspec *tim, \ 552 const struct linux_itimerspec *tim, \
548 struct linux_itimerspec *otim); } 553 struct linux_itimerspec *otim); }
549324 UNIMPL signalfd4 554324 UNIMPL signalfd4
550325 STD { int|linux_sys||eventfd2(unsigned int initval, \ 555325 STD { int|linux_sys||eventfd2(unsigned int initval, \
551 int flags); } 556 int flags); }
552326 UNIMPL epoll_create1 557326 STD { int|linux_sys||epoll_create1(int flags); }
553327 STD { int|linux_sys||dup3(int from, int to, int flags); } 558327 STD { int|linux_sys||dup3(int from, int to, int flags); }
554328 STD { int|linux_sys||pipe2(int *pfds, int flags); } 559328 STD { int|linux_sys||pipe2(int *pfds, int flags); }
555329 UNIMPL inotify_init1 560329 UNIMPL inotify_init1
556330 STD { int|linux_sys||preadv(int fd, \ 561330 STD { int|linux_sys||preadv(int fd, \
557 const struct iovec *iovp, int iovcnt, \ 562 const struct iovec *iovp, int iovcnt, \
558 unsigned long off_lo, unsigned long off_hi); } 563 unsigned long off_lo, unsigned long off_hi); }
559331 STD { int|linux_sys||pwritev(int fd, \ 564331 STD { int|linux_sys||pwritev(int fd, \
560 const struct iovcnt *iovp, int iovcnt, \ 565 const struct iovcnt *iovp, int iovcnt, \
561 unsigned long off_lo, unsigned long off_hi); } 566 unsigned long off_lo, unsigned long off_hi); }
562332 UNIMPL rt_tgsigqueueinfo 567332 UNIMPL rt_tgsigqueueinfo
563333 UNIMPL perf_event_open 568333 UNIMPL perf_event_open
564334 STD { int|linux_sys||accept4(int s, \ 569334 STD { int|linux_sys||accept4(int s, \
565 struct osockaddr *name, \ 570 struct osockaddr *name, \
@@ -592,14 +597,91 @@ @@ -592,14 +597,91 @@
592 unsigned int flags); } 597 unsigned int flags); }
593355 UNIMPL memfd_create 598355 UNIMPL memfd_create
594356 UNIMPL bpf 599356 UNIMPL bpf
595357 UNIMPL execveat 600357 UNIMPL execveat
596358 UNIMPL userfaultfd 601358 UNIMPL userfaultfd
597359 UNIMPL membarrier 602359 UNIMPL membarrier
598360 UNIMPL mlock2 603360 UNIMPL mlock2
599361 UNIMPL copy_file_range 604361 UNIMPL copy_file_range
600362 UNIMPL preadv2 605362 UNIMPL preadv2
601363 UNIMPL pwritev2 606363 UNIMPL pwritev2
602364 UNIMPL pkey_mprotect 607364 UNIMPL pkey_mprotect
603365 UNIMPL pkey_alloc 608365 UNIMPL pkey_alloc
604366 UNIMPL pkey_free 609366 UNIMPL pkey_free
605 610367 UNIMPL
 611368 UNIMPL
 612369 UNIMPL
 613370 UNIMPL
 614371 UNIMPL
 615372 UNIMPL
 616373 UNIMPL
 617374 UNIMPL
 618375 UNIMPL
 619376 UNIMPL
 620377 UNIMPL
 621378 UNIMPL
 622379 UNIMPL
 623380 UNIMPL
 624381 UNIMPL
 625382 UNIMPL
 626383 UNIMPL
 627384 UNIMPL
 628385 UNIMPL
 629386 UNIMPL
 630387 UNIMPL
 631388 UNIMPL
 632389 UNIMPL
 633390 UNIMPL
 634391 UNIMPL
 635392 UNIMPL
 636393 UNIMPL
 637394 UNIMPL
 638395 UNIMPL
 639396 UNIMPL
 640397 UNIMPL
 641398 UNIMPL
 642399 UNIMPL
 643400 UNIMPL
 644401 UNIMPL
 645402 UNIMPL
 646403 UNIMPL
 647404 UNIMPL
 648405 UNIMPL
 649406 UNIMPL
 650407 UNIMPL
 651408 UNIMPL
 652409 UNIMPL
 653410 UNIMPL
 654411 UNIMPL
 655412 UNIMPL
 656413 UNIMPL
 657414 UNIMPL
 658415 UNIMPL
 659416 UNIMPL
 660417 UNIMPL
 661418 UNIMPL
 662419 UNIMPL
 663420 UNIMPL
 664421 UNIMPL
 665422 UNIMPL
 666423 UNIMPL
 667424 UNIMPL
 668425 UNIMPL
 669426 UNIMPL
 670427 UNIMPL
 671428 UNIMPL
 672429 UNIMPL
 673430 UNIMPL
 674431 UNIMPL
 675432 UNIMPL
 676433 UNIMPL
 677434 UNIMPL
 678435 UNIMPL
 679436 UNIMPL
 680437 UNIMPL
 681438 UNIMPL
 682439 UNIMPL
 683440 UNIMPL
 684441 STD { int|linux_sys||epoll_pwait2(int epfd, \
 685 struct linux_epoll_event *events, int maxevents, \
 686 const struct linux_timespec *timeout, \
 687 const linux_sigset_t *sigmask); }

cvs diff -r1.80 -r1.81 src/sys/compat/linux/arch/powerpc/syscalls.master (expand / switch to unified diff)

--- src/sys/compat/linux/arch/powerpc/syscalls.master 2021/12/02 04:29:48 1.80
+++ src/sys/compat/linux/arch/powerpc/syscalls.master 2023/07/28 19:01:11 1.81
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1 $NetBSD: syscalls.master,v 1.80 2021/12/02 04:29:48 ryo Exp $  1 $NetBSD: syscalls.master,v 1.81 2023/07/28 19:01:11 christos Exp $
2 2
3; @(#)syscalls.master 8.1 (Berkeley) 7/19/93 3; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
4 4
5; Derived from NetBSD's sys/compat/linux/arch/i386/syscalls.master 5; Derived from NetBSD's sys/compat/linux/arch/i386/syscalls.master
6; sys/compat/linux/arch/m68k/syscalls.master 6; sys/compat/linux/arch/m68k/syscalls.master
7; and from Linux's arch/ppc/kernel/misc.S 7; and from Linux's arch/ppc/kernel/misc.S
8; 8;
9; We have problems for a few syscalls, specially: 9; We have problems for a few syscalls, specially:
10; 142 ppc_select -> sys_new_select -> sys_select (Conflicts with 82 ???). 10; 142 ppc_select -> sys_new_select -> sys_select (Conflicts with 82 ???).
11; 11;
12; Expect problems with the following, which have an architecture dependent 12; Expect problems with the following, which have an architecture dependent
13; implementation in Linux/powerpc: 13; implementation in Linux/powerpc:
14; 29 pause 14; 29 pause
@@ -415,29 +415,32 @@ @@ -415,29 +415,32 @@
415224 UNIMPL /* unused */ 415224 UNIMPL /* unused */
416225 UNIMPL tuxcall 416225 UNIMPL tuxcall
417226 UNIMPL sendfile64 417226 UNIMPL sendfile64
418227 UNIMPL io_setup 418227 UNIMPL io_setup
419228 UNIMPL io_destroy 419228 UNIMPL io_destroy
420229 UNIMPL io_getevents 420229 UNIMPL io_getevents
421230 UNIMPL io_submit 421230 UNIMPL io_submit
422231 UNIMPL io_cancel 422231 UNIMPL io_cancel
423232 STD { int|linux_sys||set_tid_address(int *tid); } 423232 STD { int|linux_sys||set_tid_address(int *tid); }
424233 STD { int|linux_sys||fadvise64(int fd, off_t offset, \ 424233 STD { int|linux_sys||fadvise64(int fd, off_t offset, \
425 size_t len, int advice); } 425 size_t len, int advice); }
426234 STD { int|linux_sys||exit_group(int error_code); } 426234 STD { int|linux_sys||exit_group(int error_code); }
427235 UNIMPL lookup_dcookie 427235 UNIMPL lookup_dcookie
428236 UNIMPL epoll_create 428236 STD { int|linux_sys||epoll_create(int size); }
429237 UNIMPL epoll_ctl 429237 STD { int|linux_sys||epoll_ctl(int epfd, int op, int fd, \
430238 UNIMPL epoll_wait 430 struct linux_epoll_event *event); }
 431238 STD { int|linux_sys||epoll_wait(int epfd, \
 432 struct linux_epoll_event *events, int maxevents, \
 433 int timeout); }
431239 UNIMPL remap_file_pages 434239 UNIMPL remap_file_pages
432240 STD { int|linux_sys||timer_create(clockid_t clockid, \ 435240 STD { int|linux_sys||timer_create(clockid_t clockid, \
433 struct linux_sigevent *evp, timer_t *timerid); } 436 struct linux_sigevent *evp, timer_t *timerid); }
434241 STD { int|linux_sys||timer_settime(timer_t timerid, \ 437241 STD { int|linux_sys||timer_settime(timer_t timerid, \
435 int flags, const struct linux_itimerspec *tim, \ 438 int flags, const struct linux_itimerspec *tim, \
436 struct linux_itimerspec *otim); } 439 struct linux_itimerspec *otim); }
437242 STD { int|linux_sys||timer_gettime(timer_t timerid, \ 440242 STD { int|linux_sys||timer_gettime(timer_t timerid, \
438 struct linux_itimerspec *tim); } 441 struct linux_itimerspec *tim); }
439243 NOARGS { int|sys||timer_getoverrun(timer_t timerid); } 442243 NOARGS { int|sys||timer_getoverrun(timer_t timerid); }
440244 NOARGS { int|sys||timer_delete(timer_t timerid); } 443244 NOARGS { int|sys||timer_delete(timer_t timerid); }
441245 STD { int|linux_sys||clock_settime(clockid_t which, \ 444245 STD { int|linux_sys||clock_settime(clockid_t which, \
442 struct linux_timespec *tp); } 445 struct linux_timespec *tp); }
443246 STD { int|linux_sys||clock_gettime(clockid_t which, \ 446246 STD { int|linux_sys||clock_gettime(clockid_t which, \
@@ -519,46 +522,48 @@ @@ -519,46 +522,48 @@
519298 STD { int|linux_sys||faccessat(int fd, const char *path, \ 522298 STD { int|linux_sys||faccessat(int fd, const char *path, \
520 int amode); } 523 int amode); }
521 ; 524 ;
522 ; The NetBSD native robust list calls have different 525 ; The NetBSD native robust list calls have different
523 ; argument names / types, but they are ABI-compatible 526 ; argument names / types, but they are ABI-compatible
524 ; with Linux. 527 ; with Linux.
525 ; 528 ;
526299 NOARGS { int|sys||__futex_set_robust_list(void *head, \ 529299 NOARGS { int|sys||__futex_set_robust_list(void *head, \
527 size_t len); } 530 size_t len); }
528300 NOARGS { int|sys||__futex_get_robust_list(lwpid_t lwpid, \ 531300 NOARGS { int|sys||__futex_get_robust_list(lwpid_t lwpid, \
529 void **headp, size_t *lenp); } 532 void **headp, size_t *lenp); }
530301 UNIMPL move_pages 533301 UNIMPL move_pages
531302 UNIMPL getcpu 534302 UNIMPL getcpu
532303 UNIMPL epoll_wait 535303 STD { int|linux_sys||epoll_pwait(int epfd, \
 536 struct linux_epoll_event *events, int maxevents, \
 537 int timeout, const linux_sigset_t *sigmask); }
533304 STD { int|linux_sys||utimensat(int fd, const char *path, \ 538304 STD { int|linux_sys||utimensat(int fd, const char *path, \
534 struct linux_timespec *times, int flag); } 539 struct linux_timespec *times, int flag); }
535305 UNIMPL signalfd 540305 UNIMPL signalfd
536306 STD { int|linux_sys||timerfd_create(clockid_t clock_id, \ 541306 STD { int|linux_sys||timerfd_create(clockid_t clock_id, \
537 int flags); } 542 int flags); }
538307 STD { int|linux_sys||eventfd(unsigned int initval); } 543307 STD { int|linux_sys||eventfd(unsigned int initval); }
539308 UNIMPL sync_file_range2 544308 UNIMPL sync_file_range2
540309 STD { int|linux_sys||fallocate(int fd, int mode, \ 545309 STD { int|linux_sys||fallocate(int fd, int mode, \
541 off_t offset, off_t len); } 546 off_t offset, off_t len); }
542310 UNIMPL subpage_prot 547310 UNIMPL subpage_prot
543311 STD { int|linux_sys||timerfd_settime(int fd, int flags, \ 548311 STD { int|linux_sys||timerfd_settime(int fd, int flags, \
544 const struct linux_itimerspec *tim, \ 549 const struct linux_itimerspec *tim, \
545 struct linux_itimerspec *otim); } 550 struct linux_itimerspec *otim); }
546312 STD { int|linux_sys||timerfd_gettime(int fd, \ 551312 STD { int|linux_sys||timerfd_gettime(int fd, \
547 struct linux_itimerspec *tim); } 552 struct linux_itimerspec *tim); }
548313 UNIMPL signalfd4 553313 UNIMPL signalfd4
549314 STD { int|linux_sys||eventfd2(unsigned int initval, \ 554314 STD { int|linux_sys||eventfd2(unsigned int initval, \
550 int flags); } 555 int flags); }
551315 UNIMPL epoll_create1 556315 STD { int|linux_sys||epoll_create1(int flags); }
552316 STD { int|linux_sys||dup3(int from, int to, int flags); } 557316 STD { int|linux_sys||dup3(int from, int to, int flags); }
553317 STD { int|linux_sys||pipe2(int *pfds, int flags); } 558317 STD { int|linux_sys||pipe2(int *pfds, int flags); }
554318 UNIMPL inotify_init1 559318 UNIMPL inotify_init1
555319 UNIMPL perf_event_open 560319 UNIMPL perf_event_open
556320 STD { int|linux_sys||preadv(int fd, \ 561320 STD { int|linux_sys||preadv(int fd, \
557 const struct iovec *iovp, int iovcnt, \ 562 const struct iovec *iovp, int iovcnt, \
558 unsigned long off_lo, unsigned long off_hi); } 563 unsigned long off_lo, unsigned long off_hi); }
559321 STD { int|linux_sys||pwritev(int fd, \ 564321 STD { int|linux_sys||pwritev(int fd, \
560 const struct iovcnt *iovp, int iovcnt, \ 565 const struct iovcnt *iovp, int iovcnt, \
561 unsigned long off_lo, unsigned long off_hi); } 566 unsigned long off_lo, unsigned long off_hi); }
562322 UNIMPL rt_tgsigqueueinfo 567322 UNIMPL rt_tgsigqueueinfo
563323 UNIMPL fanotify_init 568323 UNIMPL fanotify_init
564324 UNIMPL fanotify_mark 569324 UNIMPL fanotify_mark
@@ -618,13 +623,75 @@ @@ -618,13 +623,75 @@
618370 UNIMPL 623370 UNIMPL
619371 UNIMPL 624371 UNIMPL
620372 UNIMPL 625372 UNIMPL
621373 UNIMPL 626373 UNIMPL
622374 UNIMPL 627374 UNIMPL
623375 UNIMPL 628375 UNIMPL
624376 UNIMPL 629376 UNIMPL
625377 UNIMPL 630377 UNIMPL
626378 UNIMPL mlock2 631378 UNIMPL mlock2
627379 UNIMPL copy_file_range 632379 UNIMPL copy_file_range
628380 UNIMPL preadv2 633380 UNIMPL preadv2
629381 UNIMPL pwritev2 634381 UNIMPL pwritev2
630382 UNIMPL kexec_file_load 635382 UNIMPL kexec_file_load
 636383 UNIMPL
 637384 UNIMPL
 638385 UNIMPL
 639386 UNIMPL
 640387 UNIMPL
 641388 UNIMPL
 642389 UNIMPL
 643390 UNIMPL
 644391 UNIMPL
 645392 UNIMPL
 646393 UNIMPL
 647394 UNIMPL
 648395 UNIMPL
 649396 UNIMPL
 650397 UNIMPL
 651398 UNIMPL
 652399 UNIMPL
 653400 UNIMPL
 654401 UNIMPL
 655402 UNIMPL
 656403 UNIMPL
 657404 UNIMPL
 658405 UNIMPL
 659406 UNIMPL
 660407 UNIMPL
 661408 UNIMPL
 662409 UNIMPL
 663410 UNIMPL
 664411 UNIMPL
 665412 UNIMPL
 666413 UNIMPL
 667414 UNIMPL
 668415 UNIMPL
 669416 UNIMPL
 670417 UNIMPL
 671418 UNIMPL
 672419 UNIMPL
 673420 UNIMPL
 674421 UNIMPL
 675422 UNIMPL
 676423 UNIMPL
 677424 UNIMPL
 678425 UNIMPL
 679426 UNIMPL
 680427 UNIMPL
 681428 UNIMPL
 682429 UNIMPL
 683430 UNIMPL
 684431 UNIMPL
 685432 UNIMPL
 686433 UNIMPL
 687434 UNIMPL
 688435 UNIMPL
 689436 UNIMPL
 690437 UNIMPL
 691438 UNIMPL
 692439 UNIMPL
 693440 UNIMPL
 694441 STD { int|linux_sys||epoll_pwait2(int epfd, \
 695 struct linux_epoll_event *events, int maxevents, \
 696 const struct linux_timespec *timeout, \
 697 const linux_sigset_t *sigmask); }