xref: /freebsd/sys/arm64/linux/syscalls.master (revision 7ef62cebc2f965b0f640263e179276928885e33d)
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		    void *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		    void *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		    void *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		    void *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		    void *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		    void *value,
73		    l_size_t size
74		);
75	}
7611	AUE_NULL	STD	{
77		int linux_listxattr(
78		    const char *path,
79		    char *list,
80		    l_size_t size
81		);
82	}
8312	AUE_NULL	STD	{
84		int linux_llistxattr(
85		    const char *path,
86		    char *list,
87		    l_size_t size
88		);
89	}
9013	AUE_NULL	STD	{
91		int linux_flistxattr(
92		    l_int fd,
93		    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_SETPRIORITY	STD	{
191		int linux_ioprio_set(
192		    l_int which,
193		    l_int who,
194		    l_int ioprio
195		);
196	}
19731	AUE_GETPRIORITY	STD	{
198		int linux_ioprio_get(
199		    l_int which,
200		    l_int who
201		);
202	}
20332	AUE_FLOCK	NOPROTO	{
204		int flock(
205		    int fd,
206		    int how
207		);
208	}
20933	AUE_MKNODAT	STD	{
210		int linux_mknodat(
211		    l_int dfd,
212		    const char *filename,
213		    l_int mode,
214		    l_dev_t dev
215		);
216	}
21734	AUE_MKDIRAT	STD	{
218		int linux_mkdirat(
219		    l_int dfd,
220		    const char *pathname,
221		    l_mode_t mode
222		);
223	}
22435	AUE_UNLINKAT	STD	{
225		int linux_unlinkat(
226		    l_int dfd,
227		    const char *pathname,
228		    l_int flag
229		);
230	}
23136	AUE_SYMLINKAT	STD	{
232		int linux_symlinkat(
233		    const char *oldname,
234		    l_int newdfd,
235		    const char *newname
236		);
237	}
23837	AUE_LINKAT	STD	{
239		int linux_linkat(
240		    l_int olddfd,
241		    const char *oldname,
242		    l_int newdfd,
243		    const char *newname,
244		    l_int flag
245		);
246	}
24738	AUE_RENAMEAT	STD	{
248		int linux_renameat(
249		    l_int olddfd,
250		    const char *oldname,
251		    l_int newdfd,
252		    const char *newname
253		);
254	}
25539	AUE_NULL	UNIMPL	linux_umount2
25640	AUE_MOUNT	STD	{
257		int linux_mount(
258		    char *specialfile,
259		    char *dir,
260		    char *filesystemtype,
261		    l_ulong rwflag,
262		    void *data
263		);
264	}
26541	AUE_PIVOT_ROOT	STD	{
266		int linux_pivot_root(void);
267	}
26842	AUE_NULL	UNIMPL	nfsservctl
26943	AUE_STATFS	STD	{
270		int linux_statfs(
271		    char *path,
272		    struct l_statfs_buf *buf
273		);
274	}
27544	AUE_FSTATFS	STD	{
276		int linux_fstatfs(
277		    l_uint fd,
278		    struct l_statfs_buf *buf
279		);
280	}
28145	AUE_TRUNCATE	STD	{
282		int linux_truncate(
283		    char *path,
284		    l_ulong length
285		);
286	}
28746	AUE_FTRUNCATE	STD	{
288		int linux_ftruncate(
289		    l_int fd,
290		    l_long length
291		);
292	}
29347	AUE_NULL	STD	{
294		int linux_fallocate(
295		    l_int fd,
296		    l_int mode,
297		    l_loff_t offset,
298		    l_loff_t len
299		);
300	}
30148	AUE_FACCESSAT	STD	{
302		int linux_faccessat(
303		    l_int dfd,
304		    const char *filename,
305		    l_int amode
306		);
307	}
30849	AUE_CHDIR	STD	{
309		int linux_chdir(
310		    char *path
311		);
312	}
31350	AUE_FCHDIR	NOPROTO	{
314		int fchdir(
315		    int fd
316		);
317	}
31851	AUE_CHROOT	NOPROTO	{
319		int chroot(
320		    char *path
321		);
322	}
32352	AUE_FCHMOD	NOPROTO	{
324		int fchmod(
325		    int fd,
326		    int mode
327		);
328	}
32953	AUE_FCHMODAT	STD	{
330		int linux_fchmodat(
331		    l_int dfd,
332		    const char *filename,
333		    l_mode_t mode
334		);
335	}
33654	AUE_FCHOWNAT	STD	{
337		int linux_fchownat(
338		    l_int dfd,
339		    const char *filename,
340		    l_uid_t uid,
341		    l_gid_t gid,
342		    l_int flag
343		);
344	}
34555	AUE_FCHOWN	NOPROTO	{
346		int fchown(
347		    int fd,
348		    int uid,
349		    int gid
350		);
351	}
35256	AUE_OPEN_RWTC	STD	{
353		int linux_openat(
354		    l_int dfd,
355		    const char *filename,
356		    l_int flags,
357		    l_mode_t mode
358		);
359	}
36057	AUE_CLOSE	NOPROTO	{
361		int close(
362		    int fd
363		);
364	}
36558	AUE_NULL	STD	{
366		int linux_vhangup(void);
367	}
36859	AUE_NULL	STD	{
369		int linux_pipe2(
370		    l_int *pipefds,
371		    l_int flags
372		);
373	}
37460	AUE_NULL	UNIMPL	linux_quotactl
37561	AUE_GETDIRENTRIES	STD {
376		int linux_getdents64(
377		    l_uint fd,
378		    void *dirent,
379		    l_uint count
380		);
381	}
38262	AUE_LSEEK	STD	{
383		int linux_lseek(
384		    l_uint fdes,
385		    l_off_t off,
386		    l_int whence
387		);
388	}
38963	AUE_NULL	NOPROTO	{
390		int read(
391		    int fd,
392		    char *buf,
393		    l_size_t nbyte
394		);
395	}
39664	AUE_NULL	NOPROTO {
397		int write(
398		    int fd,
399		    char *buf,
400		    l_size_t nbyte
401		);
402	}
40365	AUE_READV	NOPROTO	{
404		int readv(
405		    int fd,
406		    struct iovec *iovp,
407		    u_int iovcnt
408		);
409	}
41066	AUE_WRITEV	NOPROTO	{
411		int writev(
412		    int fd,
413		    struct iovec *iovp,
414		    u_int iovcnt
415		);
416	}
41767	AUE_PREAD	STD	{
418		int linux_pread(
419		    l_uint fd,
420		    char *buf,
421		    l_size_t nbyte,
422		    l_loff_t offset
423		);
424	}
42568	AUE_PWRITE	STD	{
426		int linux_pwrite(
427		    l_uint fd,
428		    char *buf,
429		    l_size_t nbyte,
430		    l_loff_t offset
431		);
432	}
43369	AUE_NULL	STD	{
434		int linux_preadv(
435		    l_ulong fd,
436		    struct iovec *vec,
437		    l_ulong vlen,
438		    l_ulong pos_l,
439		    l_ulong pos_h
440		);
441	}
44270	AUE_NULL	STD	{
443		int linux_pwritev(
444		    l_ulong fd,
445		    struct iovec *vec,
446		    l_ulong vlen,
447		    l_ulong pos_l,
448		    l_ulong pos_h
449		);
450	}
45171	AUE_SENDFILE	STD	{
452		int linux_sendfile(
453		    l_int out,
454		    l_int in,
455		    l_off_t *offset,
456		    l_size_t count
457		);
458	}
45972	AUE_SELECT	STD	{
460		int linux_pselect6(
461		    l_int nfds,
462		    l_fd_set *readfds,
463		    l_fd_set *writefds,
464		    l_fd_set *exceptfds,
465		    struct l_timespec *tsp,
466		    l_uintptr_t *sig
467		);
468	}
46973	AUE_POLL	STD	{
470		int linux_ppoll(
471		    struct pollfd *fds,
472		    l_uint nfds,
473		    struct l_timespec *tsp,
474		    l_sigset_t *sset,
475		    l_size_t ssize
476		);
477	}
47874	AUE_NULL	STD	{
479		int linux_signalfd4(void);
480	}
48175	AUE_NULL	STD	{
482		int linux_vmsplice(void);
483	}
48476	AUE_NULL	STD	{
485		int linux_splice(
486		    int fd_in,
487		    l_loff_t *off_in,
488		    int fd_out,
489		    l_loff_t *off_out,
490		    l_size_t len,
491		    l_uint flags
492		);
493	}
49477	AUE_NULL	STD	{
495		int linux_tee(void);
496	}
49778	AUE_READLINKAT	STD	{
498		int linux_readlinkat(
499		    l_int dfd,
500		    const char *path,
501		    char *buf,
502		    l_int bufsiz
503		);
504	}
50579	AUE_FSTATAT	STD	{
506		int linux_newfstatat(
507		    l_int dfd,
508		    char *pathname,
509		    struct l_stat64 *statbuf,
510		    l_int flag
511		);
512	}
51380	AUE_FSTAT	STD	{
514		int linux_newfstat(
515		    l_uint fd,
516		    struct l_newstat *buf
517		);
518	}
51981	AUE_NULL	UNIMPL	linux_sync
52082	AUE_FSYNC	NOPROTO	{
521		int fsync(
522		    int fd
523		);
524	}
52583	AUE_NULL	STD	{
526		int linux_fdatasync(
527		    l_uint fd
528		);
529	}
53084	AUE_NULL	STD	{
531		int linux_sync_file_range(
532		    l_int fd,
533		    l_loff_t offset,
534		    l_loff_t nbytes,
535		    l_uint flags
536		);
537	}
53885	AUE_NULL	STD	{
539		int linux_timerfd_create(
540		    l_int clockid,
541		    l_int flags
542		);
543	}
54486	AUE_NULL	STD	{
545		int linux_timerfd_settime(
546		    l_int fd,
547		    l_int flags,
548		    const struct l_itimerspec *new_value,
549		    struct l_itimerspec *old_value
550		);
551	}
55287	AUE_NULL	STD	{
553		int linux_timerfd_gettime(
554		    l_int fd,
555		    struct l_itimerspec *old_value
556		);
557	}
55888	AUE_FUTIMESAT	STD	{
559		int linux_utimensat(
560		    l_int dfd,
561		    const char *pathname,
562		    const struct l_timespec *times,
563		    l_int flags
564		);
565	}
56689	AUE_ACCT	NOPROTO	{
567		int acct(
568		    char *path
569		);
570	}
57190	AUE_CAPGET	STD	{
572		int linux_capget(
573		    struct l_user_cap_header *hdrp,
574		    struct l_user_cap_data *datap
575		);
576	}
57791	AUE_CAPSET	STD	{
578		int linux_capset(
579		    struct l_user_cap_header *hdrp,
580		    struct l_user_cap_data *datap
581		);
582	}
58392	AUE_PERSONALITY	STD	{
584		int linux_personality(
585		    l_uint per
586		);
587	}
58893	AUE_EXIT	STD	{
589		int linux_exit(
590		    u_int rval
591		);
592	}
59394	AUE_EXIT	STD	{
594		int linux_exit_group(
595		    l_int error_code
596		);
597	}
59895	AUE_WAIT6	STD	{
599		int linux_waitid(
600		    l_int idtype,
601		    l_pid_t id,
602		    l_siginfo_t *info,
603		    l_int options,
604		    struct rusage *rusage
605		);
606	}
60796	AUE_NULL	STD	{
608		int linux_set_tid_address(
609		    l_int *tidptr
610		);
611	}
61297	AUE_NULL	STD	{
613		int linux_unshare(void);
614	}
61598	AUE_NULL	STD	{
616		int linux_sys_futex(
617		    uint32_t *uaddr,
618		    l_int op,
619		    uint32_t val,
620		    struct l_timespec *timeout,
621		    uint32_t *uaddr2,
622		    uint32_t val3
623		);
624	}
62599	AUE_NULL	STD	{
626		int linux_set_robust_list(
627		    struct linux_robust_list_head *head,
628		    l_size_t len
629		);
630	}
631100	AUE_NULL	STD	{
632		int linux_get_robust_list(
633		    l_int pid,
634		    struct linux_robust_list_head **head,
635		    l_size_t *len
636		);
637	}
638101	AUE_NULL	STD	{
639		int linux_nanosleep(
640		    const struct l_timespec *rqtp,
641		    struct l_timespec *rmtp
642		);
643	}
644102	AUE_GETITIMER	STD	{
645		int linux_getitimer(
646		    l_int which,
647		    struct l_itimerval *itv
648		);
649	}
650103	AUE_SETITIMER	STD	{
651		int linux_setitimer(
652		    l_int which,
653		    struct l_itimerval *itv,
654		    struct l_itimerval *oitv
655		);
656	}
657104	AUE_NULL	STD	{
658		int linux_kexec_load(void);
659	}
660105	AUE_NULL	STD	{
661		int linux_init_module(void);
662	}
663106	AUE_NULL	STD	{
664		int linux_delete_module(void);
665	}
666107	AUE_NULL	STD	{
667		int linux_timer_create(
668		    clockid_t clock_id,
669		    struct sigevent *evp,
670		    l_timer_t *timerid
671		);
672	}
673108	AUE_NULL	STD	{
674		int linux_timer_gettime(
675		    l_timer_t timerid,
676		    struct itimerspec *setting
677		);
678	}
679109	AUE_NULL	STD	{
680		int linux_timer_getoverrun(
681		    l_timer_t timerid
682		);
683	}
684110	AUE_NULL	STD	{
685		int linux_timer_settime(
686		    l_timer_t timerid,
687		    l_int flags,
688		    const struct itimerspec *new,
689		    struct itimerspec *old
690		);
691	}
692111	AUE_NULL	STD	{
693		int linux_timer_delete(
694		    l_timer_t timerid
695		);
696	}
697112	AUE_CLOCK_SETTIME	STD	{
698		int linux_clock_settime(
699		    clockid_t which,
700		    struct l_timespec *tp
701		);
702	}
703113	AUE_NULL	STD	{
704		int linux_clock_gettime(
705		    clockid_t which,
706		    struct l_timespec *tp
707		);
708	}
709114	AUE_NULL	STD	{
710		int linux_clock_getres(
711		    clockid_t which,
712		    struct l_timespec *tp
713		);
714	}
715115	AUE_NULL	STD	{
716		int linux_clock_nanosleep(
717		    clockid_t which,
718		    l_int flags,
719		    struct l_timespec *rqtp,
720		    struct l_timespec *rmtp
721		);
722	}
723116	AUE_NULL	STD	{
724		int linux_syslog(
725		    l_int type,
726		    char *buf,
727		    l_int len
728		);
729	}
730117	AUE_PTRACE	STD	{
731		int linux_ptrace(
732		    l_long req,
733		    l_long pid,
734		    l_ulong addr,
735		    l_ulong data
736		);
737	}
738118	AUE_SCHED_SETPARAM	STD	{
739		int linux_sched_setparam(
740		    l_pid_t pid,
741		    struct sched_param *param
742		);
743	}
744119	AUE_SCHED_SETSCHEDULER	STD {
745		int linux_sched_setscheduler(
746		    l_pid_t pid,
747		    l_int policy,
748		    struct sched_param *param
749		);
750	}
751120	AUE_SCHED_GETSCHEDULER	STD {
752		int linux_sched_getscheduler(
753		    l_pid_t pid
754		);
755	}
756121	AUE_SCHED_GETPARAM	STD	{
757		int linux_sched_getparam(
758		    l_pid_t pid,
759		    struct sched_param *param
760		);
761	}
762122	AUE_NULL	STD	{
763		int linux_sched_setaffinity(
764		    l_pid_t pid,
765		    l_uint len,
766		    l_ulong *user_mask_ptr
767		);
768	}
769123	AUE_NULL	STD	{
770		int linux_sched_getaffinity(
771		    l_pid_t pid,
772		    l_uint len,
773		    l_ulong *user_mask_ptr
774		);
775	}
776124	AUE_NULL	NOPROTO	{
777		int sched_yield(void);
778	}
779125	AUE_SCHED_GET_PRIORITY_MAX	STD {
780		int linux_sched_get_priority_max(
781		    l_int policy
782		);
783	}
784126	AUE_SCHED_GET_PRIORITY_MIN	STD {
785		int linux_sched_get_priority_min(
786		    l_int policy
787		);
788	}
789127	AUE_SCHED_RR_GET_INTERVAL	STD {
790		int linux_sched_rr_get_interval(
791		    l_pid_t pid,
792		    struct l_timespec *interval
793		);
794	}
795128	AUE_NULL	UNIMPL	restart_syscall
796129	AUE_KILL	STD	{
797		int linux_kill(
798		    l_pid_t pid,
799		    l_int signum
800		);
801	}
802130	AUE_NULL	STD	{
803		int linux_tkill(
804		    l_pid_t tid,
805		    l_int sig
806		);
807	}
808131	AUE_NULL	STD	{
809		int linux_tgkill(
810		    l_pid_t tgid,
811		    l_pid_t pid,
812		    l_int sig
813		);
814	}
815132	AUE_NULL	STD	{
816		int linux_sigaltstack(
817		    l_stack_t *uss,
818		    l_stack_t *uoss
819		);
820	}
821133	AUE_NULL	STD	{
822		int linux_rt_sigsuspend(
823		    l_sigset_t *newset,
824		    l_size_t sigsetsize
825		);
826	}
827134	AUE_NULL	STD	{
828		int linux_rt_sigaction(
829		    l_int sig,
830		    l_sigaction_t *act,
831		    l_sigaction_t *oact,
832		    l_size_t sigsetsize
833		);
834	}
835135	AUE_NULL	STD	{
836		int linux_rt_sigprocmask(
837		    l_int how,
838		    l_sigset_t *mask,
839		    l_sigset_t *omask,
840		    l_size_t sigsetsize
841		);
842	}
843136	AUE_NULL	STD	{
844		int linux_rt_sigpending(
845		    l_sigset_t *set,
846		    l_size_t sigsetsize
847		);
848	}
849137	AUE_NULL	STD	{
850		int linux_rt_sigtimedwait(
851		    l_sigset_t *mask,
852		    l_siginfo_t *ptr,
853		    struct l_timespec *timeout,
854		    l_size_t sigsetsize
855		);
856	}
857138	AUE_NULL	STD	{
858		int linux_rt_sigqueueinfo(
859		    l_pid_t pid,
860		    l_int sig,
861		    l_siginfo_t *info
862		);
863	}
864139	AUE_NULL	STD	{
865		int linux_rt_sigreturn(void);
866	}
867140	AUE_SETPRIORITY	NOPROTO	{
868		int setpriority(
869		    int which,
870		    int who,
871		    int prio
872		);
873	}
874141	AUE_GETPRIORITY	STD	{
875		int linux_getpriority(
876		    l_int which,
877		    l_int who
878		);
879	}
880142	AUE_REBOOT	STD	{
881		int linux_reboot(
882		    l_int magic1,
883		    l_int magic2,
884		    l_uint cmd,
885		    void *arg
886		);
887	}
888143	AUE_SETREGID	NOPROTO	{
889		int setregid(
890		    gid_t rgid,
891		    gid_t egid
892		);
893	}
894144	AUE_SETGID	NOPROTO	{
895		int setgid(
896		    gid_t gid
897		);
898	}
899145	AUE_SETREUID	NOPROTO	{
900		int setreuid(
901		    uid_t ruid,
902		    uid_t euid
903		);
904	}
905146	AUE_SETUID	NOPROTO	{
906		int setuid(
907		    uid_t uid
908		);
909	}
910147	AUE_SETRESUID	NOPROTO	{
911		int setresuid(
912		    uid_t ruid,
913		    uid_t euid,
914		    uid_t suid
915		);
916	}
917148	AUE_GETRESUID	NOPROTO	{
918		int getresuid(
919		    uid_t *ruid,
920		    uid_t *euid,
921		    uid_t *suid
922		);
923	}
924149	AUE_SETRESGID	NOPROTO	{
925		int setresgid(
926		    gid_t rgid,
927		    gid_t egid,
928		    gid_t sgid
929		);
930	}
931150	AUE_GETRESGID	NOPROTO	{
932		int getresgid(
933		    gid_t *rgid,
934		    gid_t *egid,
935		    gid_t *sgid
936		);
937	}
938151	AUE_SETFSUID	STD	{
939		int linux_setfsuid(
940		    l_uid_t uid
941		);
942	}
943152	AUE_SETFSGID	STD	{
944		int linux_setfsgid(
945		    l_gid_t gid
946		);
947	}
948153	AUE_NULL	STD	{
949		int linux_times(
950		    struct l_times_argv *buf
951		);
952	}
953154	AUE_SETPGRP	NOPROTO	{
954		int setpgid(
955		    int pid,
956		    int pgid
957		);
958	}
959155	AUE_GETPGID	NOPROTO	{
960		int getpgid(
961		    int pid
962		);
963	}
964156	AUE_GETSID	STD	{
965		int linux_getsid(
966		    l_pid_t pid
967		);
968	}
969157	AUE_SETSID	NOPROTO	{
970		int setsid(void);
971	}
972158	AUE_GETGROUPS	STD	{
973		int linux_getgroups(
974		    l_int gidsetsize,
975		    l_gid_t *grouplist
976		);
977	}
978159	AUE_SETGROUPS	STD	{
979		int linux_setgroups(
980		    l_int gidsetsize,
981		    l_gid_t *grouplist
982		);
983	}
984160	AUE_NULL	STD	{
985		int linux_newuname(
986		    struct l_new_utsname *buf
987		);
988	}
989161	AUE_SYSCTL	STD	{
990		int linux_sethostname(
991		    char *hostname,
992		    l_uint len
993		);
994	}
995162	AUE_SYSCTL	STD	{
996		int linux_setdomainname(
997		    char *name,
998		    l_int len
999		);
1000	}
1001163	AUE_GETRLIMIT	STD	{
1002		int linux_getrlimit(
1003		    l_uint resource,
1004		    struct l_rlimit *rlim
1005		);
1006	}
1007164	AUE_SETRLIMIT	STD	{
1008		int linux_setrlimit(
1009		    l_uint resource,
1010		    struct l_rlimit *rlim
1011		);
1012	}
1013165	AUE_GETRUSAGE	NOPROTO	{
1014		int getrusage(
1015		    int who,
1016		    struct rusage *rusage
1017		);
1018	}
1019166	AUE_UMASK	NOPROTO	{
1020		int umask(
1021		    int newmask
1022		);
1023	}
1024167	AUE_PRCTL	STD	{
1025		int linux_prctl(
1026		    l_int option,
1027		    l_uintptr_t arg2,
1028		    l_uintptr_t arg3,
1029		    l_uintptr_t arg4,
1030		    l_uintptr_t arg5
1031		);
1032	}
1033168	AUE_NULL	STD	{
1034		int linux_getcpu(
1035		    l_uint *cpu,
1036		    l_uint *node,
1037		    void *cache
1038		);
1039	}
1040169	AUE_NULL	NOPROTO	{
1041		int gettimeofday(
1042		    struct l_timeval *tp,
1043		    struct timezone *tzp
1044		);
1045	}
1046170	AUE_SETTIMEOFDAY	NOPROTO	{
1047		int settimeofday(
1048		    struct l_timeval *tv,
1049		    struct timezone *tzp
1050		);
1051	}
1052171	AUE_ADJTIME	STD	{
1053		int linux_adjtimex(void);
1054	}
1055172	AUE_GETPID	STD	{
1056		int linux_getpid(void);
1057	}
1058173	AUE_GETPPID	STD	{
1059		int linux_getppid(void);
1060	}
1061174	AUE_GETUID	STD	{
1062		int linux_getuid(void);
1063	}
1064175	AUE_GETEUID	NOPROTO	{
1065		int geteuid(void);
1066	}
1067176	AUE_GETGID	STD	{
1068		int linux_getgid(void);
1069	}
1070177	AUE_GETEGID	NOPROTO	{
1071		int getegid(void);
1072	}
1073178	AUE_NULL	STD	{
1074		int linux_gettid(void);
1075	}
1076179	AUE_NULL	STD	{
1077		int linux_sysinfo(
1078		    struct l_sysinfo *info
1079		);
1080	}
1081180	AUE_NULL	STD	{
1082		int linux_mq_open(
1083		    const char *name,
1084		    l_int oflag,
1085		    l_mode_t mode,
1086		    struct mq_attr *attr
1087		);
1088	}
1089181	AUE_NULL	STD	{
1090		int linux_mq_unlink(
1091		    const char *name
1092		);
1093	}
1094182	AUE_NULL	STD	{
1095		int linux_mq_timedsend(
1096		    l_mqd_t mqd,
1097		    const char *msg_ptr,
1098		    l_size_t msg_len,
1099		    l_uint msg_prio,
1100		    const struct l_timespec *abs_timeout
1101		);
1102	}
1103183	AUE_NULL	STD	{
1104		int linux_mq_timedreceive(
1105		    l_mqd_t mqd,
1106		    char *msg_ptr,
1107		    l_size_t msg_len,
1108		    l_uint *msg_prio,
1109		    const struct l_timespec *abs_timeout
1110		);
1111	}
1112184	AUE_NULL	STD	{
1113		int linux_mq_notify(
1114		    l_mqd_t mqd,
1115		    const struct l_timespec *abs_timeout
1116		);
1117	}
1118185	AUE_NULL	STD	{
1119		int linux_mq_getsetattr(
1120		    l_mqd_t mqd,
1121		    const struct mq_attr *attr,
1122		    struct mq_attr *oattr
1123		);
1124	}
1125186	AUE_NULL	STD	{
1126		int linux_msgget(
1127		    l_key_t key,
1128		    l_int msgflg
1129		);
1130	}
1131187	AUE_NULL	STD	{
1132		int linux_msgctl(
1133		    l_int msqid,
1134		    l_int cmd,
1135		    struct l_msqid_ds *buf
1136		);
1137	}
1138188	AUE_NULL	STD	{
1139		int linux_msgrcv(
1140		    l_int msqid,
1141		    struct l_msgbuf *msgp,
1142		    l_size_t msgsz,
1143		    l_long msgtyp,
1144		    l_int msgflg
1145		);
1146	}
1147189	AUE_NULL	STD	{
1148		int linux_msgsnd(
1149		    l_int msqid,
1150		    struct l_msgbuf *msgp,
1151		    l_size_t msgsz,
1152		    l_int msgflg
1153		);
1154	}
1155190	AUE_NULL	STD	{
1156		int linux_semget(
1157		    l_key_t key,
1158		    l_int nsems,
1159		    l_int semflg
1160		);
1161	}
1162191	AUE_NULL	STD	{
1163		int linux_semctl(
1164		    l_int semid,
1165		    l_int semnum,
1166		    l_int cmd,
1167		    union l_semun arg
1168		);
1169	}
1170192	AUE_NULL	STD	{
1171		int linux_semtimedop(
1172		    l_int semid,
1173		    struct sembuf *tsops,
1174		    l_size_t nsops,
1175		    struct l_timespec *timeout
1176		);
1177	}
1178193	AUE_NULL	NOPROTO	{
1179		int semop(
1180		    l_int semid,
1181		    struct sembuf *sops,
1182		    l_size_t nsops
1183		);
1184	}
1185194	AUE_NULL	STD	{
1186		int linux_shmget(
1187		    l_key_t key,
1188		    l_size_t size,
1189		    l_int shmflg
1190		);
1191	}
1192195	AUE_NULL	STD	{
1193		int linux_shmctl(
1194		    l_int shmid,
1195		    l_int cmd,
1196		    struct l_shmid_ds *buf
1197		);
1198	}
1199196	AUE_NULL	STD	{
1200		int linux_shmat(
1201		    l_int shmid,
1202		    char *shmaddr,
1203		    l_int shmflg
1204		);
1205	}
1206197	AUE_NULL	STD	{
1207		int linux_shmdt(
1208		    char *shmaddr
1209		);
1210	}
1211198	AUE_SOCKET	STD	{
1212		int linux_socket(
1213		    l_int domain,
1214		    l_int type,
1215		    l_int protocol
1216		);
1217	}
1218199	AUE_SOCKETPAIR	STD	{
1219		int linux_socketpair(
1220		    l_int domain,
1221		    l_int type,
1222		    l_int protocol,
1223		    l_uintptr_t rsv
1224		);
1225	}
1226200	AUE_BIND	STD	{
1227		int linux_bind(
1228		    l_int s,
1229		    l_uintptr_t name,
1230		    l_int namelen
1231		);
1232	}
1233201	AUE_LISTEN	STD	{
1234		int linux_listen(
1235		    l_int s,
1236		    l_int backlog
1237		);
1238	}
1239202	AUE_ACCEPT	STD	{
1240		int linux_accept(
1241		    l_int s,
1242		    l_uintptr_t addr,
1243		    l_uintptr_t namelen
1244		);
1245	}
1246203	AUE_CONNECT	STD	{
1247		int linux_connect(
1248		    l_int s,
1249		    l_uintptr_t name,
1250		    l_int namelen
1251		);
1252	}
1253204	AUE_GETSOCKNAME	STD	{
1254		int linux_getsockname(
1255		    l_int s,
1256		    l_uintptr_t addr,
1257		    l_uintptr_t namelen
1258		);
1259	}
1260205	AUE_GETPEERNAME	STD	{
1261		int linux_getpeername(
1262		    l_int s,
1263		    l_uintptr_t addr,
1264		    l_uintptr_t namelen
1265		);
1266	}
1267206	AUE_SENDTO	STD	{
1268		int linux_sendto(
1269		    l_int s,
1270		    l_uintptr_t msg,
1271		    l_size_t len,
1272		    l_uint flags,
1273		    l_uintptr_t to,
1274		    l_int tolen
1275		);
1276	}
1277207	AUE_RECVFROM	STD	{
1278		int linux_recvfrom(
1279		    l_int s,
1280		    l_uintptr_t buf,
1281		    l_size_t len,
1282		    l_uint flags,
1283		    l_uintptr_t from,
1284		    l_uintptr_t fromlen
1285		);
1286	}
1287208	AUE_SETSOCKOPT	STD	{
1288		int linux_setsockopt(
1289		    l_int s,
1290		    l_int level,
1291		    l_int optname,
1292		    l_uintptr_t optval,
1293		    l_int optlen
1294		);
1295	}
1296209	AUE_GETSOCKOPT	STD	{
1297		int linux_getsockopt(
1298		    l_int s,
1299		    l_int level,
1300		    l_int optname,
1301		    l_uintptr_t optval,
1302		    l_uintptr_t optlen
1303		);
1304	}
1305210	AUE_NULL	STD	{
1306		int linux_shutdown(
1307		    l_int s,
1308		    l_int how
1309		);
1310	}
1311211	AUE_SENDMSG	STD	{
1312		int linux_sendmsg(
1313		    l_int s,
1314		    l_uintptr_t msg,
1315		    l_uint flags
1316		);
1317	}
1318212	AUE_RECVMSG	STD	{
1319		int linux_recvmsg(
1320		    l_int s,
1321		    l_uintptr_t msg,
1322		    l_uint flags
1323		);
1324	}
1325213	AUE_NULL	UNIMPL	linux_readahead
1326214	AUE_NULL	STD	{
1327		int linux_brk(
1328		    l_ulong dsend
1329		);
1330	}
1331215	AUE_MUNMAP	NOPROTO	{
1332		int munmap(
1333		    void *addr,
1334		    l_size_t len
1335		);
1336	}
1337216	AUE_NULL	STD	{
1338		int linux_mremap(
1339		    l_ulong addr,
1340		    l_ulong old_len,
1341		    l_ulong new_len,
1342		    l_ulong flags,
1343		    l_ulong new_addr
1344		);
1345	}
1346217	AUE_NULL	STD	{
1347		int linux_add_key(void);
1348	}
1349218	AUE_NULL	STD	{
1350		int linux_request_key(void);
1351	}
1352219	AUE_NULL	STD	{
1353		int linux_keyctl(void);
1354	}
1355220	AUE_RFORK	STD	{
1356		int linux_clone(
1357		    l_ulong flags,
1358		    l_ulong stack,
1359		    l_int *parent_tidptr,
1360		    l_ulong tls,
1361		    l_int *child_tidptr
1362		);
1363	}
1364221	AUE_EXECVE	STD	{
1365		int linux_execve(
1366		    char *path,
1367		    l_uintptr_t *argp,
1368		    l_uintptr_t *envp
1369		);
1370	}
1371222	AUE_MMAP	STD	{
1372		int linux_mmap2(
1373		    l_ulong addr,
1374		    l_ulong len,
1375		    l_ulong prot,
1376		    l_ulong flags,
1377		    l_ulong fd,
1378		    l_ulong pgoff
1379		);
1380	}
1381223	AUE_NULL	STD	{
1382		int linux_fadvise64(
1383		    l_int fd,
1384		    l_loff_t offset,
1385		    l_size_t len,
1386		    l_int advice
1387		);
1388	}
1389224	AUE_SWAPON	NOPROTO	{
1390		int swapon(
1391		    char *name
1392		);
1393	}
1394225	AUE_SWAPOFF	STD	{
1395		int linux_swapoff(void);
1396	}
1397226	AUE_MPROTECT	STD	{
1398		int linux_mprotect(
1399		    l_ulong addr,
1400		    l_size_t len,
1401		    l_ulong prot
1402		);
1403	}
1404227	AUE_MSYNC	STD	{
1405		int linux_msync(
1406		    l_ulong addr,
1407		    l_size_t len,
1408		    l_int fl
1409		);
1410	}
1411228	AUE_MLOCK	NOPROTO	{
1412		int mlock(
1413		    const void *addr,
1414		    size_t len
1415		);
1416	}
1417229	AUE_MUNLOCK	NOPROTO	{
1418		int munlock(
1419		    const void *addr,
1420		    size_t len
1421		);
1422	}
1423230	AUE_MLOCKALL	NOPROTO	{
1424		int mlockall(
1425		    int how
1426		);
1427	}
1428231	AUE_MUNLOCKALL	NOPROTO	{
1429		int munlockall(void);
1430	}
1431232	AUE_MINCORE	STD	{
1432		int linux_mincore(
1433		    l_ulong start,
1434		    l_size_t len,
1435		    u_char *vec
1436		);
1437	}
1438233	AUE_MADVISE	STD	{
1439		int linux_madvise(
1440		    l_ulong addr,
1441		    l_size_t len,
1442		    l_int behav
1443		);
1444	}
1445234	AUE_NULL	STD	{
1446		int linux_remap_file_pages(void);
1447	}
1448235	AUE_NULL	STD	{
1449		int linux_mbind(void);
1450	}
1451236	AUE_NULL	STD	{
1452		int linux_get_mempolicy(void);
1453	}
1454237	AUE_NULL	STD	{
1455		int linux_set_mempolicy(void);
1456	}
1457238	AUE_NULL	STD	{
1458		int linux_migrate_pages(void);
1459	}
1460239	AUE_NULL	STD	{
1461		int linux_move_pages(void);
1462	}
1463240	AUE_NULL	STD	{
1464		int linux_rt_tgsigqueueinfo(
1465		    l_pid_t tgid,
1466		    l_pid_t tid,
1467		    l_int sig,
1468		    l_siginfo_t *uinfo
1469		);
1470	}
1471241	AUE_NULL	STD	{
1472		int linux_perf_event_open(void);
1473	}
1474242	AUE_ACCEPT	STD	{
1475		int linux_accept4(
1476		    l_int s,
1477		    l_uintptr_t addr,
1478		    l_uintptr_t namelen,
1479		    l_int flags
1480		);
1481	}
1482243	AUE_NULL	STD	{
1483		int linux_recvmmsg(
1484		    l_int s,
1485		    struct l_mmsghdr *msg,
1486		    l_uint vlen,
1487		    l_uint flags,
1488		    struct l_timespec *timeout
1489		);
1490	}
1491244-259	AUE_NULL	UNIMPL	unimpl_md_syscall
1492260	AUE_WAIT4	STD	{
1493		int linux_wait4(
1494		    l_pid_t pid,
1495		    l_int *status,
1496		    l_int options,
1497		    struct rusage *rusage
1498		);
1499	}
1500261	AUE_NULL	STD	{
1501		int linux_prlimit64(
1502		    l_pid_t pid,
1503		    l_uint resource,
1504		    struct rlimit *new,
1505		    struct rlimit *old
1506		);
1507	}
1508262	AUE_NULL	STD	{
1509		int linux_fanotify_init(void);
1510	}
1511263	AUE_NULL	STD	{
1512		int linux_fanotify_mark(void);
1513	}
1514264	AUE_NULL	STD	{
1515		int linux_name_to_handle_at(
1516		    l_int dirfd,
1517		    const char *name,
1518		    struct l_file_handle *handle,
1519		    l_int *mnt_id,
1520		    l_int flags
1521		);
1522	}
1523265	AUE_NULL	STD	{
1524		int linux_open_by_handle_at(
1525		    l_int mountdirfd,
1526		    struct l_file_handle *handle,
1527		    l_int flags
1528		);
1529	}
1530266	AUE_NULL	STD	{
1531		int linux_clock_adjtime(void);
1532	}
1533267	AUE_SYNC	STD	{
1534		int linux_syncfs(
1535		    l_int fd
1536		);
1537	}
1538268	AUE_NULL	STD	{
1539		int linux_setns(
1540		    l_int fd,
1541		    l_int nstype
1542		);
1543	}
1544269	AUE_NULL	STD	{
1545		int linux_sendmmsg(
1546		    l_int s,
1547		    struct l_mmsghdr *msg,
1548		    l_uint vlen,
1549		    l_uint flags
1550		);
1551	}
1552270	AUE_NULL	STD	{
1553		int linux_process_vm_readv(
1554		    l_pid_t pid,
1555		    const struct iovec *lvec,
1556		    l_ulong liovcnt,
1557		    const struct iovec *rvec,
1558		    l_ulong riovcnt,
1559		    l_ulong flags
1560		);
1561	}
1562271	AUE_NULL	STD	{
1563		int linux_process_vm_writev(
1564		    l_pid_t pid,
1565		    const struct iovec *lvec,
1566		    l_ulong liovcnt,
1567		    const struct iovec *rvec,
1568		    l_ulong riovcnt,
1569		    l_ulong flags
1570		);
1571	}
1572272	AUE_NULL	STD	{
1573		int linux_kcmp(
1574		    l_pid_t pid1,
1575		    l_pid_t pid2,
1576		    l_int type,
1577		    l_ulong idx1,
1578		    l_ulong idx
1579		);
1580	}
1581273	AUE_NULL	STD	{
1582		int linux_finit_module(
1583		    l_int fd,
1584		    const char *uargs,
1585		    l_int flags
1586		);
1587	}
1588274	AUE_NULL	STD	{
1589		int linux_sched_setattr(
1590		    l_pid_t pid,
1591		    void *attr,
1592		    l_uint flags
1593		);
1594	}
1595275	AUE_NULL	STD	{
1596		int linux_sched_getattr(
1597		    l_pid_t pid,
1598		    void *attr,
1599		    l_uint size,
1600		    l_uint flags
1601		);
1602	}
1603276	AUE_NULL	STD	{
1604		int linux_renameat2(
1605		    l_int olddfd,
1606		    const char *oldname,
1607		    l_int newdfd,
1608		    const char *newname,
1609		    l_uint flags
1610		);
1611	}
1612277	AUE_NULL	STD	{
1613		int linux_seccomp(
1614		    l_uint op,
1615		    l_uint flags,
1616		    const char *uargs
1617		);
1618	}
1619278	AUE_NULL	STD	{
1620		int linux_getrandom(
1621		    char *buf,
1622		    l_size_t count,
1623		    l_uint flags
1624		);
1625	}
1626279	AUE_NULL	STD	{
1627		int linux_memfd_create(
1628		    const char *uname_ptr,
1629		    l_uint flags
1630		);
1631	}
1632280	AUE_NULL	STD	{
1633		int linux_bpf(
1634		    l_int cmd,
1635		    void *attr,
1636		    l_uint size
1637		);
1638	}
1639281	AUE_NULL	STD	{
1640		int linux_execveat(
1641		    l_int dfd,
1642		    const char *filename,
1643		    const char **argv,
1644		    const char **envp,
1645		    l_int flags
1646		);
1647	}
1648282	AUE_NULL	STD	{
1649		int linux_userfaultfd(
1650		    l_int flags
1651		);
1652	}
1653283	AUE_NULL	STD	{
1654		int linux_membarrier(
1655		    l_int cmd,
1656		    l_int flags
1657		);
1658	}
1659284	AUE_NULL	STD	{
1660		int linux_mlock2(
1661		    l_ulong start,
1662		    l_size_t len,
1663		    l_int flags
1664		);
1665	}
1666285	AUE_NULL	STD	{
1667		int linux_copy_file_range(
1668		    l_int fd_in,
1669		    l_loff_t *off_in,
1670		    l_int fd_out,
1671		    l_loff_t *off_out,
1672		    l_size_t len,
1673		    l_uint flags
1674		);
1675	}
1676286	AUE_NULL	STD	{
1677		int linux_preadv2(
1678		    l_ulong fd,
1679		    const struct iovec *vec,
1680		    l_ulong vlen,
1681		    l_ulong pos_l,
1682		    l_ulong pos_h,
1683		    l_int flags
1684		);
1685	}
1686287	AUE_NULL	STD	{
1687		int linux_pwritev2(
1688		    l_ulong fd,
1689		    const struct iovec *vec,
1690		    l_ulong vlen,
1691		    l_ulong pos_l,
1692		    l_ulong pos_h,
1693		    l_int flags
1694		);
1695	}
1696288	AUE_NULL	STD	{
1697		int linux_pkey_mprotect(
1698		    l_ulong start,
1699		    l_size_t len,
1700		    l_ulong prot,
1701		    l_int pkey
1702		);
1703	}
1704289	AUE_NULL	STD	{
1705		int linux_pkey_alloc(
1706		    l_ulong flags,
1707		    l_ulong init_val
1708		);
1709	}
1710290	AUE_NULL	STD	{
1711		int linux_pkey_free(
1712		    l_int pkey
1713		);
1714	}
1715; Linux 4.11:
1716291    AUE_NULL		STD {
1717		int linux_statx(
1718		    l_int dirfd,
1719		    const char *pathname,
1720		    l_uint flags,
1721		    l_uint mask,
1722		    void *statxbuf
1723		);
1724	}
1725; Linux 4.18:
1726292    AUE_NULL		STD {
1727		int linux_io_pgetevents(void);
1728	}
1729293    AUE_NULL		STD {
1730		int linux_rseq(
1731		    struct linux_rseq *rseq,
1732		    uint32_t rseq_len,
1733		    l_int flags,
1734		    uint32_t sig
1735		);
1736	}
1737294    AUE_NULL		STD {
1738		int linux_kexec_file_load(void);
1739	}
1740295-423	AUE_NULL	UNIMPL	unimpl_md_syscall
1741424	AUE_NULL	STD {
1742		int linux_pidfd_send_signal(
1743		    l_int pidfd,
1744		    l_int sig,
1745		    l_siginfo_t *info,
1746		    l_uint flags
1747		);
1748	}
1749425	AUE_NULL	STD {
1750		int linux_io_uring_setup(void);
1751	}
1752426	AUE_NULL	STD {
1753		int linux_io_uring_enter(void);
1754	}
1755427	AUE_NULL	STD {
1756		int linux_io_uring_register(void);
1757	}
1758428    AUE_NULL		STD {
1759		int linux_open_tree(void);
1760	}
1761429    AUE_NULL		STD {
1762		int linux_move_mount(void);
1763	}
1764430    AUE_NULL		STD {
1765		int linux_fsopen(void);
1766	}
1767431    AUE_NULL		STD {
1768		int linux_fsconfig(void);
1769	}
1770432    AUE_NULL		STD {
1771		int linux_fsmount(void);
1772	}
1773433    AUE_NULL		STD {
1774		int linux_fspick(void);
1775	}
1776434    AUE_NULL		STD {
1777		int linux_pidfd_open(void);
1778	}
1779435    AUE_NULL		STD {
1780		int linux_clone3(
1781		    struct l_user_clone_args *uargs,
1782		    l_size_t usize
1783		);
1784	}
1785436	AUE_CLOSERANGE	STD {
1786		int linux_close_range(
1787		    l_uint first,
1788		    l_uint last,
1789		    l_uint flags
1790		);
1791	}
1792437    AUE_NULL		STD {
1793		int linux_openat2(void);
1794	}
1795438    AUE_NULL		STD {
1796		int linux_pidfd_getfd(void);
1797	}
1798439    AUE_NULL		STD {
1799		int linux_faccessat2(
1800		    l_int dfd,
1801		    const char *filename,
1802		    l_int amode,
1803		    l_int flags
1804		);
1805	}
1806440    AUE_NULL		STD {
1807		int linux_process_madvise(void);
1808	}
1809441    AUE_NULL		STD {
1810		int linux_epoll_pwait2(
1811		    l_int epfd,
1812		    struct epoll_event *events,
1813		    l_int maxevents,
1814		    struct l_timespec *timeout,
1815		    l_sigset_t *mask,
1816		    l_size_t sigsetsize
1817		);
1818	}
1819442    AUE_NULL		STD {
1820		int linux_mount_setattr(void);
1821	}
1822; please, keep this line at the end.
1823443    AUE_NULL        UNIMPL  nosys
1824; vim: syntax=off
1825