xref: /freebsd/sys/arm64/linux/syscalls.master (revision 04dacd5691fb3de5fddd0868836c5a7ff9888370)
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's, #defines's, etc. may be included, and are copied to the output
7; files. However, #ifdef, etc will be copied, but any lines that don't start
8; with # will not. Caveat Emptor.
9
10#include <sys/param.h>
11#include <sys/sysent.h>
12#include <sys/sysproto.h>
13#include <compat/linux/linux_sysproto.h>
14#include <arm64/linux/linux.h>
15#include <arm64/linux/linux_proto.h>
16
17; Isn't pretty, but there seems to be no other way to trap nosys
18#define	nosys	linux_nosys
19
200	AUE_NULL	UNIMPL	linux_io_setup
211	AUE_NULL	UNIMPL	linux_io_destroy
222	AUE_NULL	UNIMPL	linux_io_submit
233	AUE_NULL	UNIMPL	linux_io_cancel
244	AUE_NULL	UNIMPL	linux_io_getevents
255	AUE_NULL	STD	{
26		int linux_setxattr(
27		    const char *path,
28		    const char *name,
29		    const char *value,
30		    l_size_t size,
31		    l_int flags
32		);
33	}
346	AUE_NULL	STD	{
35		int linux_lsetxattr(
36		    const char *path,
37		    const char *name,
38		    const char *value,
39		    l_size_t size,
40		    l_int flags
41		);
42	}
437	AUE_NULL	STD	{
44		int linux_fsetxattr(
45		    l_int fd,
46		    const char *name,
47		    const char *value,
48		    l_size_t size,
49		    l_int flags
50		);
51	}
528	AUE_NULL	STD	{
53		int linux_getxattr(
54		    const char *path,
55		    const char *name,
56		    char *value,
57		    l_size_t size
58		);
59	}
609	AUE_NULL	STD	{
61		int linux_lgetxattr(
62		    const char *path,
63		    const char *name,
64		    char *value,
65		    l_size_t size
66		);
67	}
6810	AUE_NULL	STD	{
69		int linux_fgetxattr(
70		    l_int fd,
71		    const char *name,
72		    char *value,
73		    l_size_t size
74		);
75	}
7611	AUE_NULL	STD	{
77		int linux_listxattr(
78		    const char *path,
79		    const char *list,
80		    l_size_t size
81		);
82	}
8312	AUE_NULL	STD	{
84		int linux_llistxattr(
85		    const char *path,
86		    const char *list,
87		    l_size_t size
88		);
89	}
9013	AUE_NULL	STD	{
91		int linux_flistxattr(
92		    l_int fd,
93		    const char *list,
94		    l_size_t size
95		);
96	}
9714	AUE_NULL	STD	{
98		int linux_removexattr(
99		    const char *path,
100		    const char *name
101		);
102	}
10315	AUE_NULL	STD	{
104		int linux_lremovexattr(
105		    const char *path,
106		    const char *name
107		);
108	}
10916	AUE_NULL	STD	{
110		int linux_fremovexattr(
111		    l_int fd,
112		    const char *name
113		);
114	}
11517	AUE_GETCWD	STD	{
116		int linux_getcwd(
117		    char *buf,
118		    l_ulong bufsize
119		);
120	}
12118	AUE_NULL	STD	{
122		 int linux_lookup_dcookie(void);
123	}
12419	AUE_NULL	STD	{
125		int linux_eventfd2(
126		    l_uint initval,
127		    l_int flags
128		);
129	}
13020	AUE_NULL	STD	{
131		int linux_epoll_create1(
132		    l_int flags
133		);
134	}
13521	AUE_NULL	STD	{
136		int linux_epoll_ctl(
137		    l_int epfd,
138		    l_int op,
139		    l_int fd,
140		    struct epoll_event *event
141		);
142	}
14322	AUE_NULL	STD     {
144		int linux_epoll_pwait(
145		    l_int epfd,
146		    struct epoll_event *events,
147		    l_int maxevents,
148		    l_int timeout,
149		    l_sigset_t *mask,
150		    l_size_t sigsetsize
151		);
152	}
15323	AUE_DUP		NOPROTO	{
154		int dup(
155		    u_int fd
156		);
157	}
15824	AUE_NULL	STD	{
159		int linux_dup3(
160		    l_int oldfd,
161		    l_int newfd,
162		    l_int flags
163		);
164	}
16525	AUE_FCNTL	STD	{
166		int linux_fcntl(
167		    l_uint fd,
168		    l_uint cmd,
169		    l_ulong arg
170		);
171	}
17226	AUE_NULL	STD	{
173		int linux_inotify_init1(
174		    l_int flags
175		);
176	}
17727	AUE_NULL	STD	{
178		int linux_inotify_add_watch(void);
179	}
18028	AUE_NULL	STD	{
181		int linux_inotify_rm_watch(void);
182	}
18329	AUE_IOCTL	STD	{
184		int linux_ioctl(
185		    l_uint fd,
186		    l_uint cmd,
187		    l_ulong arg
188		);
189	}
19030	AUE_NULL	STD	{
191		int linux_ioprio_set(void);
192	}
19331	AUE_NULL	STD	{
194		int linux_ioprio_get(void);
195	}
19632	AUE_FLOCK	NOPROTO	{
197		int flock(
198		    int fd,
199		    int how
200		);
201	}
20233	AUE_MKNODAT	STD	{
203		int linux_mknodat(
204		    l_int dfd,
205		    const char *filename,
206		    l_int mode,
207		    l_dev_t dev
208		);
209	}
21034	AUE_MKDIRAT	STD	{
211		int linux_mkdirat(
212		    l_int dfd,
213		    const char *pathname,
214		    l_mode_t mode
215		);
216	}
21735	AUE_UNLINKAT	STD	{
218		int linux_unlinkat(
219		    l_int dfd,
220		    const char *pathname,
221		    l_int flag
222		);
223	}
22436	AUE_SYMLINKAT	STD	{
225		int linux_symlinkat(
226		    const char *oldname,
227		    l_int newdfd,
228		    const char *newname
229		);
230	}
23137	AUE_LINKAT	STD	{
232		int linux_linkat(
233		    l_int olddfd,
234		    const char *oldname,
235		    l_int newdfd,
236		    const char *newname,
237		    l_int flag
238		);
239	}
24038	AUE_RENAMEAT	STD	{
241		int linux_renameat(
242		    l_int olddfd,
243		    const char *oldname,
244		    l_int newdfd,
245		    const char *newname
246		);
247	}
24839	AUE_NULL	UNIMPL	linux_umount2
24940	AUE_MOUNT	STD	{
250		int linux_mount(
251		    char *specialfile,
252		    char *dir,
253		    char *filesystemtype,
254		    l_ulong rwflag,
255		    void *data
256		);
257	}
25841	AUE_PIVOT_ROOT	STD	{
259		int linux_pivot_root(void);
260	}
26142	AUE_NULL	UNIMPL	nfsservctl
26243	AUE_STATFS	STD	{
263		int linux_statfs(
264		    char *path,
265		    struct l_statfs_buf *buf
266		);
267	}
26844	AUE_FSTATFS	STD	{
269		int linux_fstatfs(
270		    l_uint fd,
271		    struct l_statfs_buf *buf
272		);
273	}
27445	AUE_TRUNCATE	STD	{
275		int linux_truncate(
276		    char *path,
277		    l_ulong length
278		);
279	}
28046	AUE_FTRUNCATE	STD	{
281		int linux_ftruncate(
282		    l_int fd,
283		    l_long length
284		);
285	}
28647	AUE_NULL	STD	{
287		int linux_fallocate(
288		    l_int fd,
289		    l_int mode,
290		    l_loff_t offset,
291		    l_loff_t len
292		);
293	}
29448	AUE_FACCESSAT	STD	{
295		int linux_faccessat(
296		    l_int dfd,
297		    const char *filename,
298		    l_int amode
299		);
300	}
30149	AUE_CHDIR	STD	{
302		int linux_chdir(
303		    char *path
304		);
305	}
30650	AUE_FCHDIR	NOPROTO	{
307		int fchdir(
308		    int fd
309		);
310	}
31151	AUE_CHROOT	NOPROTO	{
312		int chroot(
313		    char *path
314		);
315	}
31652	AUE_FCHMOD	NOPROTO	{
317		int fchmod(
318		    int fd,
319		    int mode
320		);
321	}
32253	AUE_FCHMODAT	STD	{
323		int linux_fchmodat(
324		    l_int dfd,
325		    const char *filename,
326		    l_mode_t mode
327		);
328	}
32954	AUE_FCHOWNAT	STD	{
330		int linux_fchownat(
331		    l_int dfd,
332		    const char *filename,
333		    l_uid_t uid,
334		    l_gid_t gid,
335		    l_int flag
336		);
337	}
33855	AUE_FCHOWN	NOPROTO	{
339		int fchown(
340		    int fd,
341		    int uid,
342		    int gid
343		);
344	}
34556	AUE_OPEN_RWTC	STD	{
346		int linux_openat(
347		    l_int dfd,
348		    const char *filename,
349		    l_int flags,
350		    l_mode_t mode
351		);
352	}
35357	AUE_CLOSE	NOPROTO	{
354		int close(
355		    int fd
356		);
357	}
35858	AUE_NULL	STD	{
359		int linux_vhangup(void);
360	}
36159	AUE_NULL	STD	{
362		int linux_pipe2(
363		    l_int *pipefds,
364		    l_int flags
365		);
366	}
36760	AUE_NULL	UNIMPL	linux_quotactl
36861	AUE_GETDIRENTRIES	STD {
369		int linux_getdents64(
370		    l_uint fd,
371		    void *dirent,
372		    l_uint count
373		);
374	}
37562	AUE_LSEEK	STD	{
376		int linux_lseek(
377		    l_uint fdes,
378		    l_off_t off,
379		    l_int whence
380		);
381	}
38263	AUE_NULL	NOPROTO	{
383		int read(
384		    int fd,
385		    char *buf,
386		    l_size_t nbyte
387		);
388	}
38964	AUE_NULL	NOPROTO {
390		int write(
391		    int fd,
392		    char *buf,
393		    l_size_t nbyte
394		);
395	}
39665	AUE_READV	NOPROTO	{
397		int readv(
398		    int fd,
399		    struct iovec *iovp,
400		    u_int iovcnt
401		);
402	}
40366	AUE_WRITEV	NOPROTO	{
404		int writev(
405		    int fd,
406		    struct iovec *iovp,
407		    u_int iovcnt
408		);
409	}
41067	AUE_PREAD	STD	{
411		int linux_pread(
412		    l_uint fd,
413		    char *buf,
414		    l_size_t nbyte,
415		    l_loff_t offset
416		);
417	}
41868	AUE_PWRITE	STD	{
419		int linux_pwrite(
420		    l_uint fd,
421		    char *buf,
422		    l_size_t nbyte,
423		    l_loff_t offset
424		);
425	}
42669	AUE_NULL	STD	{
427		int linux_preadv(
428		    l_ulong fd,
429		    struct iovec *vec,
430		    l_ulong vlen,
431		    l_ulong pos_l,
432		    l_ulong pos_h
433		);
434	}
43570	AUE_NULL	STD	{
436		int linux_pwritev(
437		    l_ulong fd,
438		    struct iovec *vec,
439		    l_ulong vlen,
440		    l_ulong pos_l,
441		    l_ulong pos_h
442		);
443	}
44471	AUE_SENDFILE	STD	{
445		int linux_sendfile(
446		    l_int out,
447		    l_int in,
448		    l_off_t *offset,
449		    l_size_t count
450		);
451	}
45272	AUE_SELECT	STD	{
453		int linux_pselect6(
454		    l_int nfds,
455		    l_fd_set *readfds,
456		    l_fd_set *writefds,
457		    l_fd_set *exceptfds,
458		    struct l_timespec *tsp,
459		    l_uintptr_t *sig
460		);
461	}
46273	AUE_POLL	STD	{
463		int linux_ppoll(
464		    struct pollfd *fds,
465		    l_uint nfds,
466		    struct l_timespec *tsp,
467		    l_sigset_t *sset,
468		    l_size_t ssize
469		);
470	}
47174	AUE_NULL	STD	{
472		int linux_signalfd4(void);
473	}
47475	AUE_NULL	STD	{
475		int linux_vmsplice(void);
476	}
47776	AUE_NULL	STD	{
478		int linux_splice(
479		    int fd_in,
480		    l_loff_t *off_in,
481		    int fd_out,
482		    l_loff_t *off_out,
483		    l_size_t len,
484		    l_uint flags
485		);
486	}
48777	AUE_NULL	STD	{
488		int linux_tee(void);
489	}
49078	AUE_READLINKAT	STD	{
491		int linux_readlinkat(
492		    l_int dfd,
493		    const char *path,
494		    char *buf,
495		    l_int bufsiz
496		);
497	}
49879	AUE_FSTATAT	STD	{
499		int linux_newfstatat(
500		    l_int dfd,
501		    char *pathname,
502		    struct l_stat64 *statbuf,
503		    l_int flag
504		);
505	}
50680	AUE_FSTAT	STD	{
507		int linux_newfstat(
508		    l_uint fd,
509		    struct l_newstat *buf
510		);
511	}
51281	AUE_NULL	UNIMPL	linux_sync
51382	AUE_FSYNC	NOPROTO	{
514		int fsync(
515		    int fd
516		);
517	}
51883	AUE_NULL	STD	{
519		int linux_fdatasync(
520		    l_uint fd
521		);
522	}
52384	AUE_NULL	STD	{
524		int linux_sync_file_range(
525		    l_int fd,
526		    l_loff_t offset,
527		    l_loff_t nbytes,
528		    l_uint flags
529		);
530	}
53185	AUE_NULL	STD	{
532		int linux_timerfd_create(
533		    l_int clockid,
534		    l_int flags
535		);
536	}
53786	AUE_NULL	STD	{
538		int linux_timerfd_settime(
539		    l_int fd,
540		    l_int flags,
541		    const struct l_itimerspec *new_value,
542		    struct l_itimerspec *old_value
543		);
544	}
54587	AUE_NULL	STD	{
546		int linux_timerfd_gettime(
547		    l_int fd,
548		    struct l_itimerspec *old_value
549		);
550	}
55188	AUE_FUTIMESAT	STD	{
552		int linux_utimensat(
553		    l_int dfd,
554		    const char *pathname,
555		    const struct l_timespec *times,
556		    l_int flags
557		);
558	}
55989	AUE_ACCT	NOPROTO	{
560		int acct(
561		    char *path
562		);
563	}
56490	AUE_CAPGET	STD	{
565		int linux_capget(
566		    struct l_user_cap_header *hdrp,
567		    struct l_user_cap_data *datap
568		);
569	}
57091	AUE_CAPSET	STD	{
571		int linux_capset(
572		    struct l_user_cap_header *hdrp,
573		    struct l_user_cap_data *datap
574		);
575	}
57692	AUE_PERSONALITY	STD	{
577		int linux_personality(
578		    l_uint per
579		);
580	}
58193	AUE_EXIT	STD	{
582		int linux_exit(
583		    u_int rval
584		);
585	}
58694	AUE_EXIT	STD	{
587		int linux_exit_group(
588		    l_int error_code
589		);
590	}
59195	AUE_WAIT6	STD	{
592		int linux_waitid(
593		    l_int idtype,
594		    l_pid_t id,
595		    l_siginfo_t *info,
596		    l_int options,
597		    struct rusage *rusage
598		);
599	}
60096	AUE_NULL	STD	{
601		int linux_set_tid_address(
602		    l_int *tidptr
603		);
604	}
60597	AUE_NULL	STD	{
606		int linux_unshare(void);
607	}
60898	AUE_NULL	STD	{
609		int linux_sys_futex(
610		    uint32_t *uaddr,
611		    l_int op,
612		    uint32_t val,
613		    struct l_timespec *timeout,
614		    uint32_t *uaddr2,
615		    uint32_t val3
616		);
617	}
61899	AUE_NULL	STD	{
619		int linux_set_robust_list(
620		    struct linux_robust_list_head *head,
621		    l_size_t len
622		);
623	}
624100	AUE_NULL	STD	{
625		int linux_get_robust_list(
626		    l_int pid,
627		    struct linux_robust_list_head **head,
628		    l_size_t *len
629		);
630	}
631101	AUE_NULL	STD	{
632		int linux_nanosleep(
633		    const struct l_timespec *rqtp,
634		    struct l_timespec *rmtp
635		);
636	}
637102	AUE_GETITIMER	STD	{
638		int linux_getitimer(
639		    l_int which,
640		    struct l_itimerval *itv
641		);
642	}
643103	AUE_SETITIMER	STD	{
644		int linux_setitimer(
645		    l_int which,
646		    struct l_itimerval *itv,
647		    struct l_itimerval *oitv
648		);
649	}
650104	AUE_NULL	STD	{
651		int linux_kexec_load(void);
652	}
653105	AUE_NULL	STD	{
654		int linux_init_module(void);
655	}
656106	AUE_NULL	STD	{
657		int linux_delete_module(void);
658	}
659107	AUE_NULL	STD	{
660		int linux_timer_create(
661		    clockid_t clock_id,
662		    struct sigevent *evp,
663		    l_timer_t *timerid
664		);
665	}
666108	AUE_NULL	STD	{
667		int linux_timer_gettime(
668		    l_timer_t timerid,
669		    struct itimerspec *setting
670		);
671	}
672109	AUE_NULL	STD	{
673		int linux_timer_getoverrun(
674		    l_timer_t timerid
675		);
676	}
677110	AUE_NULL	STD	{
678		int linux_timer_settime(
679		    l_timer_t timerid,
680		    l_int flags,
681		    const struct itimerspec *new,
682		    struct itimerspec *old
683		);
684	}
685111	AUE_NULL	STD	{
686		int linux_timer_delete(
687		    l_timer_t timerid
688		);
689	}
690112	AUE_CLOCK_SETTIME	STD	{
691		int linux_clock_settime(
692		    clockid_t which,
693		    struct l_timespec *tp
694		);
695	}
696113	AUE_NULL	STD	{
697		int linux_clock_gettime(
698		    clockid_t which,
699		    struct l_timespec *tp
700		);
701	}
702114	AUE_NULL	STD	{
703		int linux_clock_getres(
704		    clockid_t which,
705		    struct l_timespec *tp
706		);
707	}
708115	AUE_NULL	STD	{
709		int linux_clock_nanosleep(
710		    clockid_t which,
711		    l_int flags,
712		    struct l_timespec *rqtp,
713		    struct l_timespec *rmtp
714		);
715	}
716116	AUE_NULL	STD	{
717		int linux_syslog(
718		    l_int type,
719		    char *buf,
720		    l_int len
721		);
722	}
723117	AUE_PTRACE	STD	{
724		int linux_ptrace(
725		    l_long req,
726		    l_long pid,
727		    l_ulong addr,
728		    l_ulong data
729		);
730	}
731118	AUE_SCHED_SETPARAM	STD	{
732		int linux_sched_setparam(
733		    l_pid_t pid,
734		    struct sched_param *param
735		);
736	}
737119	AUE_SCHED_SETSCHEDULER	STD {
738		int linux_sched_setscheduler(
739		    l_pid_t pid,
740		    l_int policy,
741		    struct sched_param *param
742		);
743	}
744120	AUE_SCHED_GETSCHEDULER	STD {
745		int linux_sched_getscheduler(
746		    l_pid_t pid
747		);
748	}
749121	AUE_SCHED_GETPARAM	STD	{
750		int linux_sched_getparam(
751		    l_pid_t pid,
752		    struct sched_param *param
753		);
754	}
755122	AUE_NULL	STD	{
756		int linux_sched_setaffinity(
757		    l_pid_t pid,
758		    l_uint len,
759		    l_ulong *user_mask_ptr
760		);
761	}
762123	AUE_NULL	STD	{
763		int linux_sched_getaffinity(
764		    l_pid_t pid,
765		    l_uint len,
766		    l_ulong *user_mask_ptr
767		);
768	}
769124	AUE_NULL	NOPROTO	{
770		int sched_yield(void);
771	}
772125	AUE_SCHED_GET_PRIORITY_MAX	STD {
773		int linux_sched_get_priority_max(
774		    l_int policy
775		);
776	}
777126	AUE_SCHED_GET_PRIORITY_MIN	STD {
778		int linux_sched_get_priority_min(
779		    l_int policy
780		);
781	}
782127	AUE_SCHED_RR_GET_INTERVAL	STD {
783		int linux_sched_rr_get_interval(
784		    l_pid_t pid,
785		    struct l_timespec *interval
786		);
787	}
788128	AUE_NULL	UNIMPL	restart_syscall
789129	AUE_KILL	STD	{
790		int linux_kill(
791		    l_pid_t pid,
792		    l_int signum
793		);
794	}
795130	AUE_NULL	STD	{
796		int linux_tkill(
797		    l_pid_t tid,
798		    l_int sig
799		);
800	}
801131	AUE_NULL	STD	{
802		int linux_tgkill(
803		    l_pid_t tgid,
804		    l_pid_t pid,
805		    l_int sig
806		);
807	}
808132	AUE_NULL	STD	{
809		int linux_sigaltstack(
810		    l_stack_t *uss,
811		    l_stack_t *uoss
812		);
813	}
814133	AUE_NULL	STD	{
815		int linux_rt_sigsuspend(
816		    l_sigset_t *newset,
817		    l_size_t sigsetsize
818		);
819	}
820134	AUE_NULL	STD	{
821		int linux_rt_sigaction(
822		    l_int sig,
823		    l_sigaction_t *act,
824		    l_sigaction_t *oact,
825		    l_size_t sigsetsize
826		);
827	}
828135	AUE_NULL	STD	{
829		int linux_rt_sigprocmask(
830		    l_int how,
831		    l_sigset_t *mask,
832		    l_sigset_t *omask,
833		    l_size_t sigsetsize
834		);
835	}
836136	AUE_NULL	STD	{
837		int linux_rt_sigpending(
838		    l_sigset_t *set,
839		    l_size_t sigsetsize
840		);
841	}
842137	AUE_NULL	STD	{
843		int linux_rt_sigtimedwait(
844		    l_sigset_t *mask,
845		    l_siginfo_t *ptr,
846		    struct l_timespec *timeout,
847		    l_size_t sigsetsize
848		);
849	}
850138	AUE_NULL	STD	{
851		int linux_rt_sigqueueinfo(
852		    l_pid_t pid,
853		    l_int sig,
854		    l_siginfo_t *info
855		);
856	}
857139	AUE_NULL	STD	{
858		int linux_rt_sigreturn(void);
859	}
860140	AUE_SETPRIORITY	NOPROTO	{
861		int setpriority(
862		    int which,
863		    int who,
864		    int prio
865		);
866	}
867141	AUE_GETPRIORITY	STD	{
868		int linux_getpriority(
869		    l_int which,
870		    l_int who
871		);
872	}
873142	AUE_REBOOT	STD	{
874		int linux_reboot(
875		    l_int magic1,
876		    l_int magic2,
877		    l_uint cmd,
878		    void *arg
879		);
880	}
881143	AUE_SETREGID	NOPROTO	{
882		int setregid(
883		    gid_t rgid,
884		    gid_t egid
885		);
886	}
887144	AUE_SETGID	NOPROTO	{
888		int setgid(
889		    gid_t gid
890		);
891	}
892145	AUE_SETREUID	NOPROTO	{
893		int setreuid(
894		    uid_t ruid,
895		    uid_t euid
896		);
897	}
898146	AUE_SETUID	NOPROTO	{
899		int setuid(
900		    uid_t uid
901		);
902	}
903147	AUE_SETRESUID	NOPROTO	{
904		int setresuid(
905		    uid_t ruid,
906		    uid_t euid,
907		    uid_t suid
908		);
909	}
910148	AUE_GETRESUID	NOPROTO	{
911		int getresuid(
912		    uid_t *ruid,
913		    uid_t *euid,
914		    uid_t *suid
915		);
916	}
917149	AUE_SETRESGID	NOPROTO	{
918		int setresgid(
919		    gid_t rgid,
920		    gid_t egid,
921		    gid_t sgid
922		);
923	}
924150	AUE_GETRESGID	NOPROTO	{
925		int getresgid(
926		    gid_t *rgid,
927		    gid_t *egid,
928		    gid_t *sgid
929		);
930	}
931151	AUE_SETFSUID	STD	{
932		int linux_setfsuid(
933		    l_uid_t uid
934		);
935	}
936152	AUE_SETFSGID	STD	{
937		int linux_setfsgid(
938		    l_gid_t gid
939		);
940	}
941153	AUE_NULL	STD	{
942		int linux_times(
943		    struct l_times_argv *buf
944		);
945	}
946154	AUE_SETPGRP	NOPROTO	{
947		int setpgid(
948		    int pid,
949		    int pgid
950		);
951	}
952155	AUE_GETPGID	NOPROTO	{
953		int getpgid(
954		    int pid
955		);
956	}
957156	AUE_GETSID	STD	{
958		int linux_getsid(
959		    l_pid_t pid
960		);
961	}
962157	AUE_SETSID	NOPROTO	{
963		int setsid(void);
964	}
965158	AUE_GETGROUPS	STD	{
966		int linux_getgroups(
967		    l_int gidsetsize,
968		    l_gid_t *grouplist
969		);
970	}
971159	AUE_SETGROUPS	STD	{
972		int linux_setgroups(
973		    l_int gidsetsize,
974		    l_gid_t *grouplist
975		);
976	}
977160	AUE_NULL	STD	{
978		int linux_newuname(
979		    struct l_new_utsname *buf
980		);
981	}
982161	AUE_SYSCTL	STD	{
983		int linux_sethostname(
984		    char *hostname,
985		    l_uint len
986		);
987	}
988162	AUE_SYSCTL	STD	{
989		int linux_setdomainname(
990		    char *name,
991		    l_int len
992		);
993	}
994163	AUE_GETRLIMIT	STD	{
995		int linux_getrlimit(
996		    l_uint resource,
997		    struct l_rlimit *rlim
998		);
999	}
1000164	AUE_SETRLIMIT	STD	{
1001		int linux_setrlimit(
1002		    l_uint resource,
1003		    struct l_rlimit *rlim
1004		);
1005	}
1006165	AUE_GETRUSAGE	NOPROTO	{
1007		int getrusage(
1008		    int who,
1009		    struct rusage *rusage
1010		);
1011	}
1012166	AUE_UMASK	NOPROTO	{
1013		int umask(
1014		    int newmask
1015		);
1016	}
1017167	AUE_PRCTL	STD	{
1018		int linux_prctl(
1019		    l_int option,
1020		    l_uintptr_t arg2,
1021		    l_uintptr_t arg3,
1022		    l_uintptr_t arg4,
1023		    l_uintptr_t arg5
1024		);
1025	}
1026168	AUE_NULL	STD	{
1027		int linux_getcpu(
1028		    l_uint *cpu,
1029		    l_uint *node,
1030		    void *cache
1031		);
1032	}
1033169	AUE_NULL	NOPROTO	{
1034		int gettimeofday(
1035		    struct l_timeval *tp,
1036		    struct timezone *tzp
1037		);
1038	}
1039170	AUE_SETTIMEOFDAY	NOPROTO	{
1040		int settimeofday(
1041		    struct l_timeval *tv,
1042		    struct timezone *tzp
1043		);
1044	}
1045171	AUE_ADJTIME	STD	{
1046		int linux_adjtimex(void);
1047	}
1048172	AUE_GETPID	STD	{
1049		int linux_getpid(void);
1050	}
1051173	AUE_GETPPID	STD	{
1052		int linux_getppid(void);
1053	}
1054174	AUE_GETUID	STD	{
1055		int linux_getuid(void);
1056	}
1057175	AUE_GETEUID	NOPROTO	{
1058		int geteuid(void);
1059	}
1060176	AUE_GETGID	STD	{
1061		int linux_getgid(void);
1062	}
1063177	AUE_GETEGID	NOPROTO	{
1064		int getegid(void);
1065	}
1066178	AUE_NULL	STD	{
1067		int linux_gettid(void);
1068	}
1069179	AUE_NULL	STD	{
1070		int linux_sysinfo(
1071		    struct l_sysinfo *info
1072		);
1073	}
1074180	AUE_NULL	STD	{
1075		int linux_mq_open(
1076		    const char *name,
1077		    l_int oflag,
1078		    l_mode_t mode,
1079		    struct mq_attr *attr
1080		);
1081	}
1082181	AUE_NULL	STD	{
1083		int linux_mq_unlink(
1084		    const char *name
1085		);
1086	}
1087182	AUE_NULL	STD	{
1088		int linux_mq_timedsend(
1089		    l_mqd_t mqd,
1090		    const char *msg_ptr,
1091		    l_size_t msg_len,
1092		    l_uint msg_prio,
1093		    const struct l_timespec *abs_timeout
1094		);
1095	}
1096183	AUE_NULL	STD	{
1097		int linux_mq_timedreceive(
1098		    l_mqd_t mqd,
1099		    char *msg_ptr,
1100		    l_size_t msg_len,
1101		    l_uint *msg_prio,
1102		    const struct l_timespec *abs_timeout
1103		);
1104	}
1105184	AUE_NULL	STD	{
1106		int linux_mq_notify(
1107		    l_mqd_t mqd,
1108		    const struct l_timespec *abs_timeout
1109		);
1110	}
1111185	AUE_NULL	STD	{
1112		int linux_mq_getsetattr(
1113		    l_mqd_t mqd,
1114		    const struct mq_attr *attr,
1115		    struct mq_attr *oattr
1116		);
1117	}
1118186	AUE_NULL	STD	{
1119		int linux_msgget(
1120		    l_key_t key,
1121		    l_int msgflg
1122		);
1123	}
1124187	AUE_NULL	STD	{
1125		int linux_msgctl(
1126		    l_int msqid,
1127		    l_int cmd,
1128		    struct l_msqid_ds *buf
1129		);
1130	}
1131188	AUE_NULL	STD	{
1132		int linux_msgrcv(
1133		    l_int msqid,
1134		    struct l_msgbuf *msgp,
1135		    l_size_t msgsz,
1136		    l_long msgtyp,
1137		    l_int msgflg
1138		);
1139	}
1140189	AUE_NULL	STD	{
1141		int linux_msgsnd(
1142		    l_int msqid,
1143		    struct l_msgbuf *msgp,
1144		    l_size_t msgsz,
1145		    l_int msgflg
1146		);
1147	}
1148190	AUE_NULL	STD	{
1149		int linux_semget(
1150		    l_key_t key,
1151		    l_int nsems,
1152		    l_int semflg
1153		);
1154	}
1155191	AUE_NULL	STD	{
1156		int linux_semctl(
1157		    l_int semid,
1158		    l_int semnum,
1159		    l_int cmd,
1160		    union l_semun arg
1161		);
1162	}
1163192	AUE_NULL	STD	{
1164		int linux_semtimedop(
1165		    l_int semid,
1166		    struct sembuf *tsops,
1167		    l_size_t nsops,
1168		    struct l_timespec *timeout
1169		);
1170	}
1171193	AUE_NULL	NOPROTO	{
1172		int semop(
1173		    l_int semid,
1174		    struct sembuf *sops,
1175		    l_size_t nsops
1176		);
1177	}
1178194	AUE_NULL	STD	{
1179		int linux_shmget(
1180		    l_key_t key,
1181		    l_size_t size,
1182		    l_int shmflg
1183		);
1184	}
1185195	AUE_NULL	STD	{
1186		int linux_shmctl(
1187		    l_int shmid,
1188		    l_int cmd,
1189		    struct l_shmid_ds *buf
1190		);
1191	}
1192196	AUE_NULL	STD	{
1193		int linux_shmat(
1194		    l_int shmid,
1195		    char *shmaddr,
1196		    l_int shmflg
1197		);
1198	}
1199197	AUE_NULL	STD	{
1200		int linux_shmdt(
1201		    char *shmaddr
1202		);
1203	}
1204198	AUE_SOCKET	STD	{
1205		int linux_socket(
1206		    l_int domain,
1207		    l_int type,
1208		    l_int protocol
1209		);
1210	}
1211199	AUE_SOCKETPAIR	STD	{
1212		int linux_socketpair(
1213		    l_int domain,
1214		    l_int type,
1215		    l_int protocol,
1216		    l_uintptr_t rsv
1217		);
1218	}
1219200	AUE_BIND	STD	{
1220		int linux_bind(
1221		    l_int s,
1222		    l_uintptr_t name,
1223		    l_int namelen
1224		);
1225	}
1226201	AUE_LISTEN	STD	{
1227		int linux_listen(
1228		    l_int s,
1229		    l_int backlog
1230		);
1231	}
1232202	AUE_ACCEPT	STD	{
1233		int linux_accept(
1234		    l_int s,
1235		    l_uintptr_t addr,
1236		    l_uintptr_t namelen
1237		);
1238	}
1239203	AUE_CONNECT	STD	{
1240		int linux_connect(
1241		    l_int s,
1242		    l_uintptr_t name,
1243		    l_int namelen
1244		);
1245	}
1246204	AUE_GETSOCKNAME	STD	{
1247		int linux_getsockname(
1248		    l_int s,
1249		    l_uintptr_t addr,
1250		    l_uintptr_t namelen
1251		);
1252	}
1253205	AUE_GETPEERNAME	STD	{
1254		int linux_getpeername(
1255		    l_int s,
1256		    l_uintptr_t addr,
1257		    l_uintptr_t namelen
1258		);
1259	}
1260206	AUE_SENDTO	STD	{
1261		int linux_sendto(
1262		    l_int s,
1263		    l_uintptr_t msg,
1264		    l_size_t len,
1265		    l_uint flags,
1266		    l_uintptr_t to,
1267		    l_int tolen
1268		);
1269	}
1270207	AUE_RECVFROM	STD	{
1271		int linux_recvfrom(
1272		    l_int s,
1273		    l_uintptr_t buf,
1274		    l_size_t len,
1275		    l_uint flags,
1276		    l_uintptr_t from,
1277		    l_uintptr_t fromlen
1278		);
1279	}
1280208	AUE_SETSOCKOPT	STD	{
1281		int linux_setsockopt(
1282		    l_int s,
1283		    l_int level,
1284		    l_int optname,
1285		    l_uintptr_t optval,
1286		    l_int optlen
1287		);
1288	}
1289209	AUE_GETSOCKOPT	STD	{
1290		int linux_getsockopt(
1291		    l_int s,
1292		    l_int level,
1293		    l_int optname,
1294		    l_uintptr_t optval,
1295		    l_uintptr_t optlen
1296		);
1297	}
1298210	AUE_NULL	STD	{
1299		int linux_shutdown(
1300		    l_int s,
1301		    l_int how
1302		);
1303	}
1304211	AUE_SENDMSG	STD	{
1305		int linux_sendmsg(
1306		    l_int s,
1307		    l_uintptr_t msg,
1308		    l_uint flags
1309		);
1310	}
1311212	AUE_RECVMSG	STD	{
1312		int linux_recvmsg(
1313		    l_int s,
1314		    l_uintptr_t msg,
1315		    l_uint flags
1316		);
1317	}
1318213	AUE_NULL	UNIMPL	linux_readahead
1319214	AUE_NULL	STD	{
1320		int linux_brk(
1321		    l_ulong dsend
1322		);
1323	}
1324215	AUE_MUNMAP	NOPROTO	{
1325		int munmap(
1326		    void *addr,
1327		    l_size_t len
1328		);
1329	}
1330216	AUE_NULL	STD	{
1331		int linux_mremap(
1332		    l_ulong addr,
1333		    l_ulong old_len,
1334		    l_ulong new_len,
1335		    l_ulong flags,
1336		    l_ulong new_addr
1337		);
1338	}
1339217	AUE_NULL	STD	{
1340		int linux_add_key(void);
1341	}
1342218	AUE_NULL	STD	{
1343		int linux_request_key(void);
1344	}
1345219	AUE_NULL	STD	{
1346		int linux_keyctl(void);
1347	}
1348220	AUE_RFORK	STD	{
1349		int linux_clone(
1350		    l_ulong flags,
1351		    l_ulong stack,
1352		    l_int *parent_tidptr,
1353		    l_ulong tls,
1354		    l_int *child_tidptr
1355		);
1356	}
1357221	AUE_EXECVE	STD	{
1358		int linux_execve(
1359		    char *path,
1360		    char **argp,
1361		    char **envp
1362		);
1363	}
1364222	AUE_MMAP	STD	{
1365		int linux_mmap2(
1366		    l_ulong addr,
1367		    l_ulong len,
1368		    l_ulong prot,
1369		    l_ulong flags,
1370		    l_ulong fd,
1371		    l_ulong pgoff
1372		);
1373	}
1374223	AUE_NULL	STD	{
1375		int linux_fadvise64(
1376		    l_int fd,
1377		    l_loff_t offset,
1378		    l_size_t len,
1379		    l_int advice
1380		);
1381	}
1382224	AUE_SWAPON	NOPROTO	{
1383		int swapon(
1384		    char *name
1385		);
1386	}
1387225	AUE_SWAPOFF	STD	{
1388		int linux_swapoff(void);
1389	}
1390226	AUE_MPROTECT	STD	{
1391		int linux_mprotect(
1392		    l_ulong addr,
1393		    l_size_t len,
1394		    l_ulong prot
1395		);
1396	}
1397227	AUE_MSYNC	STD	{
1398		int linux_msync(
1399		    l_ulong addr,
1400		    l_size_t len,
1401		    l_int fl
1402		);
1403	}
1404228	AUE_MLOCK	NOPROTO	{
1405		int mlock(
1406		    const void *addr,
1407		    size_t len
1408		);
1409	}
1410229	AUE_MUNLOCK	NOPROTO	{
1411		int munlock(
1412		    const void *addr,
1413		    size_t len
1414		);
1415	}
1416230	AUE_MLOCKALL	NOPROTO	{
1417		int mlockall(
1418		    int how
1419		);
1420	}
1421231	AUE_MUNLOCKALL	NOPROTO	{
1422		int munlockall(void);
1423	}
1424232	AUE_MINCORE	STD	{
1425		int linux_mincore(
1426		    l_ulong start,
1427		    l_size_t len,
1428		    u_char *vec
1429		);
1430	}
1431233	AUE_MADVISE	STD	{
1432		int linux_madvise(
1433		    l_ulong addr,
1434		    l_size_t len,
1435		    l_int behav
1436		);
1437	}
1438234	AUE_NULL	STD	{
1439		int linux_remap_file_pages(void);
1440	}
1441235	AUE_NULL	STD	{
1442		int linux_mbind(void);
1443	}
1444236	AUE_NULL	STD	{
1445		int linux_get_mempolicy(void);
1446	}
1447237	AUE_NULL	STD	{
1448		int linux_set_mempolicy(void);
1449	}
1450238	AUE_NULL	STD	{
1451		int linux_migrate_pages(void);
1452	}
1453239	AUE_NULL	STD	{
1454		int linux_move_pages(void);
1455	}
1456240	AUE_NULL	STD	{
1457		int linux_rt_tgsigqueueinfo(
1458		    l_pid_t tgid,
1459		    l_pid_t tid,
1460		    l_int sig,
1461		    l_siginfo_t *uinfo
1462		);
1463	}
1464241	AUE_NULL	STD	{
1465		int linux_perf_event_open(void);
1466	}
1467242	AUE_ACCEPT	STD	{
1468		int linux_accept4(
1469		    l_int s,
1470		    l_uintptr_t addr,
1471		    l_uintptr_t namelen,
1472		    l_int flags
1473		);
1474	}
1475243	AUE_NULL	STD	{
1476		int linux_recvmmsg(
1477		    l_int s,
1478		    struct l_mmsghdr *msg,
1479		    l_uint vlen,
1480		    l_uint flags,
1481		    struct l_timespec *timeout
1482		);
1483	}
1484244-259	AUE_NULL	UNIMPL	unimpl_md_syscall
1485260	AUE_WAIT4	STD	{
1486		int linux_wait4(
1487		    l_pid_t pid,
1488		    l_int *status,
1489		    l_int options,
1490		    struct rusage *rusage
1491		);
1492	}
1493261	AUE_NULL	STD	{
1494		int linux_prlimit64(
1495		    l_pid_t pid,
1496		    l_uint resource,
1497		    struct rlimit *new,
1498		    struct rlimit *old
1499		);
1500	}
1501262	AUE_NULL	STD	{
1502		int linux_fanotify_init(void);
1503	}
1504263	AUE_NULL	STD	{
1505		int linux_fanotify_mark(void);
1506	}
1507264	AUE_NULL	STD	{
1508		int linux_name_to_handle_at(
1509		    l_int dirfd,
1510		    const char *name,
1511		    struct l_file_handle *handle,
1512		    l_int *mnt_id,
1513		    l_int flags
1514		);
1515	}
1516265	AUE_NULL	STD	{
1517		int linux_open_by_handle_at(
1518		    l_int mountdirfd,
1519		    struct l_file_handle *handle,
1520		    l_int flags
1521		);
1522	}
1523266	AUE_NULL	STD	{
1524		int linux_clock_adjtime(void);
1525	}
1526267	AUE_SYNC	STD	{
1527		int linux_syncfs(
1528		    l_int fd
1529		);
1530	}
1531268	AUE_NULL	STD	{
1532		int linux_setns(
1533		    l_int fd,
1534		    l_int nstype
1535		);
1536	}
1537269	AUE_NULL	STD	{
1538		int linux_sendmmsg(
1539		    l_int s,
1540		    struct l_mmsghdr *msg,
1541		    l_uint vlen,
1542		    l_uint flags
1543		);
1544	}
1545270	AUE_NULL	STD	{
1546		int linux_process_vm_readv(
1547		    l_pid_t pid,
1548		    const struct iovec *lvec,
1549		    l_ulong liovcnt,
1550		    const struct iovec *rvec,
1551		    l_ulong riovcnt,
1552		    l_ulong flags
1553		);
1554	}
1555271	AUE_NULL	STD	{
1556		int linux_process_vm_writev(
1557		    l_pid_t pid,
1558		    const struct iovec *lvec,
1559		    l_ulong liovcnt,
1560		    const struct iovec *rvec,
1561		    l_ulong riovcnt,
1562		    l_ulong flags
1563		);
1564	}
1565272	AUE_NULL	STD	{
1566		int linux_kcmp(
1567		    l_pid_t pid1,
1568		    l_pid_t pid2,
1569		    l_int type,
1570		    l_ulong idx1,
1571		    l_ulong idx
1572		);
1573	}
1574273	AUE_NULL	STD	{
1575		int linux_finit_module(
1576		    l_int fd,
1577		    const char *uargs,
1578		    l_int flags
1579		);
1580	}
1581274	AUE_NULL	STD	{
1582		int linux_sched_setattr(
1583		    l_pid_t pid,
1584		    void *attr,
1585		    l_uint flags
1586		);
1587	}
1588275	AUE_NULL	STD	{
1589		int linux_sched_getattr(
1590		    l_pid_t pid,
1591		    void *attr,
1592		    l_uint size,
1593		    l_uint flags
1594		);
1595	}
1596276	AUE_NULL	STD	{
1597		int linux_renameat2(
1598		    l_int olddfd,
1599		    const char *oldname,
1600		    l_int newdfd,
1601		    const char *newname,
1602		    l_uint flags
1603		);
1604	}
1605277	AUE_NULL	STD	{
1606		int linux_seccomp(
1607		    l_uint op,
1608		    l_uint flags,
1609		    const char *uargs
1610		);
1611	}
1612278	AUE_NULL	STD	{
1613		int linux_getrandom(
1614		    char *buf,
1615		    l_size_t count,
1616		    l_uint flags
1617		);
1618	}
1619279	AUE_NULL	STD	{
1620		int linux_memfd_create(
1621		    const char *uname_ptr,
1622		    l_uint flags
1623		);
1624	}
1625280	AUE_NULL	STD	{
1626		int linux_bpf(
1627		    l_int cmd,
1628		    void *attr,
1629		    l_uint size
1630		);
1631	}
1632281	AUE_NULL	STD	{
1633		int linux_execveat(
1634		    l_int dfd,
1635		    const char *filename,
1636		    const char **argv,
1637		    const char **envp,
1638		    l_int flags
1639		);
1640	}
1641282	AUE_NULL	STD	{
1642		int linux_userfaultfd(
1643		    l_int flags
1644		);
1645	}
1646283	AUE_NULL	STD	{
1647		int linux_membarrier(
1648		    l_int cmd,
1649		    l_int flags
1650		);
1651	}
1652284	AUE_NULL	STD	{
1653		int linux_mlock2(
1654		    l_ulong start,
1655		    l_size_t len,
1656		    l_int flags
1657		);
1658	}
1659285	AUE_NULL	STD	{
1660		int linux_copy_file_range(
1661		    l_int fd_in,
1662		    l_loff_t *off_in,
1663		    l_int fd_out,
1664		    l_loff_t *off_out,
1665		    l_size_t len,
1666		    l_uint flags
1667		);
1668	}
1669286	AUE_NULL	STD	{
1670		int linux_preadv2(
1671		    l_ulong fd,
1672		    const struct iovec *vec,
1673		    l_ulong vlen,
1674		    l_ulong pos_l,
1675		    l_ulong pos_h,
1676		    l_int flags
1677		);
1678	}
1679287	AUE_NULL	STD	{
1680		int linux_pwritev2(
1681		    l_ulong fd,
1682		    const struct iovec *vec,
1683		    l_ulong vlen,
1684		    l_ulong pos_l,
1685		    l_ulong pos_h,
1686		    l_int flags
1687		);
1688	}
1689288	AUE_NULL	STD	{
1690		int linux_pkey_mprotect(
1691		    l_ulong start,
1692		    l_size_t len,
1693		    l_ulong prot,
1694		    l_int pkey
1695		);
1696	}
1697289	AUE_NULL	STD	{
1698		int linux_pkey_alloc(
1699		    l_ulong flags,
1700		    l_ulong init_val
1701		);
1702	}
1703290	AUE_NULL	STD	{
1704		int linux_pkey_free(
1705		    l_int pkey
1706		);
1707	}
1708; Linux 4.11:
1709291    AUE_NULL		STD {
1710		int linux_statx(
1711		    l_int dirfd,
1712		    const char *pathname,
1713		    l_uint flags,
1714		    l_uint mask,
1715		    void *statxbuf
1716		);
1717	}
1718; Linux 4.18:
1719292    AUE_NULL		STD {
1720		int linux_io_pgetevents(void);
1721	}
1722293    AUE_NULL		STD {
1723		int linux_rseq(
1724		    struct linux_rseq *rseq,
1725		    uint32_t rseq_len,
1726		    l_int flags,
1727		    uint32_t sig
1728		);
1729	}
1730294    AUE_NULL		STD {
1731		int linux_kexec_file_load(void);
1732	}
1733295-423	AUE_NULL	UNIMPL	unimpl_md_syscall
1734424	AUE_NULL	STD {
1735		int linux_pidfd_send_signal(
1736		    l_int pidfd,
1737		    l_int sig,
1738		    l_siginfo_t *info,
1739		    l_uint flags
1740		);
1741	}
1742425	AUE_NULL	STD {
1743		int linux_io_uring_setup(void);
1744	}
1745426	AUE_NULL	STD {
1746		int linux_io_uring_enter(void);
1747	}
1748427	AUE_NULL	STD {
1749		int linux_io_uring_register(void);
1750	}
1751428    AUE_NULL		STD {
1752		int linux_open_tree(void);
1753	}
1754429    AUE_NULL		STD {
1755		int linux_move_mount(void);
1756	}
1757430    AUE_NULL		STD {
1758		int linux_fsopen(void);
1759	}
1760431    AUE_NULL		STD {
1761		int linux_fsconfig(void);
1762	}
1763432    AUE_NULL		STD {
1764		int linux_fsmount(void);
1765	}
1766433    AUE_NULL		STD {
1767		int linux_fspick(void);
1768	}
1769434    AUE_NULL		STD {
1770		int linux_pidfd_open(void);
1771	}
1772435    AUE_NULL		STD {
1773		int linux_clone3(
1774		    struct l_user_clone_args *uargs,
1775		    l_size_t usize
1776		);
1777	}
1778436	AUE_CLOSERANGE	STD {
1779		int linux_close_range(
1780		    l_uint first,
1781		    l_uint last,
1782		    l_uint flags
1783		);
1784	}
1785437    AUE_NULL		STD {
1786		int linux_openat2(void);
1787	}
1788438    AUE_NULL		STD {
1789		int linux_pidfd_getfd(void);
1790	}
1791439    AUE_NULL		STD {
1792		int linux_faccessat2(
1793		    l_int dfd,
1794		    const char *filename,
1795		    l_int amode,
1796		    l_int flags
1797		);
1798	}
1799440    AUE_NULL		STD {
1800		int linux_process_madvise(void);
1801	}
1802441    AUE_NULL		STD {
1803		int linux_epoll_pwait2(
1804		    l_int epfd,
1805		    struct epoll_event *events,
1806		    l_int maxevents,
1807		    struct l_timespec *timeout,
1808		    l_sigset_t *mask,
1809		    l_size_t sigsetsize
1810		);
1811	}
1812442    AUE_NULL		STD {
1813		int linux_mount_setattr(void);
1814	}
1815; please, keep this line at the end.
1816443    AUE_NULL        UNIMPL  nosys
1817; vim: syntax=off
1818