xref: /freebsd/sys/arm64/linux/syscalls.master (revision 6be3386466ab79a84b48429ae66244f21526d3df)
1 $FreeBSD$
2
3; Linux ABI system call generic name/number map, based on Linux file
4; include/uapi/asm-generic/unistd.h
5
6#include <sys/param.h>
7#include <sys/sysent.h>
8#include <sys/sysproto.h>
9#include <compat/linux/linux_sysproto.h>
10#include <arm64/linux/linux.h>
11#include <arm64/linux/linux_proto.h>
12
13; Isn't pretty, but there seems to be no other way to trap nosys
14#define	nosys	linux_nosys
15
160	AUE_NULL	UNIMPL	linux_io_setup
171	AUE_NULL	UNIMPL	linux_io_destroy
182	AUE_NULL	UNIMPL	linux_io_submit
193	AUE_NULL	UNIMPL	linux_io_cancel
204	AUE_NULL	UNIMPL	linux_io_getevents
215	AUE_NULL	STD	{
22		int linux_setxattr(
23		    const char *path,
24		    const char *name,
25		    const char *value,
26		    l_size_t size,
27		    l_int flags
28		);
29	}
306	AUE_NULL	STD	{
31		int linux_lsetxattr(
32		    const char *path,
33		    const char *name,
34		    const char *value,
35		    l_size_t size,
36		    l_int flags
37		);
38	}
397	AUE_NULL	STD	{
40		int linux_fsetxattr(
41		    l_int fd,
42		    const char *name,
43		    const char *value,
44		    l_size_t size,
45		    l_int flags
46		);
47	}
488	AUE_NULL	STD	{
49		int linux_getxattr(
50		    const char *path,
51		    const char *name,
52		    char *value,
53		    l_size_t size
54		);
55	}
569	AUE_NULL	STD	{
57		int linux_lgetxattr(
58		    const char *path,
59		    const char *name,
60		    char *value,
61		    l_size_t size
62		);
63	}
6410	AUE_NULL	STD	{
65		int linux_fgetxattr(
66		    l_int fd,
67		    const char *name,
68		    char *value,
69		    l_size_t size
70		);
71	}
7211	AUE_NULL	STD	{
73		int linux_listxattr(
74		    const char *path,
75		    const char *list,
76		    l_size_t size
77		);
78	}
7912	AUE_NULL	STD	{
80		int linux_llistxattr(
81		    const char *path,
82		    const char *list,
83		    l_size_t size
84		);
85	}
8613	AUE_NULL	STD	{
87		int linux_flistxattr(
88		    l_int fd,
89		    const char *list,
90		    l_size_t size
91		);
92	}
9314	AUE_NULL	STD	{
94		int linux_removexattr(
95		    const char *path,
96		    const char *name
97		);
98	}
9915	AUE_NULL	STD	{
100		int linux_lremovexattr(
101		    const char *path,
102		    const char *name
103		);
104	}
10516	AUE_NULL	STD	{
106		int linux_fremovexattr(
107		    l_int fd,
108		    const char *name
109		);
110	}
11117	AUE_GETCWD	STD	{
112		int linux_getcwd(
113		    char *buf,
114		    l_ulong bufsize
115		);
116	}
11718	AUE_NULL	STD	{
118		 int linux_lookup_dcookie(void);
119	}
12019	AUE_NULL	STD	{
121		int linux_eventfd2(
122		    l_uint initval,
123		    l_int flags
124		);
125	}
12620	AUE_NULL	STD	{
127		int linux_epoll_create1(
128		    l_int flags
129		);
130	}
13121	AUE_NULL	STD	{
132		int linux_epoll_ctl(
133		    l_int epfd,
134		    l_int op,
135		    l_int fd,
136		    struct epoll_event *event
137		);
138	}
13922	AUE_NULL	STD     {
140		int linux_epoll_pwait(
141		    l_int epfd,
142		    struct epoll_event *events,
143		    l_int maxevents,
144		    l_int timeout,
145		    l_sigset_t *mask,
146		    l_size_t sigsetsize
147		);
148	}
14923	AUE_DUP		NOPROTO	{
150		int dup(
151		    u_int fd);
152	}
15324	AUE_NULL	STD	{
154		int linux_dup3(
155		    l_int oldfd,
156		    l_int newfd,
157		    l_int flags
158		);
159	}
16025	AUE_FCNTL	STD	{
161		int linux_fcntl(
162		    l_uint fd,
163		    l_uint cmd,
164		    l_ulong arg
165		);
166	}
16726	AUE_NULL	STD	{
168		int linux_inotify_init1(
169		    l_int flags
170		);
171	}
17227	AUE_NULL	STD	{
173		int linux_inotify_add_watch(void);
174	}
17528	AUE_NULL	STD	{
176		int linux_inotify_rm_watch(void);
177	}
17829	AUE_IOCTL	STD	{
179		int linux_ioctl(
180		    l_uint fd,
181		    l_uint cmd,
182		    l_ulong arg
183		);
184	}
18530	AUE_NULL	STD	{
186		int linux_ioprio_set(void);
187	}
18831	AUE_NULL	STD	{
189		int linux_ioprio_get(void);
190	}
19132	AUE_FLOCK	NOPROTO	{
192		int flock(
193		    int fd,
194		    int how
195		);
196	}
19733	AUE_MKNODAT	STD	{
198		int linux_mknodat(
199		    l_int dfd,
200		    const char *filename,
201		    l_int mode,
202		    l_uint dev
203		);
204	}
20534	AUE_MKDIRAT	STD	{
206		int linux_mkdirat(
207		    l_int dfd,
208		    const char *pathname,
209		    l_mode_t mode
210		);
211	}
21235	AUE_UNLINKAT	STD	{
213		int linux_unlinkat(
214		    l_int dfd,
215		    const char *pathname,
216		    l_int flag
217		);
218	}
21936	AUE_SYMLINKAT	STD	{
220		int linux_symlinkat(
221		    const char *oldname,
222		    l_int newdfd,
223		    const char *newname
224		);
225	}
22637	AUE_LINKAT	STD	{
227		int linux_linkat(
228		    l_int olddfd,
229		    const char *oldname,
230		    l_int newdfd,
231		    const char *newname,
232		    l_int flag
233		);
234	}
23538	AUE_RENAMEAT	STD	{
236		int linux_renameat(
237		    l_int olddfd,
238		    const char *oldname,
239		    l_int newdfd,
240		    const char *newname
241		);
242	}
24339	AUE_NULL	UNIMPL	linux_umount2
24440	AUE_MOUNT	STD	{
245		int linux_mount(
246		    char *specialfile,
247		    char *dir,
248		    char *filesystemtype,
249		    l_ulong rwflag,
250		    void *data
251		);
252	}
25341	AUE_PIVOT_ROOT	STD	{
254		int linux_pivot_root(void);
255	}
25642	AUE_NULL	UNIMPL	nfsservctl
25743	AUE_STATFS	STD	{
258		int linux_statfs(
259		    char *path,
260		    struct l_statfs_buf *buf
261		);
262	}
26344	AUE_FSTATFS	STD	{
264		int linux_fstatfs(
265		    l_uint fd,
266		    struct l_statfs_buf *buf
267		);
268	}
26945	AUE_TRUNCATE	STD	{
270		int linux_truncate(
271		    char *path,
272		    l_ulong length
273		);
274	}
27546	AUE_FTRUNCATE	STD	{
276		int linux_ftruncate(
277		    l_int fd,
278		    l_long length
279		);
280	}
28147	AUE_NULL	STD	{
282		int linux_fallocate(
283		    l_int fd,
284		    l_int mode,
285		    l_loff_t offset,
286		    l_loff_t len
287		);
288	}
28948	AUE_FACCESSAT	STD	{
290		int linux_faccessat(
291		    l_int dfd,
292		    const char *filename,
293		    l_int amode
294		);
295	}
29649	AUE_CHDIR	STD	{
297		int linux_chdir(
298		    char *path
299		);
300	}
30150	AUE_FCHDIR	NOPROTO	{
302		int fchdir(
303		    int fd);
304	}
30551	AUE_CHROOT	NOPROTO	{
306		int chroot(
307		    char *path
308		);
309	}
31052	AUE_FCHMOD	NOPROTO	{
311		int fchmod(
312		    int fd,
313		    int mode
314		);
315	}
31653	AUE_FCHMODAT	STD	{
317		int linux_fchmodat(
318		    l_int dfd,
319		    const char *filename,
320		    l_mode_t mode
321		);
322	}
32354	AUE_FCHOWNAT	STD	{
324		int linux_fchownat(
325		    l_int dfd,
326		    const char *filename,
327		    l_uid_t uid,
328		    l_gid_t gid,
329		    l_int flag
330		);
331	}
33255	AUE_FCHOWN	NOPROTO	{
333		int fchown(
334		    int fd,
335		    int uid,
336		    int gid);
337	}
33856	AUE_OPEN_RWTC	STD	{
339		int linux_openat(
340		    l_int dfd,
341		    const char *filename,
342		    l_int flags,
343		    l_mode_t mode
344		);
345	}
34657	AUE_CLOSE	NOPROTO	{
347		int close(
348		    int fd);
349	}
35058	AUE_NULL	STD	{
351		int linux_vhangup(void);
352	}
35359	AUE_NULL	STD	{
354		int linux_pipe2(
355		    l_int *pipefds,
356		    l_int flags
357		);
358	}
35960	AUE_NULL	UNIMPL	linux_quotactl
36061	AUE_GETDIRENTRIES	STD {
361		int linux_getdents64(
362		    l_uint fd,
363		    void *dirent,
364		    l_uint count
365		);
366	}
36762	AUE_LSEEK	STD	{
368		int linux_lseek(
369		    l_uint fdes,
370		    l_off_t off,
371		    l_int whence
372		);
373	}
37463	AUE_NULL	NOPROTO	{
375		int read(
376		    int fd,
377		    char *buf,
378		    l_size_t nbyte
379		);
380	}
38164	AUE_NULL	NOPROTO {
382		int write(
383		    int fd,
384		    char *buf,
385		    l_size_t nbyte
386		);
387	}
38865	AUE_READV	NOPROTO	{
389		int readv(
390		    int fd,
391		    struct iovec *iovp,
392		    u_int iovcnt
393		);
394	}
39566	AUE_WRITEV	NOPROTO	{
396		int writev(
397		    int fd,
398		    struct iovec *iovp,
399		    u_int iovcnt
400		);
401	}
40267	AUE_PREAD	STD	{
403		int linux_pread(
404		    l_uint fd,
405		    char *buf,
406		    l_size_t nbyte,
407		    l_loff_t offset
408		);
409	}
41068	AUE_PWRITE	STD	{
411		int linux_pwrite(
412		    l_uint fd,
413		    char *buf,
414		    l_size_t nbyte,
415		    l_loff_t offset
416		);
417	}
41869	AUE_NULL	STD	{
419		int linux_preadv(
420		    l_ulong fd,
421		    struct iovec *vec,
422		    l_ulong vlen,
423		    l_ulong pos_l,
424		    l_ulong pos_h
425		);
426	}
42770	AUE_NULL	STD	{
428		int linux_pwritev(
429		    l_ulong fd,
430		    struct iovec *vec,
431		    l_ulong vlen,
432		    l_ulong pos_l,
433		    l_ulong pos_h
434		);
435	}
43671	AUE_SENDFILE	STD	{
437		int linux_sendfile(
438		    l_int out,
439		    l_int in,
440		    l_off_t *offset,
441		    l_size_t count
442		);
443	}
44472	AUE_SELECT	STD	{
445		int linux_pselect6(
446		    l_int nfds,
447		    l_fd_set *readfds,
448		    l_fd_set *writefds,
449		    l_fd_set *exceptfds,
450		    struct l_timespec *tsp,
451		    l_uintptr_t *sig
452		);
453	}
45473	AUE_POLL	STD	{
455		int linux_ppoll(
456		    struct pollfd *fds,
457		    l_uint nfds,
458		    struct l_timespec *tsp,
459		    l_sigset_t *sset,
460		    l_size_t ssize
461		);
462	}
46374	AUE_NULL	STD	{
464		int linux_signalfd4(void);
465	}
46675	AUE_NULL	STD	{
467		int linux_vmsplice(void);
468	}
46976	AUE_NULL	STD	{
470		int linux_splice(
471		    int fd_in,
472		    l_loff_t *off_in,
473		    int fd_out,
474		    l_loff_t *off_out,
475		    l_size_t len,
476		    l_uint flags
477		);
478	}
47977	AUE_NULL	STD	{
480		int linux_tee(void);
481	}
48278	AUE_READLINKAT	STD	{
483		int linux_readlinkat(
484		    l_int dfd,
485		    const char *path,
486		    char *buf,
487		    l_int bufsiz
488		);
489	}
49079	AUE_FSTATAT	STD	{
491		int linux_newfstatat(
492		    l_int dfd,
493		    char *pathname,
494		    struct l_stat64 *statbuf,
495		    l_int flag
496		);
497	}
49880	AUE_FSTAT	STD	{
499		int linux_newfstat(
500		    l_uint fd,
501		    struct l_newstat *buf
502		);
503	}
50481	AUE_NULL	UNIMPL	linux_sync
50582	AUE_FSYNC	NOPROTO	{
506		int fsync(
507		    int fd);
508	}
50983	AUE_NULL	STD	{
510		int linux_fdatasync(
511		    l_uint fd);
512	}
51384	AUE_NULL	STD	{
514		int linux_sync_file_range(
515		    l_int fd,
516		    l_loff_t offset,
517		    l_loff_t nbytes,
518		    l_uint flags
519		);
520	}
52185	AUE_NULL	STD	{
522		int linux_timerfd_create(
523		    l_int clockid,
524		    l_int flags
525		);
526	}
52786	AUE_NULL	STD	{
528		int linux_timerfd_settime(
529		    l_int fd,
530		    l_int flags,
531		    const struct l_itimerspec *new_value,
532		    struct l_itimerspec *old_value
533		);
534	}
53587	AUE_NULL	STD	{
536		int linux_timerfd_gettime(
537		    l_int fd,
538		    struct l_itimerspec *old_value
539		);
540	}
54188	AUE_FUTIMESAT	STD	{
542		int linux_utimensat(
543		    l_int dfd,
544		    const char *pathname,
545		    const struct l_timespec *times,
546		    l_int flags
547		);
548	}
54989	AUE_ACCT	NOPROTO	{
550		int acct(
551		    char *path
552		);
553	}
55490	AUE_CAPGET	STD	{
555		int linux_capget(
556		    struct l_user_cap_header *hdrp,
557		    struct l_user_cap_data *datap
558		);
559	}
56091	AUE_CAPSET	STD	{
561		int linux_capset(
562		    struct l_user_cap_header *hdrp,
563		    struct l_user_cap_data *datap
564		);
565	}
56692	AUE_PERSONALITY	STD	{
567		int linux_personality(
568		    l_uint per
569		);
570	}
57193	AUE_EXIT	STD	{
572		int linux_exit(
573		    u_int rval
574		);
575	}
57694	AUE_EXIT	STD	{
577		int linux_exit_group(
578		    l_int error_code
579		);
580	}
58195	AUE_WAIT6	STD	{
582		int linux_waitid(
583		    l_int idtype,
584		    l_pid_t id,
585		    l_siginfo_t *info,
586		    l_int options,
587		    struct rusage *rusage
588		);
589	}
59096	AUE_NULL	STD	{
591		int linux_set_tid_address(
592		    l_int *tidptr
593		);
594	}
59597	AUE_NULL	STD	{
596		int linux_unshare(void);
597	}
59898	AUE_NULL	STD	{
599		int linux_sys_futex(void *uaddr,
600		    int op,
601		    int val,
602		    struct l_timespec *timeout,
603		    void *uaddr2,
604		    int val3
605		);
606	}
60799	AUE_NULL	STD	{
608		int linux_set_robust_list(
609		    struct linux_robust_list_head *head,
610		    l_size_t len
611		);
612	}
613100	AUE_NULL	STD	{
614		int linux_get_robust_list(
615		    l_int pid,
616		    struct linux_robust_list_head **head,
617		    l_size_t *len
618		);
619	}
620101	AUE_NULL	STD	{
621		int linux_nanosleep(
622		    const struct l_timespec *rqtp,
623		    struct l_timespec *rmtp
624		);
625	}
626102	AUE_GETITIMER	STD	{
627		int linux_getitimer(
628		    l_int which,
629		    struct l_itimerval *itv
630		);
631	}
632103	AUE_SETITIMER	STD	{
633		int linux_setitimer(
634		    l_int which,
635		    struct l_itimerval *itv,
636		    struct l_itimerval *oitv
637		);
638	}
639104	AUE_NULL	STD	{
640		int linux_kexec_load(void);
641	}
642105	AUE_NULL	STD	{
643		int linux_init_module(void);
644	}
645106	AUE_NULL	STD	{
646		int linux_delete_module(void);
647	}
648107	AUE_NULL	STD	{
649		int linux_timer_create(
650		    clockid_t clock_id,
651		    struct sigevent *evp,
652		    l_timer_t *timerid);
653	}
654108	AUE_NULL	STD	{
655		int linux_timer_gettime(
656		    l_timer_t timerid,
657		    struct itimerspec *setting
658		);
659	}
660109	AUE_NULL	STD	{
661		int linux_timer_getoverrun(
662		    l_timer_t timerid);
663	}
664110	AUE_NULL	STD	{
665		int linux_timer_settime(
666		    l_timer_t timerid,
667		    l_int flags,
668		    const struct itimerspec *new,
669		    struct itimerspec *old);
670	}
671111	AUE_NULL	STD	{
672		int linux_timer_delete(
673		    l_timer_t timerid);
674	}
675112	AUE_CLOCK_SETTIME	STD	{
676		int linux_clock_settime(
677		    clockid_t which,
678		    struct l_timespec *tp
679		);
680	}
681113	AUE_NULL	STD	{
682		int linux_clock_gettime(
683		    clockid_t which,
684		    struct l_timespec *tp
685		);
686	}
687114	AUE_NULL	STD	{
688		int linux_clock_getres(
689		    clockid_t which,
690		    struct l_timespec *tp
691		);
692	}
693115	AUE_NULL	STD	{
694		int linux_clock_nanosleep(
695		    clockid_t which,
696		    l_int flags,
697		    struct l_timespec *rqtp,
698		    struct l_timespec *rmtp
699		);
700	}
701116	AUE_NULL	STD	{
702		int linux_syslog(
703		    l_int type,
704		    char *buf,
705		    l_int len
706		);
707	}
708117	AUE_PTRACE	STD	{
709		int linux_ptrace(
710		    l_long req,
711		    l_long pid,
712		    l_ulong addr,
713		    l_ulong data
714		);
715	}
716118	AUE_SCHED_SETPARAM	STD	{
717		int linux_sched_setparam(
718		    l_pid_t pid,
719		    struct sched_param *param
720		);
721	}
722119	AUE_SCHED_SETSCHEDULER	STD {
723		int linux_sched_setscheduler(
724		    l_pid_t pid,
725		    l_int policy,
726		    struct sched_param *param
727		);
728	}
729120	AUE_SCHED_GETSCHEDULER	STD {
730		int linux_sched_getscheduler(
731		    l_pid_t pid);
732	}
733121	AUE_SCHED_GETPARAM	STD	{
734		int linux_sched_getparam(
735		    l_pid_t pid,
736		    struct sched_param *param
737		);
738	}
739122	AUE_NULL	STD	{
740		int linux_sched_setaffinity(
741		    l_pid_t pid,
742		    l_uint len,
743		    l_ulong *user_mask_ptr
744		);
745	}
746123	AUE_NULL	STD	{
747		int linux_sched_getaffinity(
748		    l_pid_t pid,
749		    l_uint len,
750		    l_ulong *user_mask_ptr
751		);
752	}
753124	AUE_NULL	NOPROTO	{
754		int sched_yield(void);
755	}
756125	AUE_SCHED_GET_PRIORITY_MAX	STD {
757		int linux_sched_get_priority_max(
758		    \
759		    l_int policy
760		);
761	}
762126	AUE_SCHED_GET_PRIORITY_MIN	STD {
763		int linux_sched_get_priority_min(
764		    \
765		    l_int policy
766		);
767	}
768127	AUE_SCHED_RR_GET_INTERVAL	STD {
769		int linux_sched_rr_get_interval(
770		    l_pid_t pid,
771		    struct l_timespec *interval
772		);
773	}
774128	AUE_NULL	UNIMPL	restart_syscall
775129	AUE_KILL	STD	{
776		int linux_kill(
777		    l_pid_t pid,
778		    l_int signum
779		);
780	}
781130	AUE_NULL	STD	{
782		int linux_tkill(
783		    l_pid_t tid,
784		    l_int sig
785		);
786	}
787131	AUE_NULL	STD	{
788		int linux_tgkill(
789		    l_pid_t tgid,
790		    l_pid_t pid,
791		    l_int sig
792		);
793	}
794132	AUE_NULL	STD	{
795		int linux_sigaltstack(
796		    l_stack_t *uss,
797		    l_stack_t *uoss
798		);
799	}
800133	AUE_NULL	STD	{
801		int linux_rt_sigsuspend(
802		    l_sigset_t *newset,
803		    l_size_t sigsetsize
804		);
805	}
806134	AUE_NULL	STD	{
807		int linux_rt_sigaction(
808		    l_int sig,
809		    l_sigaction_t *act,
810		    l_sigaction_t *oact,
811		    l_size_t sigsetsize
812		);
813	}
814135	AUE_NULL	STD	{
815		int linux_rt_sigprocmask(
816		    l_int how,
817		    l_sigset_t *mask,
818		    l_sigset_t *omask,
819		    l_size_t sigsetsize
820		);
821	}
822136	AUE_NULL	STD	{
823		int linux_rt_sigpending(
824		    l_sigset_t *set,
825		    l_size_t sigsetsize
826		);
827	}
828137	AUE_NULL	STD	{
829		int linux_rt_sigtimedwait(
830		    l_sigset_t *mask,
831		    l_siginfo_t *ptr,
832		    struct l_timeval *timeout,
833		    l_size_t sigsetsize
834		);
835	}
836138	AUE_NULL	STD	{
837		int linux_rt_sigqueueinfo(
838		    l_pid_t pid,
839		    l_int sig,
840		    l_siginfo_t *info
841		);
842	}
843139	AUE_NULL	STD	{
844		int linux_rt_sigreturn(
845		    struct l_ucontext *ucp
846		);
847	}
848140	AUE_SETPRIORITY	NOPROTO	{
849		int setpriority(
850		    int which,
851		    int who,
852		    int prio
853		);
854	}
855141	AUE_GETPRIORITY	STD	{
856		int linux_getpriority(
857		    l_int which,
858		    l_int who
859		);
860	}
861142	AUE_REBOOT	STD	{
862		int linux_reboot(
863		    l_int magic1,
864		    l_int magic2,
865		    l_uint cmd,
866		    void *arg
867		);
868	}
869143	AUE_SETREGID	NOPROTO	{
870		int setregid(
871		    gid_t rgid,
872		    gid_t egid);
873	}
874144	AUE_SETGID	NOPROTO	{
875		int setgid(
876		    gid_t gid);
877	}
878145	AUE_SETREUID	NOPROTO	{
879		int setreuid(
880		    uid_t ruid,
881		    uid_t euid);
882	}
883146	AUE_SETUID	NOPROTO	{
884		int setuid(
885		    uid_t uid);
886	}
887147	AUE_SETRESUID	NOPROTO	{
888		int setresuid(
889		    uid_t ruid,
890		    uid_t euid,
891		    uid_t suid);
892	}
893148	AUE_GETRESUID	NOPROTO	{
894		int getresuid(
895		    uid_t *ruid,
896		    uid_t *euid,
897		    uid_t *suid);
898	}
899149	AUE_SETRESGID	NOPROTO	{
900		int setresgid(
901		    gid_t rgid,
902		    gid_t egid,
903		    gid_t sgid);
904	}
905150	AUE_GETRESGID	NOPROTO	{
906		int getresgid(
907		    gid_t *rgid,
908		    gid_t *egid,
909		    gid_t *sgid);
910	}
911151	AUE_SETFSUID	STD	{
912		int linux_setfsuid(
913		    l_uid_t uid);
914	}
915152	AUE_SETFSGID	STD	{
916		int linux_setfsgid(
917		    l_gid_t gid);
918	}
919153	AUE_NULL	STD	{
920		int linux_times(
921		    struct l_times_argv *buf
922		);
923	}
924154	AUE_SETPGRP	NOPROTO	{
925		int setpgid(
926		    int pid,
927		    int pgid);
928	}
929155	AUE_GETPGID	NOPROTO	{
930		int getpgid(
931		    int pid);
932	}
933156	AUE_GETSID	STD	{
934		int linux_getsid(
935		    l_pid_t pid);
936	}
937157	AUE_SETSID	NOPROTO	{
938		int setsid(void);
939	}
940158	AUE_GETGROUPS	STD	{
941		int linux_getgroups(
942		    l_int gidsetsize,
943		    l_gid_t *grouplist
944		);
945	}
946159	AUE_SETGROUPS	STD	{
947		int linux_setgroups(
948		    l_int gidsetsize,
949		    l_gid_t *grouplist
950		);
951	}
952160	AUE_NULL	STD	{
953		int linux_newuname(
954		    struct l_new_utsname *buf
955		);
956	}
957161	AUE_SYSCTL	STD	{
958		int linux_sethostname(
959		    char *hostname,
960		    l_uint len
961		);
962	}
963162	AUE_SYSCTL	STD	{
964		int linux_setdomainname(
965		    char *name,
966		    l_int len
967		);
968	}
969163	AUE_GETRLIMIT	STD	{
970		int linux_getrlimit(
971		    l_uint resource,
972		    struct l_rlimit *rlim
973		);
974	}
975164	AUE_SETRLIMIT	STD	{
976		int linux_setrlimit(
977		    l_uint resource,
978		    struct l_rlimit *rlim
979		);
980	}
981165	AUE_GETRUSAGE	NOPROTO	{
982		int getrusage(
983		    int who,
984		    struct rusage *rusage
985		);
986	}
987166	AUE_UMASK	NOPROTO	{
988		int umask(
989		    int newmask
990		);
991	}
992167	AUE_PRCTL	STD	{
993		int linux_prctl(
994		    l_int option,
995		    l_uintptr_t arg2,
996		    l_uintptr_t arg3,
997		    l_uintptr_t arg4,
998		    l_uintptr_t arg5
999		);
1000	}
1001168	AUE_NULL	STD	{
1002		int linux_getcpu(
1003		    l_uint *cpu,
1004		    l_uint *node,
1005		    void *cache
1006		);
1007	}
1008169	AUE_NULL	NOPROTO	{
1009		int gettimeofday(
1010		    struct l_timeval *tp,
1011		    struct timezone *tzp
1012		);
1013	}
1014170	AUE_SETTIMEOFDAY	NOPROTO	{
1015		int settimeofday(
1016		    struct l_timeval *tv,
1017		    struct timezone *tzp
1018		);
1019	}
1020171	AUE_ADJTIME	STD	{
1021		int linux_adjtimex(void);
1022	}
1023172	AUE_GETPID	STD	{
1024		int linux_getpid(void);
1025	}
1026173	AUE_GETPPID	STD	{
1027		int linux_getppid(void);
1028	}
1029174	AUE_GETUID	STD	{
1030		int linux_getuid(void);
1031	}
1032175	AUE_GETEUID	NOPROTO	{
1033		int geteuid(void);
1034	}
1035176	AUE_GETGID	STD	{
1036		int linux_getgid(void);
1037	}
1038177	AUE_GETEGID	NOPROTO	{
1039		int getegid(void);
1040	}
1041178	AUE_NULL	STD	{
1042		int linux_gettid(void);
1043	}
1044179	AUE_NULL	STD	{
1045		int linux_sysinfo(
1046		    struct l_sysinfo *info
1047		);
1048	}
1049180	AUE_NULL	STD	{
1050		int linux_mq_open(
1051		    const char *name,
1052		    l_int oflag,
1053		    l_mode_t mode,
1054		    struct mq_attr *attr
1055		);
1056	}
1057181	AUE_NULL	STD	{
1058		int linux_mq_unlink(
1059		    const char *name
1060		);
1061	}
1062182	AUE_NULL	STD	{
1063		int linux_mq_timedsend(
1064		    l_mqd_t mqd,
1065		    const char *msg_ptr,
1066		    l_size_t msg_len,
1067		    l_uint msg_prio,
1068		    const struct l_timespec *abs_timeout
1069		);
1070	}
1071183	AUE_NULL	STD	{
1072		int linux_mq_timedreceive(
1073		    l_mqd_t mqd,
1074		    char *msg_ptr,
1075		    l_size_t msg_len,
1076		    l_uint *msg_prio,
1077		    const struct l_timespec *abs_timeout
1078		);
1079	}
1080184	AUE_NULL	STD	{
1081		int linux_mq_notify(
1082		    l_mqd_t mqd,
1083		    const struct l_timespec *abs_timeout
1084		);
1085	}
1086185	AUE_NULL	STD	{
1087		int linux_mq_getsetattr(
1088		    l_mqd_t mqd,
1089		    const struct mq_attr *attr,
1090		    struct mq_attr *oattr
1091		);
1092	}
1093186	AUE_NULL	STD	{
1094		int linux_msgget(
1095		    l_key_t key,
1096		    l_int msgflg
1097		);
1098	}
1099187	AUE_NULL	STD	{
1100		int linux_msgctl(
1101		    l_int msqid,
1102		    l_int cmd,
1103		    struct l_msqid_ds *buf
1104		);
1105	}
1106188	AUE_NULL	STD	{
1107		int linux_msgrcv(
1108		    l_int msqid,
1109		    struct l_msgbuf *msgp,
1110		    l_size_t msgsz,
1111		    l_long msgtyp,
1112		    l_int msgflg
1113		);
1114	}
1115189	AUE_NULL	STD	{
1116		int linux_msgsnd(
1117		    l_int msqid,
1118		    struct l_msgbuf *msgp,
1119		    l_size_t msgsz,
1120		    l_int msgflg
1121		);
1122	}
1123190	AUE_NULL	STD	{
1124		int linux_semget(
1125		    l_key_t key,
1126		    l_int nsems,
1127		    l_int semflg
1128		);
1129	}
1130191	AUE_NULL	STD	{
1131		int linux_semctl(
1132		    l_int semid,
1133		    l_int semnum,
1134		    l_int cmd,
1135		    union l_semun arg
1136		);
1137	}
1138192	AUE_NULL	STD	{
1139		int linux_semtimedop(void);
1140	}
1141193	AUE_NULL	STD	{
1142		int linux_semop(
1143		    l_int semid,
1144		    struct l_sembuf *tsops,
1145		    l_uint nsops
1146		);
1147	}
1148194	AUE_NULL	STD	{
1149		int linux_shmget(
1150		    l_key_t key,
1151		    l_size_t size,
1152		    l_int shmflg
1153		);
1154	}
1155195	AUE_NULL	STD	{
1156		int linux_shmctl(
1157		    l_int shmid,
1158		    l_int cmd,
1159		    struct l_shmid_ds *buf
1160		);
1161	}
1162196	AUE_NULL	STD	{
1163		int linux_shmat(
1164		    l_int shmid,
1165		    char *shmaddr,
1166		    l_int shmflg
1167		);
1168	}
1169197	AUE_NULL	STD	{
1170		int linux_shmdt(
1171		    char *shmaddr
1172		);
1173	}
1174198	AUE_SOCKET	STD	{
1175		int linux_socket(
1176		    l_int domain,
1177		    l_int type,
1178		    l_int protocol
1179		);
1180	}
1181199	AUE_SOCKETPAIR	STD	{
1182		int linux_socketpair(
1183		    l_int domain,
1184		    l_int type,
1185		    l_int protocol,
1186		    l_uintptr_t rsv
1187		);
1188	}
1189200	AUE_BIND	STD	{
1190		int linux_bind(
1191		    l_int s,
1192		    l_uintptr_t name,
1193		    l_int namelen
1194		);
1195	}
1196201	AUE_LISTEN	STD	{
1197		int linux_listen(
1198		    l_int s,
1199		    l_int backlog
1200		);
1201	}
1202202	AUE_ACCEPT	STD	{
1203		int linux_accept(
1204		    l_int s,
1205		    l_uintptr_t addr,
1206		    l_uintptr_t namelen
1207		);
1208	}
1209203	AUE_CONNECT	STD	{
1210		int linux_connect(
1211		    l_int s,
1212		    l_uintptr_t name,
1213		    l_int namelen
1214		);
1215	}
1216204	AUE_GETSOCKNAME	STD	{
1217		int linux_getsockname(
1218		    l_int s,
1219		    l_uintptr_t addr,
1220		    l_uintptr_t namelen
1221		);
1222	}
1223205	AUE_GETPEERNAME	STD	{
1224		int linux_getpeername(
1225		    l_int s,
1226		    l_uintptr_t addr,
1227		    l_uintptr_t namelen
1228		);
1229	}
1230206	AUE_SENDTO	STD	{
1231		int linux_sendto(
1232		    l_int s,
1233		    l_uintptr_t msg,
1234		    l_size_t len,
1235		    l_uint flags,
1236		    l_uintptr_t to,
1237		    l_int tolen
1238		);
1239	}
1240207	AUE_RECVFROM	STD	{
1241		int linux_recvfrom(
1242		    l_int s,
1243		    l_uintptr_t buf,
1244		    l_size_t len,
1245		    l_uint flags,
1246		    l_uintptr_t from,
1247		    l_uintptr_t fromlen
1248		);
1249	}
1250208	AUE_SETSOCKOPT	STD	{
1251		int linux_setsockopt(
1252		    l_int s,
1253		    l_int level,
1254		    l_int optname,
1255		    l_uintptr_t optval,
1256		    l_int optlen
1257		);
1258	}
1259209	AUE_GETSOCKOPT	STD	{
1260		int linux_getsockopt(
1261		    l_int s,
1262		    l_int level,
1263		    l_int optname,
1264		    l_uintptr_t optval,
1265		    l_uintptr_t optlen
1266		);
1267	}
1268210	AUE_NULL	STD	{
1269		int linux_shutdown(
1270		    l_int s,
1271		    l_int how
1272		);
1273	}
1274211	AUE_SENDMSG	STD	{
1275		int linux_sendmsg(
1276		    l_int s,
1277		    l_uintptr_t msg,
1278		    l_uint flags
1279		);
1280	}
1281212	AUE_RECVMSG	STD	{
1282		int linux_recvmsg(
1283		    l_int s,
1284		    l_uintptr_t msg,
1285		    l_uint flags
1286		);
1287	}
1288213	AUE_NULL	UNIMPL	linux_readahead
1289214	AUE_NULL	STD	{
1290		int linux_brk(
1291		    l_ulong dsend);
1292	}
1293215	AUE_MUNMAP	NOPROTO	{
1294		int munmap(
1295		    void *addr,
1296		    l_size_t len
1297		);
1298	}
1299216	AUE_NULL	STD	{
1300		int linux_mremap(
1301		    l_ulong addr,
1302		    l_ulong old_len,
1303		    l_ulong new_len,
1304		    l_ulong flags,
1305		    l_ulong new_addr
1306		);
1307	}
1308217	AUE_NULL	STD	{
1309		int linux_add_key(void);
1310	}
1311218	AUE_NULL	STD	{
1312		int linux_request_key(void);
1313	}
1314219	AUE_NULL	STD	{
1315		int linux_keyctl(void);
1316	}
1317220	AUE_RFORK	STD	{
1318		int linux_clone(
1319		    l_ulong flags,
1320		    void *stack,
1321		    void *parent_tidptr,
1322		    void *tls,
1323		    void *child_tidptr
1324		);
1325	}
1326221	AUE_EXECVE	STD	{
1327		int linux_execve(
1328		    char *path,
1329		    char **argp,
1330		    char **envp
1331		);
1332	}
1333222	AUE_MMAP	STD	{
1334		int linux_mmap2(
1335		    l_ulong addr,
1336		    l_ulong len,
1337		    l_ulong prot,
1338		    l_ulong flags,
1339		    l_ulong fd,
1340		    l_ulong pgoff
1341		);
1342	}
1343223	AUE_NULL	STD	{
1344		int linux_fadvise64(
1345		    l_int fd,
1346		    l_loff_t offset,
1347		    l_size_t len,
1348		    l_int advice
1349		);
1350	}
1351224	AUE_SWAPON	NOPROTO	{
1352		int swapon(
1353		    char *name
1354		);
1355	}
1356225	AUE_SWAPOFF	STD	{
1357		int linux_swapoff(void);
1358	}
1359226	AUE_MPROTECT	STD	{
1360		int linux_mprotect(
1361		    l_ulong addr,
1362		    l_size_t len,
1363		    l_ulong prot
1364		);
1365	}
1366227	AUE_MSYNC	STD	{
1367		int linux_msync(
1368		    l_ulong addr,
1369		    l_size_t len,
1370		    l_int fl
1371		);
1372	}
1373228	AUE_MLOCK	NOPROTO	{
1374		int mlock(
1375		    const void *addr,
1376		    size_t len
1377		);
1378	}
1379229	AUE_MUNLOCK	NOPROTO	{
1380		int munlock(
1381		    const void *addr,
1382		    size_t len
1383		);
1384	}
1385230	AUE_MLOCKALL	NOPROTO	{
1386		int mlockall(
1387		    int how
1388		);
1389	}
1390231	AUE_MUNLOCKALL	NOPROTO	{
1391		int munlockall(void);
1392	}
1393232	AUE_MINCORE	STD	{
1394		int linux_mincore(
1395		    l_ulong start,
1396		    l_size_t len,
1397		    u_char *vec
1398		);
1399	}
1400233	AUE_MADVISE	STD	{
1401		int linux_madvise(
1402		    l_ulong addr,
1403		    l_size_t len,
1404		    l_int behav
1405		);
1406	}
1407234	AUE_NULL	STD	{
1408		int linux_remap_file_pages(void);
1409	}
1410235	AUE_NULL	STD	{
1411		int linux_mbind(void);
1412	}
1413236	AUE_NULL	STD	{
1414		int linux_get_mempolicy(void);
1415	}
1416237	AUE_NULL	STD	{
1417		int linux_set_mempolicy(void);
1418	}
1419238	AUE_NULL	STD	{
1420		int linux_migrate_pages(void);
1421	}
1422239	AUE_NULL	STD	{
1423		int linux_move_pages(void);
1424	}
1425240	AUE_NULL	STD	{
1426		int linux_rt_tgsigqueueinfo(
1427		    l_pid_t tgid,
1428		    l_pid_t tid,
1429		    l_int sig,
1430		    l_siginfo_t *uinfo
1431		);
1432	}
1433241	AUE_NULL	STD	{
1434		int linux_perf_event_open(void);
1435	}
1436242	AUE_ACCEPT	STD	{
1437		int linux_accept4(
1438		    l_int s,
1439		    l_uintptr_t addr,
1440		    l_uintptr_t namelen,
1441		    l_int flags
1442		);
1443	}
1444243	AUE_NULL	STD	{
1445		int linux_recvmmsg(
1446		    l_int s,
1447		    struct l_mmsghdr *msg,
1448		    l_uint vlen,
1449		    l_uint flags,
1450		    struct l_timespec *timeout
1451		);
1452	}
1453244-259	AUE_NULL	UNIMPL	unimpl_md_syscall
1454260	AUE_WAIT4	STD	{
1455		int linux_wait4(
1456		    l_pid_t pid,
1457		    l_int *status,
1458		    l_int options,
1459		    struct rusage *rusage
1460		);
1461	}
1462261	AUE_NULL	STD	{
1463		int linux_prlimit64(
1464		    l_pid_t pid,
1465		    l_uint resource,
1466		    struct rlimit *new,
1467		    struct rlimit *old);
1468	}
1469262	AUE_NULL	STD	{
1470		int linux_fanotify_init(void);
1471	}
1472263	AUE_NULL	STD	{
1473		int linux_fanotify_mark(void);
1474	}
1475264	AUE_NULL	STD	{
1476		int linux_name_to_handle_at(
1477		    l_int dirfd,
1478		    const char *name,
1479		    struct l_file_handle *handle,
1480		    l_int *mnt_id,
1481		    l_int flags
1482		);
1483	}
1484265	AUE_NULL	STD	{
1485		int linux_open_by_handle_at(
1486		    l_int mountdirfd,
1487		    struct l_file_handle *handle,
1488		    l_int flags
1489		);
1490	}
1491266	AUE_NULL	STD	{
1492		int linux_clock_adjtime(void);
1493	}
1494267	AUE_SYNC	STD	{
1495		int linux_syncfs(
1496		    l_int fd);
1497	}
1498268	AUE_NULL	STD	{
1499		int linux_setns(
1500		    l_int fd,
1501		    l_int nstype
1502		);
1503	}
1504269	AUE_NULL	STD	{
1505		int linux_sendmmsg(
1506		    l_int s,
1507		    struct l_mmsghdr *msg,
1508		    l_uint vlen,
1509		    l_uint flags
1510		);
1511	}
1512270	AUE_NULL	STD	{
1513		int linux_process_vm_readv(
1514		    l_pid_t pid,
1515		    const struct iovec *lvec,
1516		    l_ulong liovcnt,
1517		    const struct iovec *rvec,
1518		    l_ulong riovcnt,
1519		    l_ulong flags
1520		);
1521	}
1522271	AUE_NULL	STD	{
1523		int linux_process_vm_writev(
1524		    l_pid_t pid,
1525		    const struct iovec *lvec,
1526		    l_ulong liovcnt,
1527		    const struct iovec *rvec,
1528		    l_ulong riovcnt,
1529		    l_ulong flags
1530		);
1531	}
1532272	AUE_NULL	STD	{
1533		int linux_kcmp(
1534		    l_pid_t pid1,
1535		    l_pid_t pid2,
1536		    l_int type,
1537		    l_ulong idx1,
1538		    l_ulong idx
1539		);
1540	}
1541273	AUE_NULL	STD	{
1542		int linux_finit_module(
1543		    l_int fd,
1544		    const char *uargs,
1545		    l_int flags
1546		);
1547	}
1548274	AUE_NULL	STD	{
1549		int linux_sched_setattr(
1550		    l_pid_t pid,
1551		    void *attr,
1552		    l_uint flags
1553		);
1554	}
1555275	AUE_NULL	STD	{
1556		int linux_sched_getattr(
1557		    l_pid_t pid,
1558		    void *attr,
1559		    l_uint size,
1560		    l_uint flags
1561		);
1562	}
1563276	AUE_NULL	STD	{
1564		int linux_renameat2(
1565		    l_int olddfd,
1566		    const char *oldname,
1567		    l_int newdfd,
1568		    const char *newname,
1569		    l_uint flags
1570		);
1571	}
1572277	AUE_NULL	STD	{
1573		int linux_seccomp(
1574		    l_uint op,
1575		    l_uint flags,
1576		    const char *uargs
1577		);
1578	}
1579278	AUE_NULL	STD	{
1580		int linux_getrandom(
1581		    char *buf,
1582		    l_size_t count,
1583		    l_uint flags
1584		);
1585	}
1586279	AUE_NULL	STD	{
1587		int linux_memfd_create(
1588		    const char *uname_ptr,
1589		    l_uint flags
1590		);
1591	}
1592280	AUE_NULL	STD	{
1593		int linux_bpf(
1594		    l_int cmd,
1595		    void *attr,
1596		    l_uint size
1597		);
1598	}
1599281	AUE_NULL	STD	{
1600		int linux_execveat(
1601		    l_int dfd,
1602		    const char *filename,
1603		    const char **argv,
1604		    const char **envp,
1605		    l_int flags
1606		);
1607	}
1608282	AUE_NULL	STD	{
1609		int linux_userfaultfd(
1610		    l_int flags
1611		);
1612	}
1613283	AUE_NULL	STD	{
1614		int linux_membarrier(
1615		    l_int cmd,
1616		    l_int flags
1617		);
1618	}
1619284	AUE_NULL	STD	{
1620		int linux_mlock2(
1621		    l_ulong start,
1622		    l_size_t len,
1623		    l_int flags
1624		);
1625	}
1626285	AUE_NULL	STD	{
1627		int linux_copy_file_range(
1628		    l_int fd_in,
1629		    l_loff_t *off_in,
1630		    l_int fd_out,
1631		    l_loff_t *off_out,
1632		    l_size_t len,
1633		    l_uint flags
1634		);
1635	}
1636286	AUE_NULL	STD	{
1637		int linux_preadv2(
1638		    l_ulong fd,
1639		    const struct iovec *vec,
1640		    l_ulong vlen,
1641		    l_ulong pos_l,
1642		    l_ulong pos_h,
1643		    l_int flags
1644		);
1645	}
1646287	AUE_NULL	STD	{
1647		int linux_pwritev2(
1648		    l_ulong fd,
1649		    const struct iovec *vec,
1650		    l_ulong vlen,
1651		    l_ulong pos_l,
1652		    l_ulong pos_h,
1653		    l_int flags
1654		);
1655	}
1656288	AUE_NULL	STD	{
1657		int linux_pkey_mprotect(
1658		    l_ulong start,
1659		    l_size_t len,
1660		    l_ulong prot,
1661		    l_int pkey
1662		);
1663	}
1664289	AUE_NULL	STD	{
1665		int linux_pkey_alloc(
1666		    l_ulong flags,
1667		    l_ulong init_val
1668		);
1669	}
1670290	AUE_NULL	STD	{
1671		int linux_pkey_free(
1672		    l_int pkey
1673		);
1674	}
1675
1676; please, keep this line at the end.
1677291	AUE_NULL	UNIMPL	nosys
1678
1679; vim: syntax=off
1680