xref: /freebsd/sys/arm64/linux/syscalls.master (revision 5956d97f4b3204318ceb6aa9c77bd0bc6ea87a41)
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		);
153	}
15424	AUE_NULL	STD	{
155		int linux_dup3(
156		    l_int oldfd,
157		    l_int newfd,
158		    l_int flags
159		);
160	}
16125	AUE_FCNTL	STD	{
162		int linux_fcntl(
163		    l_uint fd,
164		    l_uint cmd,
165		    l_ulong arg
166		);
167	}
16826	AUE_NULL	STD	{
169		int linux_inotify_init1(
170		    l_int flags
171		);
172	}
17327	AUE_NULL	STD	{
174		int linux_inotify_add_watch(void);
175	}
17628	AUE_NULL	STD	{
177		int linux_inotify_rm_watch(void);
178	}
17929	AUE_IOCTL	STD	{
180		int linux_ioctl(
181		    l_uint fd,
182		    l_uint cmd,
183		    l_ulong arg
184		);
185	}
18630	AUE_NULL	STD	{
187		int linux_ioprio_set(void);
188	}
18931	AUE_NULL	STD	{
190		int linux_ioprio_get(void);
191	}
19232	AUE_FLOCK	NOPROTO	{
193		int flock(
194		    int fd,
195		    int how
196		);
197	}
19833	AUE_MKNODAT	STD	{
199		int linux_mknodat(
200		    l_int dfd,
201		    const char *filename,
202		    l_int mode,
203		    l_uint dev
204		);
205	}
20634	AUE_MKDIRAT	STD	{
207		int linux_mkdirat(
208		    l_int dfd,
209		    const char *pathname,
210		    l_mode_t mode
211		);
212	}
21335	AUE_UNLINKAT	STD	{
214		int linux_unlinkat(
215		    l_int dfd,
216		    const char *pathname,
217		    l_int flag
218		);
219	}
22036	AUE_SYMLINKAT	STD	{
221		int linux_symlinkat(
222		    const char *oldname,
223		    l_int newdfd,
224		    const char *newname
225		);
226	}
22737	AUE_LINKAT	STD	{
228		int linux_linkat(
229		    l_int olddfd,
230		    const char *oldname,
231		    l_int newdfd,
232		    const char *newname,
233		    l_int flag
234		);
235	}
23638	AUE_RENAMEAT	STD	{
237		int linux_renameat(
238		    l_int olddfd,
239		    const char *oldname,
240		    l_int newdfd,
241		    const char *newname
242		);
243	}
24439	AUE_NULL	UNIMPL	linux_umount2
24540	AUE_MOUNT	STD	{
246		int linux_mount(
247		    char *specialfile,
248		    char *dir,
249		    char *filesystemtype,
250		    l_ulong rwflag,
251		    void *data
252		);
253	}
25441	AUE_PIVOT_ROOT	STD	{
255		int linux_pivot_root(void);
256	}
25742	AUE_NULL	UNIMPL	nfsservctl
25843	AUE_STATFS	STD	{
259		int linux_statfs(
260		    char *path,
261		    struct l_statfs_buf *buf
262		);
263	}
26444	AUE_FSTATFS	STD	{
265		int linux_fstatfs(
266		    l_uint fd,
267		    struct l_statfs_buf *buf
268		);
269	}
27045	AUE_TRUNCATE	STD	{
271		int linux_truncate(
272		    char *path,
273		    l_ulong length
274		);
275	}
27646	AUE_FTRUNCATE	STD	{
277		int linux_ftruncate(
278		    l_int fd,
279		    l_long length
280		);
281	}
28247	AUE_NULL	STD	{
283		int linux_fallocate(
284		    l_int fd,
285		    l_int mode,
286		    l_loff_t offset,
287		    l_loff_t len
288		);
289	}
29048	AUE_FACCESSAT	STD	{
291		int linux_faccessat(
292		    l_int dfd,
293		    const char *filename,
294		    l_int amode
295		);
296	}
29749	AUE_CHDIR	STD	{
298		int linux_chdir(
299		    char *path
300		);
301	}
30250	AUE_FCHDIR	NOPROTO	{
303		int fchdir(
304		    int fd
305		);
306	}
30751	AUE_CHROOT	NOPROTO	{
308		int chroot(
309		    char *path
310		);
311	}
31252	AUE_FCHMOD	NOPROTO	{
313		int fchmod(
314		    int fd,
315		    int mode
316		);
317	}
31853	AUE_FCHMODAT	STD	{
319		int linux_fchmodat(
320		    l_int dfd,
321		    const char *filename,
322		    l_mode_t mode
323		);
324	}
32554	AUE_FCHOWNAT	STD	{
326		int linux_fchownat(
327		    l_int dfd,
328		    const char *filename,
329		    l_uid_t uid,
330		    l_gid_t gid,
331		    l_int flag
332		);
333	}
33455	AUE_FCHOWN	NOPROTO	{
335		int fchown(
336		    int fd,
337		    int uid,
338		    int gid
339		);
340	}
34156	AUE_OPEN_RWTC	STD	{
342		int linux_openat(
343		    l_int dfd,
344		    const char *filename,
345		    l_int flags,
346		    l_mode_t mode
347		);
348	}
34957	AUE_CLOSE	NOPROTO	{
350		int close(
351		    int fd
352		);
353	}
35458	AUE_NULL	STD	{
355		int linux_vhangup(void);
356	}
35759	AUE_NULL	STD	{
358		int linux_pipe2(
359		    l_int *pipefds,
360		    l_int flags
361		);
362	}
36360	AUE_NULL	UNIMPL	linux_quotactl
36461	AUE_GETDIRENTRIES	STD {
365		int linux_getdents64(
366		    l_uint fd,
367		    void *dirent,
368		    l_uint count
369		);
370	}
37162	AUE_LSEEK	STD	{
372		int linux_lseek(
373		    l_uint fdes,
374		    l_off_t off,
375		    l_int whence
376		);
377	}
37863	AUE_NULL	NOPROTO	{
379		int read(
380		    int fd,
381		    char *buf,
382		    l_size_t nbyte
383		);
384	}
38564	AUE_NULL	NOPROTO {
386		int write(
387		    int fd,
388		    char *buf,
389		    l_size_t nbyte
390		);
391	}
39265	AUE_READV	NOPROTO	{
393		int readv(
394		    int fd,
395		    struct iovec *iovp,
396		    u_int iovcnt
397		);
398	}
39966	AUE_WRITEV	NOPROTO	{
400		int writev(
401		    int fd,
402		    struct iovec *iovp,
403		    u_int iovcnt
404		);
405	}
40667	AUE_PREAD	STD	{
407		int linux_pread(
408		    l_uint fd,
409		    char *buf,
410		    l_size_t nbyte,
411		    l_loff_t offset
412		);
413	}
41468	AUE_PWRITE	STD	{
415		int linux_pwrite(
416		    l_uint fd,
417		    char *buf,
418		    l_size_t nbyte,
419		    l_loff_t offset
420		);
421	}
42269	AUE_NULL	STD	{
423		int linux_preadv(
424		    l_ulong fd,
425		    struct iovec *vec,
426		    l_ulong vlen,
427		    l_ulong pos_l,
428		    l_ulong pos_h
429		);
430	}
43170	AUE_NULL	STD	{
432		int linux_pwritev(
433		    l_ulong fd,
434		    struct iovec *vec,
435		    l_ulong vlen,
436		    l_ulong pos_l,
437		    l_ulong pos_h
438		);
439	}
44071	AUE_SENDFILE	STD	{
441		int linux_sendfile(
442		    l_int out,
443		    l_int in,
444		    l_off_t *offset,
445		    l_size_t count
446		);
447	}
44872	AUE_SELECT	STD	{
449		int linux_pselect6(
450		    l_int nfds,
451		    l_fd_set *readfds,
452		    l_fd_set *writefds,
453		    l_fd_set *exceptfds,
454		    struct l_timespec *tsp,
455		    l_uintptr_t *sig
456		);
457	}
45873	AUE_POLL	STD	{
459		int linux_ppoll(
460		    struct pollfd *fds,
461		    l_uint nfds,
462		    struct l_timespec *tsp,
463		    l_sigset_t *sset,
464		    l_size_t ssize
465		);
466	}
46774	AUE_NULL	STD	{
468		int linux_signalfd4(void);
469	}
47075	AUE_NULL	STD	{
471		int linux_vmsplice(void);
472	}
47376	AUE_NULL	STD	{
474		int linux_splice(
475		    int fd_in,
476		    l_loff_t *off_in,
477		    int fd_out,
478		    l_loff_t *off_out,
479		    l_size_t len,
480		    l_uint flags
481		);
482	}
48377	AUE_NULL	STD	{
484		int linux_tee(void);
485	}
48678	AUE_READLINKAT	STD	{
487		int linux_readlinkat(
488		    l_int dfd,
489		    const char *path,
490		    char *buf,
491		    l_int bufsiz
492		);
493	}
49479	AUE_FSTATAT	STD	{
495		int linux_newfstatat(
496		    l_int dfd,
497		    char *pathname,
498		    struct l_stat64 *statbuf,
499		    l_int flag
500		);
501	}
50280	AUE_FSTAT	STD	{
503		int linux_newfstat(
504		    l_uint fd,
505		    struct l_newstat *buf
506		);
507	}
50881	AUE_NULL	UNIMPL	linux_sync
50982	AUE_FSYNC	NOPROTO	{
510		int fsync(
511		    int fd
512		);
513	}
51483	AUE_NULL	STD	{
515		int linux_fdatasync(
516		    l_uint fd
517		);
518	}
51984	AUE_NULL	STD	{
520		int linux_sync_file_range(
521		    l_int fd,
522		    l_loff_t offset,
523		    l_loff_t nbytes,
524		    l_uint flags
525		);
526	}
52785	AUE_NULL	STD	{
528		int linux_timerfd_create(
529		    l_int clockid,
530		    l_int flags
531		);
532	}
53386	AUE_NULL	STD	{
534		int linux_timerfd_settime(
535		    l_int fd,
536		    l_int flags,
537		    const struct l_itimerspec *new_value,
538		    struct l_itimerspec *old_value
539		);
540	}
54187	AUE_NULL	STD	{
542		int linux_timerfd_gettime(
543		    l_int fd,
544		    struct l_itimerspec *old_value
545		);
546	}
54788	AUE_FUTIMESAT	STD	{
548		int linux_utimensat(
549		    l_int dfd,
550		    const char *pathname,
551		    const struct l_timespec *times,
552		    l_int flags
553		);
554	}
55589	AUE_ACCT	NOPROTO	{
556		int acct(
557		    char *path
558		);
559	}
56090	AUE_CAPGET	STD	{
561		int linux_capget(
562		    struct l_user_cap_header *hdrp,
563		    struct l_user_cap_data *datap
564		);
565	}
56691	AUE_CAPSET	STD	{
567		int linux_capset(
568		    struct l_user_cap_header *hdrp,
569		    struct l_user_cap_data *datap
570		);
571	}
57292	AUE_PERSONALITY	STD	{
573		int linux_personality(
574		    l_uint per
575		);
576	}
57793	AUE_EXIT	STD	{
578		int linux_exit(
579		    u_int rval
580		);
581	}
58294	AUE_EXIT	STD	{
583		int linux_exit_group(
584		    l_int error_code
585		);
586	}
58795	AUE_WAIT6	STD	{
588		int linux_waitid(
589		    l_int idtype,
590		    l_pid_t id,
591		    l_siginfo_t *info,
592		    l_int options,
593		    struct rusage *rusage
594		);
595	}
59696	AUE_NULL	STD	{
597		int linux_set_tid_address(
598		    l_int *tidptr
599		);
600	}
60197	AUE_NULL	STD	{
602		int linux_unshare(void);
603	}
60498	AUE_NULL	STD	{
605		int linux_sys_futex(
606		    uint32_t *uaddr,
607		    l_int op,
608		    uint32_t val,
609		    struct l_timespec *timeout,
610		    uint32_t *uaddr2,
611		    uint32_t val3
612		);
613	}
61499	AUE_NULL	STD	{
615		int linux_set_robust_list(
616		    struct linux_robust_list_head *head,
617		    l_size_t len
618		);
619	}
620100	AUE_NULL	STD	{
621		int linux_get_robust_list(
622		    l_int pid,
623		    struct linux_robust_list_head **head,
624		    l_size_t *len
625		);
626	}
627101	AUE_NULL	STD	{
628		int linux_nanosleep(
629		    const struct l_timespec *rqtp,
630		    struct l_timespec *rmtp
631		);
632	}
633102	AUE_GETITIMER	STD	{
634		int linux_getitimer(
635		    l_int which,
636		    struct l_itimerval *itv
637		);
638	}
639103	AUE_SETITIMER	STD	{
640		int linux_setitimer(
641		    l_int which,
642		    struct l_itimerval *itv,
643		    struct l_itimerval *oitv
644		);
645	}
646104	AUE_NULL	STD	{
647		int linux_kexec_load(void);
648	}
649105	AUE_NULL	STD	{
650		int linux_init_module(void);
651	}
652106	AUE_NULL	STD	{
653		int linux_delete_module(void);
654	}
655107	AUE_NULL	STD	{
656		int linux_timer_create(
657		    clockid_t clock_id,
658		    struct sigevent *evp,
659		    l_timer_t *timerid
660		);
661	}
662108	AUE_NULL	STD	{
663		int linux_timer_gettime(
664		    l_timer_t timerid,
665		    struct itimerspec *setting
666		);
667	}
668109	AUE_NULL	STD	{
669		int linux_timer_getoverrun(
670		    l_timer_t timerid
671		);
672	}
673110	AUE_NULL	STD	{
674		int linux_timer_settime(
675		    l_timer_t timerid,
676		    l_int flags,
677		    const struct itimerspec *new,
678		    struct itimerspec *old
679		);
680	}
681111	AUE_NULL	STD	{
682		int linux_timer_delete(
683		    l_timer_t timerid
684		);
685	}
686112	AUE_CLOCK_SETTIME	STD	{
687		int linux_clock_settime(
688		    clockid_t which,
689		    struct l_timespec *tp
690		);
691	}
692113	AUE_NULL	STD	{
693		int linux_clock_gettime(
694		    clockid_t which,
695		    struct l_timespec *tp
696		);
697	}
698114	AUE_NULL	STD	{
699		int linux_clock_getres(
700		    clockid_t which,
701		    struct l_timespec *tp
702		);
703	}
704115	AUE_NULL	STD	{
705		int linux_clock_nanosleep(
706		    clockid_t which,
707		    l_int flags,
708		    struct l_timespec *rqtp,
709		    struct l_timespec *rmtp
710		);
711	}
712116	AUE_NULL	STD	{
713		int linux_syslog(
714		    l_int type,
715		    char *buf,
716		    l_int len
717		);
718	}
719117	AUE_PTRACE	STD	{
720		int linux_ptrace(
721		    l_long req,
722		    l_long pid,
723		    l_ulong addr,
724		    l_ulong data
725		);
726	}
727118	AUE_SCHED_SETPARAM	STD	{
728		int linux_sched_setparam(
729		    l_pid_t pid,
730		    struct sched_param *param
731		);
732	}
733119	AUE_SCHED_SETSCHEDULER	STD {
734		int linux_sched_setscheduler(
735		    l_pid_t pid,
736		    l_int policy,
737		    struct sched_param *param
738		);
739	}
740120	AUE_SCHED_GETSCHEDULER	STD {
741		int linux_sched_getscheduler(
742		    l_pid_t pid
743		);
744	}
745121	AUE_SCHED_GETPARAM	STD	{
746		int linux_sched_getparam(
747		    l_pid_t pid,
748		    struct sched_param *param
749		);
750	}
751122	AUE_NULL	STD	{
752		int linux_sched_setaffinity(
753		    l_pid_t pid,
754		    l_uint len,
755		    l_ulong *user_mask_ptr
756		);
757	}
758123	AUE_NULL	STD	{
759		int linux_sched_getaffinity(
760		    l_pid_t pid,
761		    l_uint len,
762		    l_ulong *user_mask_ptr
763		);
764	}
765124	AUE_NULL	NOPROTO	{
766		int sched_yield(void);
767	}
768125	AUE_SCHED_GET_PRIORITY_MAX	STD {
769		int linux_sched_get_priority_max(
770		    l_int policy
771		);
772	}
773126	AUE_SCHED_GET_PRIORITY_MIN	STD {
774		int linux_sched_get_priority_min(
775		    l_int policy
776		);
777	}
778127	AUE_SCHED_RR_GET_INTERVAL	STD {
779		int linux_sched_rr_get_interval(
780		    l_pid_t pid,
781		    struct l_timespec *interval
782		);
783	}
784128	AUE_NULL	UNIMPL	restart_syscall
785129	AUE_KILL	STD	{
786		int linux_kill(
787		    l_pid_t pid,
788		    l_int signum
789		);
790	}
791130	AUE_NULL	STD	{
792		int linux_tkill(
793		    l_pid_t tid,
794		    l_int sig
795		);
796	}
797131	AUE_NULL	STD	{
798		int linux_tgkill(
799		    l_pid_t tgid,
800		    l_pid_t pid,
801		    l_int sig
802		);
803	}
804132	AUE_NULL	STD	{
805		int linux_sigaltstack(
806		    l_stack_t *uss,
807		    l_stack_t *uoss
808		);
809	}
810133	AUE_NULL	STD	{
811		int linux_rt_sigsuspend(
812		    l_sigset_t *newset,
813		    l_size_t sigsetsize
814		);
815	}
816134	AUE_NULL	STD	{
817		int linux_rt_sigaction(
818		    l_int sig,
819		    l_sigaction_t *act,
820		    l_sigaction_t *oact,
821		    l_size_t sigsetsize
822		);
823	}
824135	AUE_NULL	STD	{
825		int linux_rt_sigprocmask(
826		    l_int how,
827		    l_sigset_t *mask,
828		    l_sigset_t *omask,
829		    l_size_t sigsetsize
830		);
831	}
832136	AUE_NULL	STD	{
833		int linux_rt_sigpending(
834		    l_sigset_t *set,
835		    l_size_t sigsetsize
836		);
837	}
838137	AUE_NULL	STD	{
839		int linux_rt_sigtimedwait(
840		    l_sigset_t *mask,
841		    l_siginfo_t *ptr,
842		    struct l_timespec *timeout,
843		    l_size_t sigsetsize
844		);
845	}
846138	AUE_NULL	STD	{
847		int linux_rt_sigqueueinfo(
848		    l_pid_t pid,
849		    l_int sig,
850		    l_siginfo_t *info
851		);
852	}
853139	AUE_NULL	STD	{
854		int linux_rt_sigreturn(void);
855	}
856140	AUE_SETPRIORITY	NOPROTO	{
857		int setpriority(
858		    int which,
859		    int who,
860		    int prio
861		);
862	}
863141	AUE_GETPRIORITY	STD	{
864		int linux_getpriority(
865		    l_int which,
866		    l_int who
867		);
868	}
869142	AUE_REBOOT	STD	{
870		int linux_reboot(
871		    l_int magic1,
872		    l_int magic2,
873		    l_uint cmd,
874		    void *arg
875		);
876	}
877143	AUE_SETREGID	NOPROTO	{
878		int setregid(
879		    gid_t rgid,
880		    gid_t egid
881		);
882	}
883144	AUE_SETGID	NOPROTO	{
884		int setgid(
885		    gid_t gid
886		);
887	}
888145	AUE_SETREUID	NOPROTO	{
889		int setreuid(
890		    uid_t ruid,
891		    uid_t euid
892		);
893	}
894146	AUE_SETUID	NOPROTO	{
895		int setuid(
896		    uid_t uid
897		);
898	}
899147	AUE_SETRESUID	NOPROTO	{
900		int setresuid(
901		    uid_t ruid,
902		    uid_t euid,
903		    uid_t suid
904		);
905	}
906148	AUE_GETRESUID	NOPROTO	{
907		int getresuid(
908		    uid_t *ruid,
909		    uid_t *euid,
910		    uid_t *suid
911		);
912	}
913149	AUE_SETRESGID	NOPROTO	{
914		int setresgid(
915		    gid_t rgid,
916		    gid_t egid,
917		    gid_t sgid
918		);
919	}
920150	AUE_GETRESGID	NOPROTO	{
921		int getresgid(
922		    gid_t *rgid,
923		    gid_t *egid,
924		    gid_t *sgid
925		);
926	}
927151	AUE_SETFSUID	STD	{
928		int linux_setfsuid(
929		    l_uid_t uid
930		);
931	}
932152	AUE_SETFSGID	STD	{
933		int linux_setfsgid(
934		    l_gid_t gid
935		);
936	}
937153	AUE_NULL	STD	{
938		int linux_times(
939		    struct l_times_argv *buf
940		);
941	}
942154	AUE_SETPGRP	NOPROTO	{
943		int setpgid(
944		    int pid,
945		    int pgid
946		);
947	}
948155	AUE_GETPGID	NOPROTO	{
949		int getpgid(
950		    int pid
951		);
952	}
953156	AUE_GETSID	STD	{
954		int linux_getsid(
955		    l_pid_t pid
956		);
957	}
958157	AUE_SETSID	NOPROTO	{
959		int setsid(void);
960	}
961158	AUE_GETGROUPS	STD	{
962		int linux_getgroups(
963		    l_int gidsetsize,
964		    l_gid_t *grouplist
965		);
966	}
967159	AUE_SETGROUPS	STD	{
968		int linux_setgroups(
969		    l_int gidsetsize,
970		    l_gid_t *grouplist
971		);
972	}
973160	AUE_NULL	STD	{
974		int linux_newuname(
975		    struct l_new_utsname *buf
976		);
977	}
978161	AUE_SYSCTL	STD	{
979		int linux_sethostname(
980		    char *hostname,
981		    l_uint len
982		);
983	}
984162	AUE_SYSCTL	STD	{
985		int linux_setdomainname(
986		    char *name,
987		    l_int len
988		);
989	}
990163	AUE_GETRLIMIT	STD	{
991		int linux_getrlimit(
992		    l_uint resource,
993		    struct l_rlimit *rlim
994		);
995	}
996164	AUE_SETRLIMIT	STD	{
997		int linux_setrlimit(
998		    l_uint resource,
999		    struct l_rlimit *rlim
1000		);
1001	}
1002165	AUE_GETRUSAGE	NOPROTO	{
1003		int getrusage(
1004		    int who,
1005		    struct rusage *rusage
1006		);
1007	}
1008166	AUE_UMASK	NOPROTO	{
1009		int umask(
1010		    int newmask
1011		);
1012	}
1013167	AUE_PRCTL	STD	{
1014		int linux_prctl(
1015		    l_int option,
1016		    l_uintptr_t arg2,
1017		    l_uintptr_t arg3,
1018		    l_uintptr_t arg4,
1019		    l_uintptr_t arg5
1020		);
1021	}
1022168	AUE_NULL	STD	{
1023		int linux_getcpu(
1024		    l_uint *cpu,
1025		    l_uint *node,
1026		    void *cache
1027		);
1028	}
1029169	AUE_NULL	NOPROTO	{
1030		int gettimeofday(
1031		    struct l_timeval *tp,
1032		    struct timezone *tzp
1033		);
1034	}
1035170	AUE_SETTIMEOFDAY	NOPROTO	{
1036		int settimeofday(
1037		    struct l_timeval *tv,
1038		    struct timezone *tzp
1039		);
1040	}
1041171	AUE_ADJTIME	STD	{
1042		int linux_adjtimex(void);
1043	}
1044172	AUE_GETPID	STD	{
1045		int linux_getpid(void);
1046	}
1047173	AUE_GETPPID	STD	{
1048		int linux_getppid(void);
1049	}
1050174	AUE_GETUID	STD	{
1051		int linux_getuid(void);
1052	}
1053175	AUE_GETEUID	NOPROTO	{
1054		int geteuid(void);
1055	}
1056176	AUE_GETGID	STD	{
1057		int linux_getgid(void);
1058	}
1059177	AUE_GETEGID	NOPROTO	{
1060		int getegid(void);
1061	}
1062178	AUE_NULL	STD	{
1063		int linux_gettid(void);
1064	}
1065179	AUE_NULL	STD	{
1066		int linux_sysinfo(
1067		    struct l_sysinfo *info
1068		);
1069	}
1070180	AUE_NULL	STD	{
1071		int linux_mq_open(
1072		    const char *name,
1073		    l_int oflag,
1074		    l_mode_t mode,
1075		    struct mq_attr *attr
1076		);
1077	}
1078181	AUE_NULL	STD	{
1079		int linux_mq_unlink(
1080		    const char *name
1081		);
1082	}
1083182	AUE_NULL	STD	{
1084		int linux_mq_timedsend(
1085		    l_mqd_t mqd,
1086		    const char *msg_ptr,
1087		    l_size_t msg_len,
1088		    l_uint msg_prio,
1089		    const struct l_timespec *abs_timeout
1090		);
1091	}
1092183	AUE_NULL	STD	{
1093		int linux_mq_timedreceive(
1094		    l_mqd_t mqd,
1095		    char *msg_ptr,
1096		    l_size_t msg_len,
1097		    l_uint *msg_prio,
1098		    const struct l_timespec *abs_timeout
1099		);
1100	}
1101184	AUE_NULL	STD	{
1102		int linux_mq_notify(
1103		    l_mqd_t mqd,
1104		    const struct l_timespec *abs_timeout
1105		);
1106	}
1107185	AUE_NULL	STD	{
1108		int linux_mq_getsetattr(
1109		    l_mqd_t mqd,
1110		    const struct mq_attr *attr,
1111		    struct mq_attr *oattr
1112		);
1113	}
1114186	AUE_NULL	STD	{
1115		int linux_msgget(
1116		    l_key_t key,
1117		    l_int msgflg
1118		);
1119	}
1120187	AUE_NULL	STD	{
1121		int linux_msgctl(
1122		    l_int msqid,
1123		    l_int cmd,
1124		    struct l_msqid_ds *buf
1125		);
1126	}
1127188	AUE_NULL	STD	{
1128		int linux_msgrcv(
1129		    l_int msqid,
1130		    struct l_msgbuf *msgp,
1131		    l_size_t msgsz,
1132		    l_long msgtyp,
1133		    l_int msgflg
1134		);
1135	}
1136189	AUE_NULL	STD	{
1137		int linux_msgsnd(
1138		    l_int msqid,
1139		    struct l_msgbuf *msgp,
1140		    l_size_t msgsz,
1141		    l_int msgflg
1142		);
1143	}
1144190	AUE_NULL	STD	{
1145		int linux_semget(
1146		    l_key_t key,
1147		    l_int nsems,
1148		    l_int semflg
1149		);
1150	}
1151191	AUE_NULL	STD	{
1152		int linux_semctl(
1153		    l_int semid,
1154		    l_int semnum,
1155		    l_int cmd,
1156		    union l_semun arg
1157		);
1158	}
1159192	AUE_NULL	STD	{
1160		int linux_semtimedop(
1161		    l_int semid,
1162		    struct sembuf *tsops,
1163		    l_size_t nsops,
1164		    struct l_timespec *timeout
1165		);
1166	}
1167193	AUE_NULL	NOPROTO	{
1168		int semop(
1169		    l_int semid,
1170		    struct sembuf *sops,
1171		    l_size_t nsops
1172		);
1173	}
1174194	AUE_NULL	STD	{
1175		int linux_shmget(
1176		    l_key_t key,
1177		    l_size_t size,
1178		    l_int shmflg
1179		);
1180	}
1181195	AUE_NULL	STD	{
1182		int linux_shmctl(
1183		    l_int shmid,
1184		    l_int cmd,
1185		    struct l_shmid_ds *buf
1186		);
1187	}
1188196	AUE_NULL	STD	{
1189		int linux_shmat(
1190		    l_int shmid,
1191		    char *shmaddr,
1192		    l_int shmflg
1193		);
1194	}
1195197	AUE_NULL	STD	{
1196		int linux_shmdt(
1197		    char *shmaddr
1198		);
1199	}
1200198	AUE_SOCKET	STD	{
1201		int linux_socket(
1202		    l_int domain,
1203		    l_int type,
1204		    l_int protocol
1205		);
1206	}
1207199	AUE_SOCKETPAIR	STD	{
1208		int linux_socketpair(
1209		    l_int domain,
1210		    l_int type,
1211		    l_int protocol,
1212		    l_uintptr_t rsv
1213		);
1214	}
1215200	AUE_BIND	STD	{
1216		int linux_bind(
1217		    l_int s,
1218		    l_uintptr_t name,
1219		    l_int namelen
1220		);
1221	}
1222201	AUE_LISTEN	STD	{
1223		int linux_listen(
1224		    l_int s,
1225		    l_int backlog
1226		);
1227	}
1228202	AUE_ACCEPT	STD	{
1229		int linux_accept(
1230		    l_int s,
1231		    l_uintptr_t addr,
1232		    l_uintptr_t namelen
1233		);
1234	}
1235203	AUE_CONNECT	STD	{
1236		int linux_connect(
1237		    l_int s,
1238		    l_uintptr_t name,
1239		    l_int namelen
1240		);
1241	}
1242204	AUE_GETSOCKNAME	STD	{
1243		int linux_getsockname(
1244		    l_int s,
1245		    l_uintptr_t addr,
1246		    l_uintptr_t namelen
1247		);
1248	}
1249205	AUE_GETPEERNAME	STD	{
1250		int linux_getpeername(
1251		    l_int s,
1252		    l_uintptr_t addr,
1253		    l_uintptr_t namelen
1254		);
1255	}
1256206	AUE_SENDTO	STD	{
1257		int linux_sendto(
1258		    l_int s,
1259		    l_uintptr_t msg,
1260		    l_size_t len,
1261		    l_uint flags,
1262		    l_uintptr_t to,
1263		    l_int tolen
1264		);
1265	}
1266207	AUE_RECVFROM	STD	{
1267		int linux_recvfrom(
1268		    l_int s,
1269		    l_uintptr_t buf,
1270		    l_size_t len,
1271		    l_uint flags,
1272		    l_uintptr_t from,
1273		    l_uintptr_t fromlen
1274		);
1275	}
1276208	AUE_SETSOCKOPT	STD	{
1277		int linux_setsockopt(
1278		    l_int s,
1279		    l_int level,
1280		    l_int optname,
1281		    l_uintptr_t optval,
1282		    l_int optlen
1283		);
1284	}
1285209	AUE_GETSOCKOPT	STD	{
1286		int linux_getsockopt(
1287		    l_int s,
1288		    l_int level,
1289		    l_int optname,
1290		    l_uintptr_t optval,
1291		    l_uintptr_t optlen
1292		);
1293	}
1294210	AUE_NULL	STD	{
1295		int linux_shutdown(
1296		    l_int s,
1297		    l_int how
1298		);
1299	}
1300211	AUE_SENDMSG	STD	{
1301		int linux_sendmsg(
1302		    l_int s,
1303		    l_uintptr_t msg,
1304		    l_uint flags
1305		);
1306	}
1307212	AUE_RECVMSG	STD	{
1308		int linux_recvmsg(
1309		    l_int s,
1310		    l_uintptr_t msg,
1311		    l_uint flags
1312		);
1313	}
1314213	AUE_NULL	UNIMPL	linux_readahead
1315214	AUE_NULL	STD	{
1316		int linux_brk(
1317		    l_ulong dsend
1318		);
1319	}
1320215	AUE_MUNMAP	NOPROTO	{
1321		int munmap(
1322		    void *addr,
1323		    l_size_t len
1324		);
1325	}
1326216	AUE_NULL	STD	{
1327		int linux_mremap(
1328		    l_ulong addr,
1329		    l_ulong old_len,
1330		    l_ulong new_len,
1331		    l_ulong flags,
1332		    l_ulong new_addr
1333		);
1334	}
1335217	AUE_NULL	STD	{
1336		int linux_add_key(void);
1337	}
1338218	AUE_NULL	STD	{
1339		int linux_request_key(void);
1340	}
1341219	AUE_NULL	STD	{
1342		int linux_keyctl(void);
1343	}
1344220	AUE_RFORK	STD	{
1345		int linux_clone(
1346		    l_ulong flags,
1347		    l_ulong stack,
1348		    l_int *parent_tidptr,
1349		    l_ulong tls,
1350		    l_int *child_tidptr
1351		);
1352	}
1353221	AUE_EXECVE	STD	{
1354		int linux_execve(
1355		    char *path,
1356		    char **argp,
1357		    char **envp
1358		);
1359	}
1360222	AUE_MMAP	STD	{
1361		int linux_mmap2(
1362		    l_ulong addr,
1363		    l_ulong len,
1364		    l_ulong prot,
1365		    l_ulong flags,
1366		    l_ulong fd,
1367		    l_ulong pgoff
1368		);
1369	}
1370223	AUE_NULL	STD	{
1371		int linux_fadvise64(
1372		    l_int fd,
1373		    l_loff_t offset,
1374		    l_size_t len,
1375		    l_int advice
1376		);
1377	}
1378224	AUE_SWAPON	NOPROTO	{
1379		int swapon(
1380		    char *name
1381		);
1382	}
1383225	AUE_SWAPOFF	STD	{
1384		int linux_swapoff(void);
1385	}
1386226	AUE_MPROTECT	STD	{
1387		int linux_mprotect(
1388		    l_ulong addr,
1389		    l_size_t len,
1390		    l_ulong prot
1391		);
1392	}
1393227	AUE_MSYNC	STD	{
1394		int linux_msync(
1395		    l_ulong addr,
1396		    l_size_t len,
1397		    l_int fl
1398		);
1399	}
1400228	AUE_MLOCK	NOPROTO	{
1401		int mlock(
1402		    const void *addr,
1403		    size_t len
1404		);
1405	}
1406229	AUE_MUNLOCK	NOPROTO	{
1407		int munlock(
1408		    const void *addr,
1409		    size_t len
1410		);
1411	}
1412230	AUE_MLOCKALL	NOPROTO	{
1413		int mlockall(
1414		    int how
1415		);
1416	}
1417231	AUE_MUNLOCKALL	NOPROTO	{
1418		int munlockall(void);
1419	}
1420232	AUE_MINCORE	STD	{
1421		int linux_mincore(
1422		    l_ulong start,
1423		    l_size_t len,
1424		    u_char *vec
1425		);
1426	}
1427233	AUE_MADVISE	STD	{
1428		int linux_madvise(
1429		    l_ulong addr,
1430		    l_size_t len,
1431		    l_int behav
1432		);
1433	}
1434234	AUE_NULL	STD	{
1435		int linux_remap_file_pages(void);
1436	}
1437235	AUE_NULL	STD	{
1438		int linux_mbind(void);
1439	}
1440236	AUE_NULL	STD	{
1441		int linux_get_mempolicy(void);
1442	}
1443237	AUE_NULL	STD	{
1444		int linux_set_mempolicy(void);
1445	}
1446238	AUE_NULL	STD	{
1447		int linux_migrate_pages(void);
1448	}
1449239	AUE_NULL	STD	{
1450		int linux_move_pages(void);
1451	}
1452240	AUE_NULL	STD	{
1453		int linux_rt_tgsigqueueinfo(
1454		    l_pid_t tgid,
1455		    l_pid_t tid,
1456		    l_int sig,
1457		    l_siginfo_t *uinfo
1458		);
1459	}
1460241	AUE_NULL	STD	{
1461		int linux_perf_event_open(void);
1462	}
1463242	AUE_ACCEPT	STD	{
1464		int linux_accept4(
1465		    l_int s,
1466		    l_uintptr_t addr,
1467		    l_uintptr_t namelen,
1468		    l_int flags
1469		);
1470	}
1471243	AUE_NULL	STD	{
1472		int linux_recvmmsg(
1473		    l_int s,
1474		    struct l_mmsghdr *msg,
1475		    l_uint vlen,
1476		    l_uint flags,
1477		    struct l_timespec *timeout
1478		);
1479	}
1480244-259	AUE_NULL	UNIMPL	unimpl_md_syscall
1481260	AUE_WAIT4	STD	{
1482		int linux_wait4(
1483		    l_pid_t pid,
1484		    l_int *status,
1485		    l_int options,
1486		    struct rusage *rusage
1487		);
1488	}
1489261	AUE_NULL	STD	{
1490		int linux_prlimit64(
1491		    l_pid_t pid,
1492		    l_uint resource,
1493		    struct rlimit *new,
1494		    struct rlimit *old
1495		);
1496	}
1497262	AUE_NULL	STD	{
1498		int linux_fanotify_init(void);
1499	}
1500263	AUE_NULL	STD	{
1501		int linux_fanotify_mark(void);
1502	}
1503264	AUE_NULL	STD	{
1504		int linux_name_to_handle_at(
1505		    l_int dirfd,
1506		    const char *name,
1507		    struct l_file_handle *handle,
1508		    l_int *mnt_id,
1509		    l_int flags
1510		);
1511	}
1512265	AUE_NULL	STD	{
1513		int linux_open_by_handle_at(
1514		    l_int mountdirfd,
1515		    struct l_file_handle *handle,
1516		    l_int flags
1517		);
1518	}
1519266	AUE_NULL	STD	{
1520		int linux_clock_adjtime(void);
1521	}
1522267	AUE_SYNC	STD	{
1523		int linux_syncfs(
1524		    l_int fd
1525		);
1526	}
1527268	AUE_NULL	STD	{
1528		int linux_setns(
1529		    l_int fd,
1530		    l_int nstype
1531		);
1532	}
1533269	AUE_NULL	STD	{
1534		int linux_sendmmsg(
1535		    l_int s,
1536		    struct l_mmsghdr *msg,
1537		    l_uint vlen,
1538		    l_uint flags
1539		);
1540	}
1541270	AUE_NULL	STD	{
1542		int linux_process_vm_readv(
1543		    l_pid_t pid,
1544		    const struct iovec *lvec,
1545		    l_ulong liovcnt,
1546		    const struct iovec *rvec,
1547		    l_ulong riovcnt,
1548		    l_ulong flags
1549		);
1550	}
1551271	AUE_NULL	STD	{
1552		int linux_process_vm_writev(
1553		    l_pid_t pid,
1554		    const struct iovec *lvec,
1555		    l_ulong liovcnt,
1556		    const struct iovec *rvec,
1557		    l_ulong riovcnt,
1558		    l_ulong flags
1559		);
1560	}
1561272	AUE_NULL	STD	{
1562		int linux_kcmp(
1563		    l_pid_t pid1,
1564		    l_pid_t pid2,
1565		    l_int type,
1566		    l_ulong idx1,
1567		    l_ulong idx
1568		);
1569	}
1570273	AUE_NULL	STD	{
1571		int linux_finit_module(
1572		    l_int fd,
1573		    const char *uargs,
1574		    l_int flags
1575		);
1576	}
1577274	AUE_NULL	STD	{
1578		int linux_sched_setattr(
1579		    l_pid_t pid,
1580		    void *attr,
1581		    l_uint flags
1582		);
1583	}
1584275	AUE_NULL	STD	{
1585		int linux_sched_getattr(
1586		    l_pid_t pid,
1587		    void *attr,
1588		    l_uint size,
1589		    l_uint flags
1590		);
1591	}
1592276	AUE_NULL	STD	{
1593		int linux_renameat2(
1594		    l_int olddfd,
1595		    const char *oldname,
1596		    l_int newdfd,
1597		    const char *newname,
1598		    l_uint flags
1599		);
1600	}
1601277	AUE_NULL	STD	{
1602		int linux_seccomp(
1603		    l_uint op,
1604		    l_uint flags,
1605		    const char *uargs
1606		);
1607	}
1608278	AUE_NULL	STD	{
1609		int linux_getrandom(
1610		    char *buf,
1611		    l_size_t count,
1612		    l_uint flags
1613		);
1614	}
1615279	AUE_NULL	STD	{
1616		int linux_memfd_create(
1617		    const char *uname_ptr,
1618		    l_uint flags
1619		);
1620	}
1621280	AUE_NULL	STD	{
1622		int linux_bpf(
1623		    l_int cmd,
1624		    void *attr,
1625		    l_uint size
1626		);
1627	}
1628281	AUE_NULL	STD	{
1629		int linux_execveat(
1630		    l_int dfd,
1631		    const char *filename,
1632		    const char **argv,
1633		    const char **envp,
1634		    l_int flags
1635		);
1636	}
1637282	AUE_NULL	STD	{
1638		int linux_userfaultfd(
1639		    l_int flags
1640		);
1641	}
1642283	AUE_NULL	STD	{
1643		int linux_membarrier(
1644		    l_int cmd,
1645		    l_int flags
1646		);
1647	}
1648284	AUE_NULL	STD	{
1649		int linux_mlock2(
1650		    l_ulong start,
1651		    l_size_t len,
1652		    l_int flags
1653		);
1654	}
1655285	AUE_NULL	STD	{
1656		int linux_copy_file_range(
1657		    l_int fd_in,
1658		    l_loff_t *off_in,
1659		    l_int fd_out,
1660		    l_loff_t *off_out,
1661		    l_size_t len,
1662		    l_uint flags
1663		);
1664	}
1665286	AUE_NULL	STD	{
1666		int linux_preadv2(
1667		    l_ulong fd,
1668		    const struct iovec *vec,
1669		    l_ulong vlen,
1670		    l_ulong pos_l,
1671		    l_ulong pos_h,
1672		    l_int flags
1673		);
1674	}
1675287	AUE_NULL	STD	{
1676		int linux_pwritev2(
1677		    l_ulong fd,
1678		    const struct iovec *vec,
1679		    l_ulong vlen,
1680		    l_ulong pos_l,
1681		    l_ulong pos_h,
1682		    l_int flags
1683		);
1684	}
1685288	AUE_NULL	STD	{
1686		int linux_pkey_mprotect(
1687		    l_ulong start,
1688		    l_size_t len,
1689		    l_ulong prot,
1690		    l_int pkey
1691		);
1692	}
1693289	AUE_NULL	STD	{
1694		int linux_pkey_alloc(
1695		    l_ulong flags,
1696		    l_ulong init_val
1697		);
1698	}
1699290	AUE_NULL	STD	{
1700		int linux_pkey_free(
1701		    l_int pkey
1702		);
1703	}
1704; Linux 4.11:
1705291    AUE_NULL		STD {
1706		int linux_statx(
1707		    l_int dirfd,
1708		    const char *pathname,
1709		    l_uint flags,
1710		    l_uint mask,
1711		    void *statxbuf
1712		);
1713	}
1714; Linux 4.18:
1715292    AUE_NULL		STD {
1716		int linux_io_pgetevents(void);
1717	}
1718293    AUE_NULL		STD {
1719		int linux_rseq(
1720		    struct linux_rseq *rseq,
1721		    uint32_t rseq_len,
1722		    l_int flags,
1723		    uint32_t sig
1724		);
1725	}
1726294    AUE_NULL		STD {
1727		int linux_kexec_file_load(void);
1728	}
1729295-423	AUE_NULL	UNIMPL	unimpl_md_syscall
1730424	AUE_NULL	STD {
1731		int linux_pidfd_send_signal(
1732		    l_int pidfd,
1733		    l_int sig,
1734		    l_siginfo_t *info,
1735		    l_uint flags
1736		);
1737	}
1738425	AUE_NULL	STD {
1739		int linux_io_uring_setup(void);
1740	}
1741426	AUE_NULL	STD {
1742		int linux_io_uring_enter(void);
1743	}
1744427	AUE_NULL	STD {
1745		int linux_io_uring_register(void);
1746	}
1747428    AUE_NULL		STD {
1748		int linux_open_tree(void);
1749	}
1750429    AUE_NULL		STD {
1751		int linux_move_mount(void);
1752	}
1753430    AUE_NULL		STD {
1754		int linux_fsopen(void);
1755	}
1756431    AUE_NULL		STD {
1757		int linux_fsconfig(void);
1758	}
1759432    AUE_NULL		STD {
1760		int linux_fsmount(void);
1761	}
1762433    AUE_NULL		STD {
1763		int linux_fspick(void);
1764	}
1765434    AUE_NULL		STD {
1766		int linux_pidfd_open(void);
1767	}
1768435    AUE_NULL		STD {
1769		int linux_clone3(
1770		    struct l_user_clone_args *uargs,
1771		    l_size_t usize
1772		);
1773	}
1774436    AUE_NULL		STD {
1775		int linux_close_range(void);
1776	}
1777437    AUE_NULL		STD {
1778		int linux_openat2(void);
1779	}
1780438    AUE_NULL		STD {
1781		int linux_pidfd_getfd(void);
1782	}
1783439    AUE_NULL		STD {
1784		int linux_faccessat2(
1785		    l_int dfd,
1786		    const char *filename,
1787		    l_int amode,
1788		    l_int flags
1789		);
1790	}
1791440    AUE_NULL		STD {
1792		int linux_process_madvise(void);
1793	}
1794441    AUE_NULL		STD {
1795		int linux_epoll_pwait2(
1796		    l_int epfd,
1797		    struct epoll_event *events,
1798		    l_int maxevents,
1799		    struct l_timespec *timeout,
1800		    l_sigset_t *mask,
1801		    l_size_t sigsetsize
1802		);
1803	}
1804442    AUE_NULL		STD {
1805		int linux_mount_setattr(void);
1806	}
1807; please, keep this line at the end.
1808443    AUE_NULL        UNIMPL  nosys
1809; vim: syntax=off
1810