xref: /freebsd/sys/arm64/linux/syscalls.master (revision b9f654b163bce26de79705e77b872427c9f2afa1)
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(void);
23	}
246	AUE_NULL	STD	{
25		int linux_lsetxattr(void);
26	}
277	AUE_NULL	STD	{
28		int linux_fsetxattr(void);
29	}
308	AUE_NULL	STD	{
31		int linux_getxattr(void);
32	}
339	AUE_NULL	STD	{
34		int linux_lgetxattr(void);
35	}
3610	AUE_NULL	STD	{
37		int linux_fgetxattr(void);
38	}
3911	AUE_NULL	STD	{
40		int linux_listxattr(void);
41	}
4212	AUE_NULL	STD	{
43		int linux_llistxattr(void);
44	}
4513	AUE_NULL	STD	{
46		int linux_flistxattr(void);
47	}
4814	AUE_NULL	STD	{
49		int linux_removexattr(void);
50	}
5115	AUE_NULL	STD	{
52		int linux_lremovexattr(void);
53	}
5416	AUE_NULL	STD	{
55		int linux_fremovexattr(void);
56	}
5717	AUE_GETCWD	STD	{
58		int linux_getcwd(
59		    char *buf,
60		    l_ulong bufsize
61		);
62	}
6318	AUE_NULL	STD	{
64		 int linux_lookup_dcookie(void);
65	}
6619	AUE_NULL	STD	{
67		int linux_eventfd2(
68		    l_uint initval,
69		    l_int flags
70		);
71	}
7220	AUE_NULL	STD	{
73		int linux_epoll_create1(
74		    l_int flags
75		);
76	}
7721	AUE_NULL	STD	{
78		int linux_epoll_ctl(
79		    l_int epfd,
80		    l_int op,
81		    l_int fd,
82		    struct epoll_event *event
83		);
84	}
8522	AUE_NULL	STD     {
86		int linux_epoll_pwait(
87		    l_int epfd,
88		    struct epoll_event *events,
89		    l_int maxevents,
90		    l_int timeout,
91		    l_sigset_t *mask,
92		    l_size_t sigsetsize
93		);
94	}
9523	AUE_DUP		NOPROTO	{
96		int dup(
97		    u_int fd);
98	}
9924	AUE_NULL	STD	{
100		int linux_dup3(
101		    l_int oldfd,
102		    l_int newfd,
103		    l_int flags
104		);
105	}
10625	AUE_FCNTL	STD	{
107		int linux_fcntl(
108		    l_uint fd,
109		    l_uint cmd,
110		    l_ulong arg
111		);
112	}
11326	AUE_NULL	STD	{
114		int linux_inotify_init1(
115		    l_int flags
116		);
117	}
11827	AUE_NULL	STD	{
119		int linux_inotify_add_watch(void);
120	}
12128	AUE_NULL	STD	{
122		int linux_inotify_rm_watch(void);
123	}
12429	AUE_IOCTL	STD	{
125		int linux_ioctl(
126		    l_uint fd,
127		    l_uint cmd,
128		    uintptr_t arg
129		);
130	}
13130	AUE_NULL	STD	{
132		int linux_ioprio_set(void);
133	}
13431	AUE_NULL	STD	{
135		int linux_ioprio_get(void);
136	}
13732	AUE_FLOCK	NOPROTO	{
138		int flock(
139		    int fd,
140		    int how
141		);
142	}
14333	AUE_MKNODAT	STD	{
144		int linux_mknodat(
145		    l_int dfd,
146		    const char *filename,
147		    l_int mode,
148		    l_uint dev
149		);
150	}
15134	AUE_MKDIRAT	STD	{
152		int linux_mkdirat(
153		    l_int dfd,
154		    const char *pathname,
155		    l_int mode
156		);
157	}
15835	AUE_UNLINKAT	STD	{
159		int linux_unlinkat(
160		    l_int dfd,
161		    const char *pathname,
162		    l_int flag
163		);
164	}
16536	AUE_SYMLINKAT	STD	{
166		int linux_symlinkat(
167		    const char *oldname,
168		    l_int newdfd,
169		    const char *newname
170		);
171	}
17237	AUE_LINKAT	STD	{
173		int linux_linkat(
174		    l_int olddfd,
175		    const char *oldname,
176		    l_int newdfd,
177		    const char *newname,
178		    l_int flag
179		);
180	}
18138	AUE_RENAMEAT	STD	{
182		int linux_renameat(
183		    l_int olddfd,
184		    const char *oldname,
185		    l_int newdfd,
186		    const char *newname
187		);
188	}
18939	AUE_NULL	UNIMPL	linux_umount2
19040	AUE_MOUNT	STD	{
191		int linux_mount(
192		    char *specialfile,
193		    char *dir,
194		    char *filesystemtype,
195		    l_ulong rwflag,
196		    void *data
197		);
198	}
19941	AUE_PIVOT_ROOT	STD	{
200		int linux_pivot_root(void);
201	}
20242	AUE_NULL	UNIMPL	nfsservctl
20343	AUE_STATFS	STD	{
204		int linux_statfs(
205		    char *path,
206		    struct l_statfs_buf *buf
207		);
208	}
20944	AUE_FSTATFS	STD	{
210		int linux_fstatfs(
211		    l_uint fd,
212		    struct l_statfs_buf *buf
213		);
214	}
21545	AUE_TRUNCATE	STD	{
216		int linux_truncate(
217		    char *path,
218		    l_ulong length
219		);
220	}
22146	AUE_FTRUNCATE	STD	{
222		int linux_ftruncate(
223		    l_int fd,
224		    l_long length
225		);
226	}
22747	AUE_NULL	STD	{
228		int linux_fallocate(
229		    l_int fd,
230		    l_int mode,
231		    l_loff_t offset,
232		    l_loff_t len
233		);
234	}
23548	AUE_FACCESSAT	STD	{
236		int linux_faccessat(
237		    l_int dfd,
238		    const char *filename,
239		    l_int amode
240		);
241	}
24249	AUE_CHDIR	STD	{
243		int linux_chdir(
244		    char *path
245		);
246	}
24750	AUE_FCHDIR	NOPROTO	{
248		int fchdir(
249		    int fd);
250	}
25151	AUE_CHROOT	NOPROTO	{
252		int chroot(
253		    char *path
254		);
255	}
25652	AUE_FCHMOD	NOPROTO	{
257		int fchmod(
258		    int fd,
259		    int mode
260		);
261	}
26253	AUE_FCHMODAT	STD	{
263		int linux_fchmodat(
264		    l_int dfd,
265		    const char *filename,
266		    l_mode_t mode
267		);
268	}
26954	AUE_FCHOWNAT	STD	{
270		int linux_fchownat(
271		    l_int dfd,
272		    const char *filename,
273		    l_uid_t uid,
274		    l_gid_t gid,
275		    l_int flag
276		);
277	}
27855	AUE_FCHOWN	NOPROTO	{
279		int fchown(
280		    int fd,
281		    int uid,
282		    int gid);
283	}
28456	AUE_OPEN_RWTC	STD	{
285		int linux_openat(
286		    l_int dfd,
287		    const char *filename,
288		    l_int flags,
289		    l_int mode
290		);
291	}
29257	AUE_CLOSE	NOPROTO	{
293		int close(
294		    int fd);
295	}
29658	AUE_NULL	STD	{
297		int linux_vhangup(void);
298	}
29959	AUE_NULL	STD	{
300		int linux_pipe2(
301		    l_int *pipefds,
302		    l_int flags
303		);
304	}
30560	AUE_NULL	UNIMPL	linux_quotactl
30661	AUE_GETDIRENTRIES	STD {
307		int linux_getdents64(
308		    l_uint fd,
309		    void *dirent,
310		    l_uint count
311		);
312	}
31362	AUE_LSEEK	STD	{
314		int linux_lseek(
315		    l_uint fdes,
316		    l_off_t off,
317		    l_int whence
318		);
319	}
32063	AUE_NULL	NOPROTO	{
321		int read(
322		    int fd,
323		    char *buf,
324		    u_int nbyte
325		);
326	}
32764	AUE_NULL	NOPROTO {
328		int write(
329		    int fd,
330		    char *buf,
331		    u_int nbyte
332		);
333	}
33465	AUE_READV	NOPROTO	{
335		int readv(
336		    int fd,
337		    struct iovec *iovp,
338		    u_int iovcnt
339		);
340	}
34166	AUE_WRITEV	NOPROTO	{
342		int writev(
343		    int fd,
344		    struct iovec *iovp,
345		    u_int iovcnt
346		);
347	}
34867	AUE_PREAD	STD	{
349		int linux_pread(
350		    l_uint fd,
351		    char *buf,
352		    l_size_t nbyte,
353		    l_loff_t offset
354		);
355	}
35668	AUE_PWRITE	STD	{
357		int linux_pwrite(
358		    l_uint fd,
359		    char *buf,
360		    l_size_t nbyte,
361		    l_loff_t offset
362		);
363	}
36469	AUE_NULL	STD	{
365		int linux_preadv(
366		    l_ulong fd,
367		    struct iovec *vec,
368		    l_ulong vlen,
369		    l_ulong pos_l,
370		    l_ulong pos_h
371		);
372	}
37370	AUE_NULL	STD	{
374		int linux_pwritev(
375		    l_ulong fd,
376		    struct iovec *vec,
377		    l_ulong vlen,
378		    l_ulong pos_l,
379		    l_ulong pos_h
380		);
381	}
38271	AUE_SENDFILE	STD	{
383		int linux_sendfile(
384		    l_int out,
385		    l_int in,
386		    l_long *offset,
387		    l_size_t count
388		);
389	}
39072	AUE_SELECT	STD	{
391		int linux_pselect6(
392		    l_int nfds,
393		    l_fd_set *readfds,
394		    l_fd_set *writefds,
395		    l_fd_set *exceptfds,
396		    struct l_timespec *tsp,
397		    l_uintptr_t *sig
398		);
399	}
40073	AUE_POLL	STD	{
401		int linux_ppoll(
402		    struct pollfd *fds,
403		    uint32_t nfds,
404		    struct l_timespec *tsp,
405		    l_sigset_t *sset,
406		    l_size_t ssize
407		);
408	}
40974	AUE_NULL	STD	{
410		int linux_signalfd4(void);
411	}
41275	AUE_NULL	STD	{
413		int linux_vmsplice(void);
414	}
41576	AUE_NULL	STD	{
416		int linux_splice(void);
417	}
41877	AUE_NULL	STD	{
419		int linux_tee(void);
420	}
42178	AUE_READLINKAT	STD	{
422		int linux_readlinkat(
423		    l_int dfd,
424		    const char *path,
425		    char *buf,
426		    l_int bufsiz
427		);
428	}
42979	AUE_FSTATAT	STD	{
430		int linux_newfstatat(
431		    l_int dfd,
432		    char *pathname,
433		    struct l_stat64 *statbuf,
434		    l_int flag
435		);
436	}
43780	AUE_FSTAT	STD	{
438		int linux_newfstat(
439		    l_uint fd,
440		    struct l_newstat *buf
441		);
442	}
44381	AUE_NULL	UNIMPL	linux_sync
44482	AUE_FSYNC	NOPROTO	{
445		int fsync(
446		    int fd);
447	}
44883	AUE_NULL	STD	{
449		int linux_fdatasync(
450		    l_uint fd);
451	}
45284	AUE_NULL	STD	{
453		int linux_sync_file_range(void);
454	}
45585	AUE_NULL	STD	{
456		int linux_timerfd_create(
457		    l_int clockid,
458		    l_int flags
459		);
460	}
46186	AUE_NULL	STD	{
462		int linux_timerfd_settime(
463		    l_int fd,
464		    l_int flags,
465		    const struct l_itimerspec *new_value,
466		    struct l_itimerspec *old_value
467		);
468	}
46987	AUE_NULL	STD	{
470		int linux_timerfd_gettime(
471		    l_int fd,
472		    struct l_itimerspec *old_value
473		);
474	}
47588	AUE_FUTIMESAT	STD	{
476		int linux_utimensat(
477		    l_int dfd,
478		    const char *pathname,
479		    const struct l_timespec *times,
480		    l_int flags
481		);
482	}
48389	AUE_ACCT	NOPROTO	{
484		int acct(
485		    char *path
486		);
487	}
48890	AUE_CAPGET	STD	{
489		int linux_capget(
490		    struct l_user_cap_header *hdrp,
491		    struct l_user_cap_data *datap
492		);
493	}
49491	AUE_CAPSET	STD	{
495		int linux_capset(
496		    struct l_user_cap_header *hdrp,
497		    struct l_user_cap_data *datap
498		);
499	}
50092	AUE_PERSONALITY	STD	{
501		int linux_personality(
502		    l_uint per
503		);
504	}
50593	AUE_EXIT	STD	{
506		int linux_exit(
507		    int rval
508		);
509	}
51094	AUE_EXIT	STD	{
511		int linux_exit_group(
512		    int error_code
513		);
514	}
51595	AUE_WAIT6	STD	{
516		int linux_waitid(
517		    l_int idtype,
518		    l_pid_t id,
519		    l_siginfo_t *info,
520		    l_int options,
521		    struct rusage *rusage
522		);
523	}
52496	AUE_NULL	STD	{
525		int linux_set_tid_address(
526		    int *tidptr
527		);
528	}
52997	AUE_NULL	STD	{
530		int linux_unshare(void);
531	}
53298	AUE_NULL	STD	{
533		int linux_sys_futex(void *uaddr,
534		    int op,
535		    int val,
536		    struct l_timespec *timeout,
537		    void *uaddr2,
538		    int val3
539		);
540	}
54199	AUE_NULL	STD	{
542		int linux_set_robust_list(
543		    struct linux_robust_list_head *head,
544		    l_size_t len
545		);
546	}
547100	AUE_NULL	STD	{
548		int linux_get_robust_list(
549		    l_int pid,
550		    struct linux_robust_list_head **head,
551		    l_size_t *len
552		);
553	}
554101	AUE_NULL	STD	{
555		int linux_nanosleep(
556		    const struct l_timespec *rqtp,
557		    struct l_timespec *rmtp
558		);
559	}
560102	AUE_GETITIMER	STD	{
561		int linux_getitimer(
562		    l_int which,
563		    struct l_itimerval *itv
564		);
565	}
566103	AUE_SETITIMER	STD	{
567		int linux_setitimer(
568		    l_int which,
569		    struct l_itimerval *itv,
570		    struct l_itimerval *oitv
571		);
572	}
573104	AUE_NULL	STD	{
574		int linux_kexec_load(void);
575	}
576105	AUE_NULL	STD	{
577		int linux_init_module(void);
578	}
579106	AUE_NULL	STD	{
580		int linux_delete_module(void);
581	}
582107	AUE_NULL	STD	{
583		int linux_timer_create(
584		    clockid_t clock_id,
585		    struct sigevent *evp,
586		    l_timer_t *timerid);
587	}
588108	AUE_NULL	STD	{
589		int linux_timer_gettime(
590		    l_timer_t timerid,
591		    struct itimerspec *setting
592		);
593	}
594109	AUE_NULL	STD	{
595		int linux_timer_getoverrun(
596		    l_timer_t timerid);
597	}
598110	AUE_NULL	STD	{
599		int linux_timer_settime(
600		    l_timer_t timerid,
601		    l_int flags,
602		    const struct itimerspec *new,
603		    struct itimerspec *old);
604	}
605111	AUE_NULL	STD	{
606		int linux_timer_delete(
607		    l_timer_t timerid);
608	}
609112	AUE_CLOCK_SETTIME	STD	{
610		int linux_clock_settime(
611		    clockid_t which,
612		    struct l_timespec *tp
613		);
614	}
615113	AUE_NULL	STD	{
616		int linux_clock_gettime(
617		    clockid_t which,
618		    struct l_timespec *tp
619		);
620	}
621114	AUE_NULL	STD	{
622		int linux_clock_getres(
623		    clockid_t which,
624		    struct l_timespec *tp
625		);
626	}
627115	AUE_NULL	STD	{
628		int linux_clock_nanosleep(
629		    clockid_t which,
630		    int flags,
631		    struct l_timespec *rqtp,
632		    struct l_timespec *rmtp
633		);
634	}
635116	AUE_NULL	STD	{
636		int linux_syslog(
637		    l_int type,
638		    char *buf,
639		    l_int len
640		);
641	}
642117	AUE_PTRACE	STD	{
643		int linux_ptrace(
644		    l_long req,
645		    l_long pid,
646		    l_ulong addr,
647		    l_ulong data
648		);
649	}
650118	AUE_SCHED_SETPARAM	STD	{
651		int linux_sched_setparam(
652		    l_pid_t pid,
653		    struct sched_param *param
654		);
655	}
656119	AUE_SCHED_SETSCHEDULER	STD {
657		int linux_sched_setscheduler(
658		    l_pid_t pid,
659		    l_int policy,
660		    struct sched_param *param
661		);
662	}
663120	AUE_SCHED_GETSCHEDULER	STD {
664		int linux_sched_getscheduler(
665		    l_pid_t pid);
666	}
667121	AUE_SCHED_GETPARAM	STD	{
668		int linux_sched_getparam(
669		    l_pid_t pid,
670		    struct sched_param *param
671		);
672	}
673122	AUE_NULL	STD	{
674		int linux_sched_setaffinity(
675		    l_pid_t pid,
676		    l_uint len,
677		    l_ulong *user_mask_ptr
678		);
679	}
680123	AUE_NULL	STD	{
681		int linux_sched_getaffinity(
682		    l_pid_t pid,
683		    l_uint len,
684		    l_ulong *user_mask_ptr
685		);
686	}
687124	AUE_NULL	NOPROTO	{
688		int sched_yield(void);
689	}
690125	AUE_SCHED_GET_PRIORITY_MAX	STD {
691		int linux_sched_get_priority_max(
692		    \
693		    l_int policy
694		);
695	}
696126	AUE_SCHED_GET_PRIORITY_MIN	STD {
697		int linux_sched_get_priority_min(
698		    \
699		    l_int policy
700		);
701	}
702127	AUE_SCHED_RR_GET_INTERVAL	STD {
703		int linux_sched_rr_get_interval(
704		    l_pid_t pid,
705		    struct l_timespec *interval
706		);
707	}
708128	AUE_NULL	UNIMPL	restart_syscall
709129	AUE_KILL	STD	{
710		int linux_kill(
711		    l_int pid,
712		    l_int signum
713		);
714	}
715130	AUE_NULL	STD	{
716		int linux_tkill(
717		    l_int tid,
718		    l_int sig
719		);
720	}
721131	AUE_NULL	STD	{
722		int linux_tgkill(
723		    l_int tgid,
724		    l_int pid,
725		    l_int sig
726		);
727	}
728132	AUE_NULL	STD	{
729		int linux_sigaltstack(
730		    l_stack_t *uss,
731		    l_stack_t *uoss
732		);
733	}
734133	AUE_NULL	STD	{
735		int linux_rt_sigsuspend(
736		    l_sigset_t *newset,
737		    l_size_t sigsetsize
738		);
739	}
740134	AUE_NULL	STD	{
741		int linux_rt_sigaction(
742		    l_int sig,
743		    l_sigaction_t *act,
744		    l_sigaction_t *oact,
745		    l_size_t sigsetsize
746		);
747	}
748135	AUE_NULL	STD	{
749		int linux_rt_sigprocmask(
750		    l_int how,
751		    l_sigset_t *mask,
752		    l_sigset_t *omask,
753		    l_size_t sigsetsize
754		);
755	}
756136	AUE_NULL	STD	{
757		int linux_rt_sigpending(
758		    l_sigset_t *set,
759		    l_size_t sigsetsize
760		);
761	}
762137	AUE_NULL	STD	{
763		int linux_rt_sigtimedwait(
764		    l_sigset_t *mask,
765		    l_siginfo_t *ptr,
766		    struct l_timeval *timeout,
767		    l_size_t sigsetsize
768		);
769	}
770138	AUE_NULL	STD	{
771		int linux_rt_sigqueueinfo(
772		    l_pid_t pid,
773		    l_int sig,
774		    l_siginfo_t *info
775		);
776	}
777139	AUE_NULL	STD	{
778		int linux_rt_sigreturn(
779		    struct l_ucontext *ucp
780		);
781	}
782140	AUE_SETPRIORITY	NOPROTO	{
783		int setpriority(
784		    int which,
785		    int who,
786		    int prio
787		);
788	}
789141	AUE_GETPRIORITY	STD	{
790		int linux_getpriority(
791		    l_int which,
792		    l_int who
793		);
794	}
795142	AUE_REBOOT	STD	{
796		int linux_reboot(
797		    l_int magic1,
798		    l_int magic2,
799		    l_uint cmd,
800		    void *arg
801		);
802	}
803143	AUE_SETREGID	NOPROTO	{
804		int setregid(
805		    gid_t rgid,
806		    gid_t egid);
807	}
808144	AUE_SETGID	NOPROTO	{
809		int setgid(
810		    gid_t gid);
811	}
812145	AUE_SETREUID	NOPROTO	{
813		int setreuid(
814		    uid_t ruid,
815		    uid_t euid);
816	}
817146	AUE_SETUID	NOPROTO	{
818		int setuid(
819		    uid_t uid);
820	}
821147	AUE_SETRESUID	NOPROTO	{
822		int setresuid(
823		    uid_t ruid,
824		    uid_t euid,
825		    uid_t suid);
826	}
827148	AUE_GETRESUID	NOPROTO	{
828		int getresuid(
829		    uid_t *ruid,
830		    uid_t *euid,
831		    uid_t *suid);
832	}
833149	AUE_SETRESGID	NOPROTO	{
834		int setresgid(
835		    gid_t rgid,
836		    gid_t egid,
837		    gid_t sgid);
838	}
839150	AUE_GETRESGID	NOPROTO	{
840		int getresgid(
841		    gid_t *rgid,
842		    gid_t *egid,
843		    gid_t *sgid);
844	}
845151	AUE_SETFSUID	STD	{
846		int linux_setfsuid(
847		    l_uid_t uid);
848	}
849152	AUE_SETFSGID	STD	{
850		int linux_setfsgid(
851		    l_gid_t gid);
852	}
853153	AUE_NULL	STD	{
854		int linux_times(
855		    struct l_times_argv *buf
856		);
857	}
858154	AUE_SETPGRP	NOPROTO	{
859		int setpgid(
860		    int pid,
861		    int pgid);
862	}
863155	AUE_GETPGID	NOPROTO	{
864		int getpgid(
865		    int pid);
866	}
867156	AUE_GETSID	STD	{
868		int linux_getsid(
869		    l_pid_t pid);
870	}
871157	AUE_SETSID	NOPROTO	{
872		int setsid(void);
873	}
874158	AUE_GETGROUPS	STD	{
875		int linux_getgroups(
876		    l_int gidsetsize,
877		    l_gid_t *grouplist
878		);
879	}
880159	AUE_SETGROUPS	STD	{
881		int linux_setgroups(
882		    l_int gidsetsize,
883		    l_gid_t *grouplist
884		);
885	}
886160	AUE_NULL	STD	{
887		int linux_newuname(
888		    struct l_new_utsname *buf
889		);
890	}
891161	AUE_SYSCTL	STD	{
892		int linux_sethostname(
893		    char *hostname,
894		    l_uint len
895		);
896	}
897162	AUE_SYSCTL	STD	{
898		int linux_setdomainname(
899		    char *name,
900		    l_int len
901		);
902	}
903163	AUE_GETRLIMIT	STD	{
904		int linux_getrlimit(
905		    l_uint resource,
906		    struct l_rlimit *rlim
907		);
908	}
909164	AUE_SETRLIMIT	STD	{
910		int linux_setrlimit(
911		    l_uint resource,
912		    struct l_rlimit *rlim
913		);
914	}
915165	AUE_GETRUSAGE	NOPROTO	{
916		int getrusage(
917		    int who,
918		    struct rusage *rusage
919		);
920	}
921166	AUE_UMASK	NOPROTO	{
922		int umask(
923		    int newmask
924		);
925	}
926167	AUE_PRCTL	STD	{
927		int linux_prctl(
928		    l_int option,
929		    l_uintptr_t arg2,
930		    l_uintptr_t arg3,
931		    l_uintptr_t arg4,
932		    l_uintptr_t arg5
933		);
934	}
935168	AUE_NULL	STD	{
936		int linux_getcpu(
937		    l_uint *cpu,
938		    l_uint *node,
939		    void *cache
940		);
941	}
942169	AUE_NULL	NOPROTO	{
943		int gettimeofday(
944		    struct l_timeval *tp,
945		    struct timezone *tzp
946		);
947	}
948170	AUE_SETTIMEOFDAY	NOPROTO	{
949		int settimeofday(
950		    struct l_timeval *tv,
951		    struct timezone *tzp
952		);
953	}
954171	AUE_ADJTIME	STD	{
955		int linux_adjtimex(void);
956	}
957172	AUE_GETPID	STD	{
958		int linux_getpid(void);
959	}
960173	AUE_GETPPID	STD	{
961		int linux_getppid(void);
962	}
963174	AUE_GETUID	STD	{
964		int linux_getuid(void);
965	}
966175	AUE_GETEUID	NOPROTO	{
967		int geteuid(void);
968	}
969176	AUE_GETGID	STD	{
970		int linux_getgid(void);
971	}
972177	AUE_GETEGID	NOPROTO	{
973		int getegid(void);
974	}
975178	AUE_NULL	STD	{
976		int linux_gettid(void);
977	}
978179	AUE_NULL	STD	{
979		int linux_sysinfo(
980		    struct l_sysinfo *info
981		);
982	}
983180	AUE_NULL	STD	{
984		int linux_mq_open(void);
985	}
986181	AUE_NULL	STD	{
987		int linux_mq_unlink(void);
988	}
989182	AUE_NULL	STD	{
990		int linux_mq_timedsend(void);
991	}
992183	AUE_NULL	STD	{
993		int linux_mq_timedreceive(void);
994	}
995184	AUE_NULL	STD	{
996		int linux_mq_notify(void);
997	}
998185	AUE_NULL	STD	{
999		int linux_mq_getsetattr(void);
1000	}
1001186	AUE_NULL	STD	{
1002		int linux_msgget(
1003		    l_key_t key,
1004		    l_int msgflg
1005		);
1006	}
1007187	AUE_NULL	STD	{
1008		int linux_msgctl(
1009		    l_int msqid,
1010		    l_int cmd,
1011		    struct l_msqid_ds *buf
1012		);
1013	}
1014188	AUE_NULL	STD	{
1015		int linux_msgrcv(
1016		    l_int msqid,
1017		    struct l_msgbuf *msgp,
1018		    l_size_t msgsz,
1019		    l_long msgtyp,
1020		    l_int msgflg
1021		);
1022	}
1023189	AUE_NULL	STD	{
1024		int linux_msgsnd(
1025		    l_int msqid,
1026		    struct l_msgbuf *msgp,
1027		    l_size_t msgsz,
1028		    l_int msgflg
1029		);
1030	}
1031190	AUE_NULL	STD	{
1032		int linux_semget(
1033		    l_key_t key,
1034		    l_int nsems,
1035		    l_int semflg
1036		);
1037	}
1038191	AUE_NULL	STD	{
1039		int linux_semctl(
1040		    l_int semid,
1041		    l_int semnum,
1042		    l_int cmd,
1043		    union l_semun arg
1044		);
1045	}
1046192	AUE_NULL	STD	{
1047		int linux_semtimedop(void);
1048	}
1049193	AUE_NULL	STD	{
1050		int linux_semop(
1051		    l_int semid,
1052		    struct l_sembuf *tsops,
1053		    l_uint nsops
1054		);
1055	}
1056194	AUE_NULL	STD	{
1057		int linux_shmget(
1058		    l_key_t key,
1059		    l_size_t size,
1060		    l_int shmflg
1061		);
1062	}
1063195	AUE_NULL	STD	{
1064		int linux_shmctl(
1065		    l_int shmid,
1066		    l_int cmd,
1067		    struct l_shmid_ds *buf
1068		);
1069	}
1070196	AUE_NULL	STD	{
1071		int linux_shmat(
1072		    l_int shmid,
1073		    char *shmaddr,
1074		    l_int shmflg
1075		);
1076	}
1077197	AUE_NULL	STD	{
1078		int linux_shmdt(
1079		    char *shmaddr
1080		);
1081	}
1082198	AUE_SOCKET	STD	{
1083		int linux_socket(
1084		    l_int domain,
1085		    l_int type,
1086		    l_int protocol
1087		);
1088	}
1089199	AUE_SOCKETPAIR	STD	{
1090		int linux_socketpair(
1091		    l_int domain,
1092		    l_int type,
1093		    l_int protocol,
1094		    l_uintptr_t rsv
1095		);
1096	}
1097200	AUE_BIND	STD	{
1098		int linux_bind(
1099		    l_int s,
1100		    l_uintptr_t name,
1101		    l_int namelen
1102		);
1103	}
1104201	AUE_LISTEN	STD	{
1105		int linux_listen(
1106		    l_int s,
1107		    l_int backlog
1108		);
1109	}
1110202	AUE_ACCEPT	STD	{
1111		int linux_accept(
1112		    l_int s,
1113		    l_uintptr_t addr,
1114		    l_uintptr_t namelen
1115		);
1116	}
1117203	AUE_CONNECT	STD	{
1118		int linux_connect(
1119		    l_int s,
1120		    l_uintptr_t name,
1121		    l_int namelen
1122		);
1123	}
1124204	AUE_GETSOCKNAME	STD	{
1125		int linux_getsockname(
1126		    l_int s,
1127		    l_uintptr_t addr,
1128		    l_uintptr_t namelen
1129		);
1130	}
1131205	AUE_GETPEERNAME	STD	{
1132		int linux_getpeername(
1133		    l_int s,
1134		    l_uintptr_t addr,
1135		    l_uintptr_t namelen
1136		);
1137	}
1138206	AUE_SENDTO	STD	{
1139		int linux_sendto(
1140		    l_int s,
1141		    l_uintptr_t msg,
1142		    l_int len,
1143		    l_int flags,
1144		    l_uintptr_t to,
1145		    l_int tolen
1146		);
1147	}
1148207	AUE_RECVFROM	STD	{
1149		int linux_recvfrom(
1150		    l_int s,
1151		    l_uintptr_t buf,
1152		    l_size_t len,
1153		    l_int flags,
1154		    l_uintptr_t from,
1155		    l_uintptr_t fromlen
1156		);
1157	}
1158208	AUE_SETSOCKOPT	STD	{
1159		int linux_setsockopt(
1160		    l_int s,
1161		    l_int level,
1162		    l_int optname,
1163		    l_uintptr_t optval,
1164		    l_int optlen
1165		);
1166	}
1167209	AUE_GETSOCKOPT	STD	{
1168		int linux_getsockopt(
1169		    l_int s,
1170		    l_int level,
1171		    l_int optname,
1172		    l_uintptr_t optval,
1173		    l_uintptr_t optlen
1174		);
1175	}
1176210	AUE_NULL	STD	{
1177		int linux_shutdown(
1178		    l_int s,
1179		    l_int how
1180		);
1181	}
1182211	AUE_SENDMSG	STD	{
1183		int linux_sendmsg(
1184		    l_int s,
1185		    l_uintptr_t msg,
1186		    l_int flags
1187		);
1188	}
1189212	AUE_RECVMSG	STD	{
1190		int linux_recvmsg(
1191		    l_int s,
1192		    l_uintptr_t msg,
1193		    l_int flags
1194		);
1195	}
1196213	AUE_NULL	UNIMPL	linux_readahead
1197214	AUE_NULL	STD	{
1198		int linux_brk(
1199		    l_ulong dsend);
1200	}
1201215	AUE_MUNMAP	NOPROTO	{
1202		int munmap(
1203		    caddr_t addr,
1204		    int len
1205		);
1206	}
1207216	AUE_NULL	STD	{
1208		int linux_mremap(
1209		    l_ulong addr,
1210		    l_ulong old_len,
1211		    l_ulong new_len,
1212		    l_ulong flags,
1213		    l_ulong new_addr
1214		);
1215	}
1216217	AUE_NULL	STD	{
1217		int linux_add_key(void);
1218	}
1219218	AUE_NULL	STD	{
1220		int linux_request_key(void);
1221	}
1222219	AUE_NULL	STD	{
1223		int linux_keyctl(void);
1224	}
1225220	AUE_RFORK	STD	{
1226		int linux_clone(
1227		    l_int flags,
1228		    void *stack,
1229		    void *parent_tidptr,
1230		    void *tls,
1231		    void *child_tidptr
1232		);
1233	}
1234221	AUE_EXECVE	STD	{
1235		int linux_execve(
1236		    char *path,
1237		    char **argp,
1238		    char **envp
1239		);
1240	}
1241222	AUE_MMAP	STD	{
1242		int linux_mmap2(
1243		    l_ulong addr,
1244		    l_ulong len,
1245		    l_ulong prot,
1246		    l_ulong flags,
1247		    l_ulong fd,
1248		    l_ulong pgoff
1249		);
1250	}
1251223	AUE_NULL	STD	{
1252		int linux_fadvise64(
1253		    l_int fd,
1254		    l_loff_t offset,
1255		    l_size_t len,
1256		    l_int advice
1257		);
1258	}
1259224	AUE_SWAPON	NOPROTO	{
1260		int swapon(
1261		    char *name
1262		);
1263	}
1264225	AUE_SWAPOFF	STD	{
1265		int linux_swapoff(void);
1266	}
1267226	AUE_MPROTECT	STD	{
1268		int linux_mprotect(
1269		    caddr_t addr,
1270		    l_int len,
1271		    l_int prot
1272		);
1273	}
1274227	AUE_MSYNC	STD	{
1275		int linux_msync(
1276		    l_ulong addr,
1277		    l_size_t len,
1278		    l_int fl
1279		);
1280	}
1281228	AUE_MLOCK	NOPROTO	{
1282		int mlock(
1283		    const void *addr,
1284		    size_t len
1285		);
1286	}
1287229	AUE_MUNLOCK	NOPROTO	{
1288		int munlock(
1289		    const void *addr,
1290		    size_t len
1291		);
1292	}
1293230	AUE_MLOCKALL	NOPROTO	{
1294		int mlockall(
1295		    int how
1296		);
1297	}
1298231	AUE_MUNLOCKALL	NOPROTO	{
1299		int munlockall(void);
1300	}
1301232	AUE_MINCORE	STD	{
1302		int linux_mincore(
1303		    l_ulong start,
1304		    l_size_t len,
1305		    u_char *vec
1306		);
1307	}
1308233	AUE_MADVISE	NOPROTO	{
1309		int madvise(void *addr,
1310		    size_t len,
1311		    int behav
1312		);
1313	}
1314234	AUE_NULL	STD	{
1315		int linux_remap_file_pages(void);
1316	}
1317235	AUE_NULL	STD	{
1318		int linux_mbind(void);
1319	}
1320236	AUE_NULL	STD	{
1321		int linux_get_mempolicy(void);
1322	}
1323237	AUE_NULL	STD	{
1324		int linux_set_mempolicy(void);
1325	}
1326238	AUE_NULL	STD	{
1327		int linux_migrate_pages(void);
1328	}
1329239	AUE_NULL	STD	{
1330		int linux_move_pages(void);
1331	}
1332240	AUE_NULL	STD	{
1333		int linux_rt_tgsigqueueinfo(
1334		    l_pid_t tgid,
1335		    l_pid_t tid,
1336		    l_int sig,
1337		    l_siginfo_t *uinfo
1338		);
1339	}
1340241	AUE_NULL	STD	{
1341		int linux_perf_event_open(void);
1342	}
1343242	AUE_ACCEPT	STD	{
1344		int linux_accept4(
1345		    l_int s,
1346		    l_uintptr_t addr,
1347		    l_uintptr_t namelen,
1348		    int flags
1349		);
1350	}
1351243	AUE_NULL	STD	{
1352		int linux_recvmmsg(
1353		    l_int s,
1354		    struct l_mmsghdr *msg,
1355		    l_uint vlen,
1356		    l_uint flags,
1357		    struct l_timespec *timeout
1358		);
1359	}
1360244-259	AUE_NULL	UNIMPL	unimpl_md_syscall
1361260	AUE_WAIT4	STD	{
1362		int linux_wait4(
1363		    l_pid_t pid,
1364		    l_int *status,
1365		    l_int options,
1366		    struct rusage *rusage
1367		);
1368	}
1369261	AUE_NULL	STD	{
1370		int linux_prlimit64(
1371		    l_pid_t pid,
1372		    l_uint resource,
1373		    struct rlimit *new,
1374		    struct rlimit *old);
1375	}
1376262	AUE_NULL	STD	{
1377		int linux_fanotify_init(void);
1378	}
1379263	AUE_NULL	STD	{
1380		int linux_fanotify_mark(void);
1381	}
1382264	AUE_NULL	STD	{
1383		int linux_name_to_handle_at(void);
1384	}
1385265	AUE_NULL	STD	{
1386		int linux_open_by_handle_at(void);
1387	}
1388266	AUE_NULL	STD	{
1389		int linux_clock_adjtime(void);
1390	}
1391267	AUE_SYNC	STD	{
1392		int linux_syncfs(
1393		    l_int fd);
1394	}
1395268	AUE_NULL	STD	{
1396		int linux_setns(
1397		    l_int fd,
1398		    l_int nstype
1399		);
1400	}
1401269	AUE_NULL	STD	{
1402		int linux_sendmmsg(
1403		    l_int s,
1404		    struct l_mmsghdr *msg,
1405		    l_uint vlen,
1406		    l_uint flags
1407		);
1408	}
1409270	AUE_NULL	STD	{
1410		int linux_process_vm_readv(
1411		    l_pid_t pid,
1412		    const struct iovec *lvec,
1413		    l_ulong liovcnt,
1414		    const struct iovec *rvec,
1415		    l_ulong riovcnt,
1416		    l_ulong flags
1417		);
1418	}
1419271	AUE_NULL	STD	{
1420		int linux_process_vm_writev(
1421		    l_pid_t pid,
1422		    const struct iovec *lvec,
1423		    l_ulong liovcnt,
1424		    const struct iovec *rvec,
1425		    l_ulong riovcnt,
1426		    l_ulong flags
1427		);
1428	}
1429272	AUE_NULL	STD	{
1430		int linux_kcmp(
1431		    l_pid_t pid1,
1432		    l_pid_t pid2,
1433		    l_int type,
1434		    l_ulong idx1,
1435		    l_ulong idx
1436		);
1437	}
1438273	AUE_NULL	STD	{
1439		int linux_finit_module(
1440		    l_int fd,
1441		    const char *uargs,
1442		    l_int flags
1443		);
1444	}
1445274	AUE_NULL	STD	{
1446		int linux_sched_setattr(
1447		    l_pid_t pid,
1448		    void *attr,
1449		    l_uint flags
1450		);
1451	}
1452275	AUE_NULL	STD	{
1453		int linux_sched_getattr(
1454		    l_pid_t pid,
1455		    void *attr,
1456		    l_uint size,
1457		    l_uint flags
1458		);
1459	}
1460276	AUE_NULL	STD	{
1461		int linux_renameat2(
1462		    l_int oldfd,
1463		    const char *oldname,
1464		    l_int newfd,
1465		    const char *newname,
1466		    unsigned int flags
1467		);
1468	}
1469277	AUE_NULL	STD	{
1470		int linux_seccomp(
1471		    l_uint op,
1472		    l_uint flags,
1473		    const char *uargs
1474		);
1475	}
1476278	AUE_NULL	STD	{
1477		int linux_getrandom(
1478		    char *buf,
1479		    l_size_t count,
1480		    l_uint flags
1481		);
1482	}
1483279	AUE_NULL	STD	{
1484		int linux_memfd_create(
1485		    const char *uname_ptr,
1486		    l_uint flags
1487		);
1488	}
1489280	AUE_NULL	STD	{
1490		int linux_bpf(
1491		    l_int cmd,
1492		    void *attr,
1493		    l_uint size
1494		);
1495	}
1496281	AUE_NULL	STD	{
1497		int linux_execveat(
1498		    l_int dfd,
1499		    const char *filename,
1500		    const char **argv,
1501		    const char **envp,
1502		    l_int flags
1503		);
1504	}
1505282	AUE_NULL	STD	{
1506		int linux_userfaultfd(
1507		    l_int flags
1508		);
1509	}
1510283	AUE_NULL	STD	{
1511		int linux_membarrier(
1512		    l_int cmd,
1513		    l_int flags
1514		);
1515	}
1516284	AUE_NULL	STD	{
1517		int linux_mlock2(
1518		    l_ulong start,
1519		    l_size_t len,
1520		    l_int flags
1521		);
1522	}
1523285	AUE_NULL	STD	{
1524		int linux_copy_file_range(
1525		    l_int fd_in,
1526		    l_loff_t *off_in,
1527		    l_int fd_out,
1528		    l_loff_t *off_out,
1529		    l_size_t len,
1530		    l_uint flags
1531		);
1532	}
1533286	AUE_NULL	STD	{
1534		int linux_preadv2(
1535		    l_ulong fd,
1536		    const struct iovec *vec,
1537		    l_ulong vlen,
1538		    l_ulong pos_l,
1539		    l_ulong pos_h,
1540		    l_int flags
1541		);
1542	}
1543287	AUE_NULL	STD	{
1544		int linux_pwritev2(
1545		    l_ulong fd,
1546		    const struct iovec *vec,
1547		    l_ulong vlen,
1548		    l_ulong pos_l,
1549		    l_ulong pos_h,
1550		    l_int flags
1551		);
1552	}
1553288	AUE_NULL	STD	{
1554		int linux_pkey_mprotect(
1555		    l_ulong start,
1556		    l_size_t len,
1557		    l_ulong prot,
1558		    l_int pkey
1559		);
1560	}
1561289	AUE_NULL	STD	{
1562		int linux_pkey_alloc(
1563		    l_ulong flags,
1564		    l_ulong init_val
1565		);
1566	}
1567290	AUE_NULL	STD	{
1568		int linux_pkey_free(
1569		    l_int pkey
1570		);
1571	}
1572
1573; please, keep this line at the end.
1574291	AUE_NULL	UNIMPL	nosys
1575
1576; vim: syntax=off
1577