xref: /freebsd/sys/arm64/linux/syscalls.master (revision 22cf89c938886d14f5796fc49f9f020c23ea8eaf)
1
2; Linux ABI system call generic name/number map, based on Linux file
3; include/uapi/asm-generic/unistd.h
4
5; #include's, #defines's, etc. may be included, and are copied to the output
6; files. However, #ifdef, etc will be copied, but any lines that don't start
7; with # will not. Caveat Emptor.
8
9#include <sys/param.h>
10#include <sys/sysent.h>
11#include <sys/sysproto.h>
12#include <compat/linux/linux_sysproto.h>
13#include <arm64/linux/linux.h>
14#include <arm64/linux/linux_proto.h>
15
16; Isn't pretty, but there seems to be no other way to trap nosys
17#define	nosys	linux_nosys
18
190	AUE_NULL	UNIMPL	linux_io_setup
201	AUE_NULL	UNIMPL	linux_io_destroy
212	AUE_NULL	UNIMPL	linux_io_submit
223	AUE_NULL	UNIMPL	linux_io_cancel
234	AUE_NULL	UNIMPL	linux_io_getevents
245	AUE_NULL	STD	{
25		int linux_setxattr(
26		    const char *path,
27		    const char *name,
28		    void *value,
29		    l_size_t size,
30		    l_int flags
31		);
32	}
336	AUE_NULL	STD	{
34		int linux_lsetxattr(
35		    const char *path,
36		    const char *name,
37		    void *value,
38		    l_size_t size,
39		    l_int flags
40		);
41	}
427	AUE_NULL	STD	{
43		int linux_fsetxattr(
44		    l_int fd,
45		    const char *name,
46		    void *value,
47		    l_size_t size,
48		    l_int flags
49		);
50	}
518	AUE_NULL	STD	{
52		int linux_getxattr(
53		    const char *path,
54		    const char *name,
55		    void *value,
56		    l_size_t size
57		);
58	}
599	AUE_NULL	STD	{
60		int linux_lgetxattr(
61		    const char *path,
62		    const char *name,
63		    void *value,
64		    l_size_t size
65		);
66	}
6710	AUE_NULL	STD	{
68		int linux_fgetxattr(
69		    l_int fd,
70		    const char *name,
71		    void *value,
72		    l_size_t size
73		);
74	}
7511	AUE_NULL	STD	{
76		int linux_listxattr(
77		    const char *path,
78		    char *list,
79		    l_size_t size
80		);
81	}
8212	AUE_NULL	STD	{
83		int linux_llistxattr(
84		    const char *path,
85		    char *list,
86		    l_size_t size
87		);
88	}
8913	AUE_NULL	STD	{
90		int linux_flistxattr(
91		    l_int fd,
92		    char *list,
93		    l_size_t size
94		);
95	}
9614	AUE_NULL	STD	{
97		int linux_removexattr(
98		    const char *path,
99		    const char *name
100		);
101	}
10215	AUE_NULL	STD	{
103		int linux_lremovexattr(
104		    const char *path,
105		    const char *name
106		);
107	}
10816	AUE_NULL	STD	{
109		int linux_fremovexattr(
110		    l_int fd,
111		    const char *name
112		);
113	}
11417	AUE_GETCWD	STD	{
115		int linux_getcwd(
116		    char *buf,
117		    l_ulong bufsize
118		);
119	}
12018	AUE_NULL	STD	{
121		 int linux_lookup_dcookie(void);
122	}
12319	AUE_NULL	STD	{
124		int linux_eventfd2(
125		    l_uint initval,
126		    l_int flags
127		);
128	}
12920	AUE_NULL	STD	{
130		int linux_epoll_create1(
131		    l_int flags
132		);
133	}
13421	AUE_NULL	STD	{
135		int linux_epoll_ctl(
136		    l_int epfd,
137		    l_int op,
138		    l_int fd,
139		    struct epoll_event *event
140		);
141	}
14222	AUE_NULL	STD     {
143		int linux_epoll_pwait(
144		    l_int epfd,
145		    struct epoll_event *events,
146		    l_int maxevents,
147		    l_int timeout,
148		    l_sigset_t *mask,
149		    l_size_t sigsetsize
150		);
151	}
15223	AUE_DUP		NOPROTO	{
153		int dup(
154		    u_int fd
155		);
156	}
15724	AUE_NULL	STD	{
158		int linux_dup3(
159		    l_int oldfd,
160		    l_int newfd,
161		    l_int flags
162		);
163	}
16425	AUE_FCNTL	STD	{
165		int linux_fcntl(
166		    l_uint fd,
167		    l_uint cmd,
168		    l_ulong arg
169		);
170	}
17126	AUE_NULL	STD	{
172		int linux_inotify_init1(
173		    l_int flags
174		);
175	}
17627	AUE_NULL	STD	{
177		int linux_inotify_add_watch(void);
178	}
17928	AUE_NULL	STD	{
180		int linux_inotify_rm_watch(void);
181	}
18229	AUE_IOCTL	STD	{
183		int linux_ioctl(
184		    l_uint fd,
185		    l_uint cmd,
186		    l_ulong arg
187		);
188	}
18930	AUE_SETPRIORITY	STD	{
190		int linux_ioprio_set(
191		    l_int which,
192		    l_int who,
193		    l_int ioprio
194		);
195	}
19631	AUE_GETPRIORITY	STD	{
197		int linux_ioprio_get(
198		    l_int which,
199		    l_int who
200		);
201	}
20232	AUE_FLOCK	NOPROTO	{
203		int flock(
204		    int fd,
205		    int how
206		);
207	}
20833	AUE_MKNODAT	STD	{
209		int linux_mknodat(
210		    l_int dfd,
211		    const char *filename,
212		    l_int mode,
213		    l_dev_t dev
214		);
215	}
21634	AUE_MKDIRAT	STD	{
217		int linux_mkdirat(
218		    l_int dfd,
219		    const char *pathname,
220		    l_mode_t mode
221		);
222	}
22335	AUE_UNLINKAT	STD	{
224		int linux_unlinkat(
225		    l_int dfd,
226		    const char *pathname,
227		    l_int flag
228		);
229	}
23036	AUE_SYMLINKAT	STD	{
231		int linux_symlinkat(
232		    const char *oldname,
233		    l_int newdfd,
234		    const char *newname
235		);
236	}
23737	AUE_LINKAT	STD	{
238		int linux_linkat(
239		    l_int olddfd,
240		    const char *oldname,
241		    l_int newdfd,
242		    const char *newname,
243		    l_int flag
244		);
245	}
24638	AUE_RENAMEAT	STD	{
247		int linux_renameat(
248		    l_int olddfd,
249		    const char *oldname,
250		    l_int newdfd,
251		    const char *newname
252		);
253	}
25439	AUE_NULL	UNIMPL	linux_umount2
25540	AUE_MOUNT	STD	{
256		int linux_mount(
257		    char *specialfile,
258		    char *dir,
259		    char *filesystemtype,
260		    l_ulong rwflag,
261		    void *data
262		);
263	}
26441	AUE_PIVOT_ROOT	STD	{
265		int linux_pivot_root(void);
266	}
26742	AUE_NULL	UNIMPL	nfsservctl
26843	AUE_STATFS	STD	{
269		int linux_statfs(
270		    char *path,
271		    struct l_statfs_buf *buf
272		);
273	}
27444	AUE_FSTATFS	STD	{
275		int linux_fstatfs(
276		    l_uint fd,
277		    struct l_statfs_buf *buf
278		);
279	}
28045	AUE_TRUNCATE	STD	{
281		int linux_truncate(
282		    char *path,
283		    l_ulong length
284		);
285	}
28646	AUE_FTRUNCATE	STD	{
287		int linux_ftruncate(
288		    l_int fd,
289		    l_long length
290		);
291	}
29247	AUE_NULL	STD	{
293		int linux_fallocate(
294		    l_int fd,
295		    l_int mode,
296		    l_loff_t offset,
297		    l_loff_t len
298		);
299	}
30048	AUE_FACCESSAT	STD	{
301		int linux_faccessat(
302		    l_int dfd,
303		    const char *filename,
304		    l_int amode
305		);
306	}
30749	AUE_CHDIR	STD	{
308		int linux_chdir(
309		    char *path
310		);
311	}
31250	AUE_FCHDIR	NOPROTO	{
313		int fchdir(
314		    int fd
315		);
316	}
31751	AUE_CHROOT	NOPROTO	{
318		int chroot(
319		    char *path
320		);
321	}
32252	AUE_FCHMOD	NOPROTO	{
323		int fchmod(
324		    int fd,
325		    int mode
326		);
327	}
32853	AUE_FCHMODAT	STD	{
329		int linux_fchmodat(
330		    l_int dfd,
331		    const char *filename,
332		    l_mode_t mode
333		);
334	}
33554	AUE_FCHOWNAT	STD	{
336		int linux_fchownat(
337		    l_int dfd,
338		    const char *filename,
339		    l_uid_t uid,
340		    l_gid_t gid,
341		    l_int flag
342		);
343	}
34455	AUE_FCHOWN	NOPROTO	{
345		int fchown(
346		    int fd,
347		    int uid,
348		    int gid
349		);
350	}
35156	AUE_OPEN_RWTC	STD	{
352		int linux_openat(
353		    l_int dfd,
354		    const char *filename,
355		    l_int flags,
356		    l_mode_t mode
357		);
358	}
35957	AUE_CLOSE	NOPROTO	{
360		int close(
361		    int fd
362		);
363	}
36458	AUE_NULL	STD	{
365		int linux_vhangup(void);
366	}
36759	AUE_NULL	STD	{
368		int linux_pipe2(
369		    l_int *pipefds,
370		    l_int flags
371		);
372	}
37360	AUE_NULL	UNIMPL	linux_quotactl
37461	AUE_GETDIRENTRIES	STD {
375		int linux_getdents64(
376		    l_uint fd,
377		    void *dirent,
378		    l_uint count
379		);
380	}
38162	AUE_LSEEK	STD	{
382		int linux_lseek(
383		    l_uint fdes,
384		    l_off_t off,
385		    l_int whence
386		);
387	}
38863	AUE_NULL	NOPROTO	{
389		int read(
390		    int fd,
391		    char *buf,
392		    l_size_t nbyte
393		);
394	}
39564	AUE_NULL	STD {
396		int linux_write(
397		    int fd,
398		    char *buf,
399		    l_size_t nbyte
400		);
401	}
40265	AUE_READV	NOPROTO	{
403		int readv(
404		    int fd,
405		    struct iovec *iovp,
406		    u_int iovcnt
407		);
408	}
40966	AUE_WRITEV	STD	{
410		int linux_writev(
411		    int fd,
412		    struct iovec *iovp,
413		    u_int iovcnt
414		);
415	}
41667	AUE_PREAD	STD	{
417		int linux_pread(
418		    l_uint fd,
419		    char *buf,
420		    l_size_t nbyte,
421		    l_loff_t offset
422		);
423	}
42468	AUE_PWRITE	STD	{
425		int linux_pwrite(
426		    l_uint fd,
427		    char *buf,
428		    l_size_t nbyte,
429		    l_loff_t offset
430		);
431	}
43269	AUE_NULL	STD	{
433		int linux_preadv(
434		    l_ulong fd,
435		    struct iovec *vec,
436		    l_ulong vlen,
437		    l_ulong pos_l,
438		    l_ulong pos_h
439		);
440	}
44170	AUE_NULL	STD	{
442		int linux_pwritev(
443		    l_ulong fd,
444		    struct iovec *vec,
445		    l_ulong vlen,
446		    l_ulong pos_l,
447		    l_ulong pos_h
448		);
449	}
45071	AUE_SENDFILE	STD	{
451		int linux_sendfile(
452		    l_int out,
453		    l_int in,
454		    l_off_t *offset,
455		    l_size_t count
456		);
457	}
45872	AUE_SELECT	STD	{
459		int linux_pselect6(
460		    l_int nfds,
461		    l_fd_set *readfds,
462		    l_fd_set *writefds,
463		    l_fd_set *exceptfds,
464		    struct l_timespec *tsp,
465		    l_uintptr_t *sig
466		);
467	}
46873	AUE_POLL	STD	{
469		int linux_ppoll(
470		    struct pollfd *fds,
471		    l_uint nfds,
472		    struct l_timespec *tsp,
473		    l_sigset_t *sset,
474		    l_size_t ssize
475		);
476	}
47774	AUE_NULL	STD	{
478		int linux_signalfd4(void);
479	}
48075	AUE_NULL	STD	{
481		int linux_vmsplice(void);
482	}
48376	AUE_NULL	STD	{
484		int linux_splice(
485		    int fd_in,
486		    l_loff_t *off_in,
487		    int fd_out,
488		    l_loff_t *off_out,
489		    l_size_t len,
490		    l_uint flags
491		);
492	}
49377	AUE_NULL	STD	{
494		int linux_tee(void);
495	}
49678	AUE_READLINKAT	STD	{
497		int linux_readlinkat(
498		    l_int dfd,
499		    const char *path,
500		    char *buf,
501		    l_int bufsiz
502		);
503	}
50479	AUE_FSTATAT	STD	{
505		int linux_newfstatat(
506		    l_int dfd,
507		    char *pathname,
508		    struct l_stat64 *statbuf,
509		    l_int flag
510		);
511	}
51280	AUE_FSTAT	STD	{
513		int linux_newfstat(
514		    l_uint fd,
515		    struct l_newstat *buf
516		);
517	}
51881	AUE_NULL	UNIMPL	linux_sync
51982	AUE_FSYNC	NOPROTO	{
520		int fsync(
521		    int fd
522		);
523	}
52483	AUE_NULL	STD	{
525		int linux_fdatasync(
526		    l_uint fd
527		);
528	}
52984	AUE_NULL	STD	{
530		int linux_sync_file_range(
531		    l_int fd,
532		    l_loff_t offset,
533		    l_loff_t nbytes,
534		    l_uint flags
535		);
536	}
53785	AUE_NULL	STD	{
538		int linux_timerfd_create(
539		    l_int clockid,
540		    l_int flags
541		);
542	}
54386	AUE_NULL	STD	{
544		int linux_timerfd_settime(
545		    l_int fd,
546		    l_int flags,
547		    const struct l_itimerspec *new_value,
548		    struct l_itimerspec *old_value
549		);
550	}
55187	AUE_NULL	STD	{
552		int linux_timerfd_gettime(
553		    l_int fd,
554		    struct l_itimerspec *old_value
555		);
556	}
55788	AUE_FUTIMESAT	STD	{
558		int linux_utimensat(
559		    l_int dfd,
560		    const char *pathname,
561		    const struct l_timespec *times,
562		    l_int flags
563		);
564	}
56589	AUE_ACCT	NOPROTO	{
566		int acct(
567		    char *path
568		);
569	}
57090	AUE_CAPGET	STD	{
571		int linux_capget(
572		    struct l_user_cap_header *hdrp,
573		    struct l_user_cap_data *datap
574		);
575	}
57691	AUE_CAPSET	STD	{
577		int linux_capset(
578		    struct l_user_cap_header *hdrp,
579		    struct l_user_cap_data *datap
580		);
581	}
58292	AUE_PERSONALITY	STD	{
583		int linux_personality(
584		    l_uint per
585		);
586	}
58793	AUE_EXIT	STD	{
588		int linux_exit(
589		    u_int rval
590		);
591	}
59294	AUE_EXIT	STD	{
593		int linux_exit_group(
594		    l_int error_code
595		);
596	}
59795	AUE_WAIT6	STD	{
598		int linux_waitid(
599		    l_int idtype,
600		    l_pid_t id,
601		    l_siginfo_t *info,
602		    l_int options,
603		    struct rusage *rusage
604		);
605	}
60696	AUE_NULL	STD	{
607		int linux_set_tid_address(
608		    l_int *tidptr
609		);
610	}
61197	AUE_NULL	STD	{
612		int linux_unshare(void);
613	}
61498	AUE_NULL	STD	{
615		int linux_sys_futex(
616		    uint32_t *uaddr,
617		    l_int op,
618		    uint32_t val,
619		    struct l_timespec *timeout,
620		    uint32_t *uaddr2,
621		    uint32_t val3
622		);
623	}
62499	AUE_NULL	STD	{
625		int linux_set_robust_list(
626		    struct linux_robust_list_head *head,
627		    l_size_t len
628		);
629	}
630100	AUE_NULL	STD	{
631		int linux_get_robust_list(
632		    l_int pid,
633		    struct linux_robust_list_head **head,
634		    l_size_t *len
635		);
636	}
637101	AUE_NULL	STD	{
638		int linux_nanosleep(
639		    const struct l_timespec *rqtp,
640		    struct l_timespec *rmtp
641		);
642	}
643102	AUE_GETITIMER	STD	{
644		int linux_getitimer(
645		    l_int which,
646		    struct l_itimerval *itv
647		);
648	}
649103	AUE_SETITIMER	STD	{
650		int linux_setitimer(
651		    l_int which,
652		    struct l_itimerval *itv,
653		    struct l_itimerval *oitv
654		);
655	}
656104	AUE_NULL	STD	{
657		int linux_kexec_load(void);
658	}
659105	AUE_NULL	STD	{
660		int linux_init_module(void);
661	}
662106	AUE_NULL	STD	{
663		int linux_delete_module(void);
664	}
665107	AUE_NULL	STD	{
666		int linux_timer_create(
667		    clockid_t clock_id,
668		    struct sigevent *evp,
669		    l_timer_t *timerid
670		);
671	}
672108	AUE_NULL	STD	{
673		int linux_timer_gettime(
674		    l_timer_t timerid,
675		    struct itimerspec *setting
676		);
677	}
678109	AUE_NULL	STD	{
679		int linux_timer_getoverrun(
680		    l_timer_t timerid
681		);
682	}
683110	AUE_NULL	STD	{
684		int linux_timer_settime(
685		    l_timer_t timerid,
686		    l_int flags,
687		    const struct itimerspec *new,
688		    struct itimerspec *old
689		);
690	}
691111	AUE_NULL	STD	{
692		int linux_timer_delete(
693		    l_timer_t timerid
694		);
695	}
696112	AUE_CLOCK_SETTIME	STD	{
697		int linux_clock_settime(
698		    clockid_t which,
699		    struct l_timespec *tp
700		);
701	}
702113	AUE_NULL	STD	{
703		int linux_clock_gettime(
704		    clockid_t which,
705		    struct l_timespec *tp
706		);
707	}
708114	AUE_NULL	STD	{
709		int linux_clock_getres(
710		    clockid_t which,
711		    struct l_timespec *tp
712		);
713	}
714115	AUE_NULL	STD	{
715		int linux_clock_nanosleep(
716		    clockid_t which,
717		    l_int flags,
718		    struct l_timespec *rqtp,
719		    struct l_timespec *rmtp
720		);
721	}
722116	AUE_NULL	STD	{
723		int linux_syslog(
724		    l_int type,
725		    char *buf,
726		    l_int len
727		);
728	}
729117	AUE_PTRACE	STD	{
730		int linux_ptrace(
731		    l_long req,
732		    l_long pid,
733		    l_ulong addr,
734		    l_ulong data
735		);
736	}
737118	AUE_SCHED_SETPARAM	STD	{
738		int linux_sched_setparam(
739		    l_pid_t pid,
740		    struct sched_param *param
741		);
742	}
743119	AUE_SCHED_SETSCHEDULER	STD {
744		int linux_sched_setscheduler(
745		    l_pid_t pid,
746		    l_int policy,
747		    struct sched_param *param
748		);
749	}
750120	AUE_SCHED_GETSCHEDULER	STD {
751		int linux_sched_getscheduler(
752		    l_pid_t pid
753		);
754	}
755121	AUE_SCHED_GETPARAM	STD	{
756		int linux_sched_getparam(
757		    l_pid_t pid,
758		    struct sched_param *param
759		);
760	}
761122	AUE_NULL	STD	{
762		int linux_sched_setaffinity(
763		    l_pid_t pid,
764		    l_uint len,
765		    l_ulong *user_mask_ptr
766		);
767	}
768123	AUE_NULL	STD	{
769		int linux_sched_getaffinity(
770		    l_pid_t pid,
771		    l_uint len,
772		    l_ulong *user_mask_ptr
773		);
774	}
775124	AUE_NULL	NOPROTO	{
776		int sched_yield(void);
777	}
778125	AUE_SCHED_GET_PRIORITY_MAX	STD {
779		int linux_sched_get_priority_max(
780		    l_int policy
781		);
782	}
783126	AUE_SCHED_GET_PRIORITY_MIN	STD {
784		int linux_sched_get_priority_min(
785		    l_int policy
786		);
787	}
788127	AUE_SCHED_RR_GET_INTERVAL	STD {
789		int linux_sched_rr_get_interval(
790		    l_pid_t pid,
791		    struct l_timespec *interval
792		);
793	}
794128	AUE_NULL	UNIMPL	restart_syscall
795129	AUE_KILL	STD	{
796		int linux_kill(
797		    l_pid_t pid,
798		    l_int signum
799		);
800	}
801130	AUE_NULL	STD	{
802		int linux_tkill(
803		    l_pid_t tid,
804		    l_int sig
805		);
806	}
807131	AUE_NULL	STD	{
808		int linux_tgkill(
809		    l_pid_t tgid,
810		    l_pid_t pid,
811		    l_int sig
812		);
813	}
814132	AUE_NULL	STD	{
815		int linux_sigaltstack(
816		    l_stack_t *uss,
817		    l_stack_t *uoss
818		);
819	}
820133	AUE_NULL	STD	{
821		int linux_rt_sigsuspend(
822		    l_sigset_t *newset,
823		    l_size_t sigsetsize
824		);
825	}
826134	AUE_NULL	STD	{
827		int linux_rt_sigaction(
828		    l_int sig,
829		    l_sigaction_t *act,
830		    l_sigaction_t *oact,
831		    l_size_t sigsetsize
832		);
833	}
834135	AUE_NULL	STD	{
835		int linux_rt_sigprocmask(
836		    l_int how,
837		    l_sigset_t *mask,
838		    l_sigset_t *omask,
839		    l_size_t sigsetsize
840		);
841	}
842136	AUE_NULL	STD	{
843		int linux_rt_sigpending(
844		    l_sigset_t *set,
845		    l_size_t sigsetsize
846		);
847	}
848137	AUE_NULL	STD	{
849		int linux_rt_sigtimedwait(
850		    l_sigset_t *mask,
851		    l_siginfo_t *ptr,
852		    struct l_timespec *timeout,
853		    l_size_t sigsetsize
854		);
855	}
856138	AUE_NULL	STD	{
857		int linux_rt_sigqueueinfo(
858		    l_pid_t pid,
859		    l_int sig,
860		    l_siginfo_t *info
861		);
862	}
863139	AUE_NULL	STD	{
864		int linux_rt_sigreturn(void);
865	}
866140	AUE_SETPRIORITY	NOPROTO	{
867		int setpriority(
868		    int which,
869		    int who,
870		    int prio
871		);
872	}
873141	AUE_GETPRIORITY	STD	{
874		int linux_getpriority(
875		    l_int which,
876		    l_int who
877		);
878	}
879142	AUE_REBOOT	STD	{
880		int linux_reboot(
881		    l_int magic1,
882		    l_int magic2,
883		    l_uint cmd,
884		    void *arg
885		);
886	}
887143	AUE_SETREGID	NOPROTO	{
888		int setregid(
889		    gid_t rgid,
890		    gid_t egid
891		);
892	}
893144	AUE_SETGID	NOPROTO	{
894		int setgid(
895		    gid_t gid
896		);
897	}
898145	AUE_SETREUID	NOPROTO	{
899		int setreuid(
900		    uid_t ruid,
901		    uid_t euid
902		);
903	}
904146	AUE_SETUID	NOPROTO	{
905		int setuid(
906		    uid_t uid
907		);
908	}
909147	AUE_SETRESUID	NOPROTO	{
910		int setresuid(
911		    uid_t ruid,
912		    uid_t euid,
913		    uid_t suid
914		);
915	}
916148	AUE_GETRESUID	NOPROTO	{
917		int getresuid(
918		    uid_t *ruid,
919		    uid_t *euid,
920		    uid_t *suid
921		);
922	}
923149	AUE_SETRESGID	NOPROTO	{
924		int setresgid(
925		    gid_t rgid,
926		    gid_t egid,
927		    gid_t sgid
928		);
929	}
930150	AUE_GETRESGID	NOPROTO	{
931		int getresgid(
932		    gid_t *rgid,
933		    gid_t *egid,
934		    gid_t *sgid
935		);
936	}
937151	AUE_SETFSUID	STD	{
938		int linux_setfsuid(
939		    l_uid_t uid
940		);
941	}
942152	AUE_SETFSGID	STD	{
943		int linux_setfsgid(
944		    l_gid_t gid
945		);
946	}
947153	AUE_NULL	STD	{
948		int linux_times(
949		    struct l_times_argv *buf
950		);
951	}
952154	AUE_SETPGRP	NOPROTO	{
953		int setpgid(
954		    int pid,
955		    int pgid
956		);
957	}
958155	AUE_GETPGID	NOPROTO	{
959		int getpgid(
960		    int pid
961		);
962	}
963156	AUE_GETSID	STD	{
964		int linux_getsid(
965		    l_pid_t pid
966		);
967	}
968157	AUE_SETSID	NOPROTO	{
969		int setsid(void);
970	}
971158	AUE_GETGROUPS	STD	{
972		int linux_getgroups(
973		    l_int gidsetsize,
974		    l_gid_t *grouplist
975		);
976	}
977159	AUE_SETGROUPS	STD	{
978		int linux_setgroups(
979		    l_int gidsetsize,
980		    l_gid_t *grouplist
981		);
982	}
983160	AUE_NULL	STD	{
984		int linux_newuname(
985		    struct l_new_utsname *buf
986		);
987	}
988161	AUE_SYSCTL	STD	{
989		int linux_sethostname(
990		    char *hostname,
991		    l_uint len
992		);
993	}
994162	AUE_SYSCTL	STD	{
995		int linux_setdomainname(
996		    char *name,
997		    l_int len
998		);
999	}
1000163	AUE_GETRLIMIT	STD	{
1001		int linux_getrlimit(
1002		    l_uint resource,
1003		    struct l_rlimit *rlim
1004		);
1005	}
1006164	AUE_SETRLIMIT	STD	{
1007		int linux_setrlimit(
1008		    l_uint resource,
1009		    struct l_rlimit *rlim
1010		);
1011	}
1012165	AUE_GETRUSAGE	NOPROTO	{
1013		int getrusage(
1014		    int who,
1015		    struct rusage *rusage
1016		);
1017	}
1018166	AUE_UMASK	NOPROTO	{
1019		int umask(
1020		    int newmask
1021		);
1022	}
1023167	AUE_PRCTL	STD	{
1024		int linux_prctl(
1025		    l_int option,
1026		    l_uintptr_t arg2,
1027		    l_uintptr_t arg3,
1028		    l_uintptr_t arg4,
1029		    l_uintptr_t arg5
1030		);
1031	}
1032168	AUE_NULL	STD	{
1033		int linux_getcpu(
1034		    l_uint *cpu,
1035		    l_uint *node,
1036		    void *cache
1037		);
1038	}
1039169	AUE_NULL	NOPROTO	{
1040		int gettimeofday(
1041		    struct l_timeval *tp,
1042		    struct timezone *tzp
1043		);
1044	}
1045170	AUE_SETTIMEOFDAY	NOPROTO	{
1046		int settimeofday(
1047		    struct l_timeval *tv,
1048		    struct timezone *tzp
1049		);
1050	}
1051171	AUE_ADJTIME	STD	{
1052		int linux_adjtimex(void);
1053	}
1054172	AUE_GETPID	STD	{
1055		int linux_getpid(void);
1056	}
1057173	AUE_GETPPID	STD	{
1058		int linux_getppid(void);
1059	}
1060174	AUE_GETUID	STD	{
1061		int linux_getuid(void);
1062	}
1063175	AUE_GETEUID	NOPROTO	{
1064		int geteuid(void);
1065	}
1066176	AUE_GETGID	STD	{
1067		int linux_getgid(void);
1068	}
1069177	AUE_GETEGID	NOPROTO	{
1070		int getegid(void);
1071	}
1072178	AUE_NULL	STD	{
1073		int linux_gettid(void);
1074	}
1075179	AUE_NULL	STD	{
1076		int linux_sysinfo(
1077		    struct l_sysinfo *info
1078		);
1079	}
1080180	AUE_NULL	STD	{
1081		int linux_mq_open(
1082		    const char *name,
1083		    l_int oflag,
1084		    l_mode_t mode,
1085		    struct mq_attr *attr
1086		);
1087	}
1088181	AUE_NULL	STD	{
1089		int linux_mq_unlink(
1090		    const char *name
1091		);
1092	}
1093182	AUE_NULL	STD	{
1094		int linux_mq_timedsend(
1095		    l_mqd_t mqd,
1096		    const char *msg_ptr,
1097		    l_size_t msg_len,
1098		    l_uint msg_prio,
1099		    const struct l_timespec *abs_timeout
1100		);
1101	}
1102183	AUE_NULL	STD	{
1103		int linux_mq_timedreceive(
1104		    l_mqd_t mqd,
1105		    char *msg_ptr,
1106		    l_size_t msg_len,
1107		    l_uint *msg_prio,
1108		    const struct l_timespec *abs_timeout
1109		);
1110	}
1111184	AUE_NULL	STD	{
1112		int linux_mq_notify(
1113		    l_mqd_t mqd,
1114		    const struct l_timespec *abs_timeout
1115		);
1116	}
1117185	AUE_NULL	STD	{
1118		int linux_mq_getsetattr(
1119		    l_mqd_t mqd,
1120		    const struct mq_attr *attr,
1121		    struct mq_attr *oattr
1122		);
1123	}
1124186	AUE_NULL	STD	{
1125		int linux_msgget(
1126		    l_key_t key,
1127		    l_int msgflg
1128		);
1129	}
1130187	AUE_NULL	STD	{
1131		int linux_msgctl(
1132		    l_int msqid,
1133		    l_int cmd,
1134		    struct l_msqid_ds *buf
1135		);
1136	}
1137188	AUE_NULL	STD	{
1138		int linux_msgrcv(
1139		    l_int msqid,
1140		    struct l_msgbuf *msgp,
1141		    l_size_t msgsz,
1142		    l_long msgtyp,
1143		    l_int msgflg
1144		);
1145	}
1146189	AUE_NULL	STD	{
1147		int linux_msgsnd(
1148		    l_int msqid,
1149		    struct l_msgbuf *msgp,
1150		    l_size_t msgsz,
1151		    l_int msgflg
1152		);
1153	}
1154190	AUE_NULL	STD	{
1155		int linux_semget(
1156		    l_key_t key,
1157		    l_int nsems,
1158		    l_int semflg
1159		);
1160	}
1161191	AUE_NULL	STD	{
1162		int linux_semctl(
1163		    l_int semid,
1164		    l_int semnum,
1165		    l_int cmd,
1166		    union l_semun arg
1167		);
1168	}
1169192	AUE_NULL	STD	{
1170		int linux_semtimedop(
1171		    l_int semid,
1172		    struct sembuf *tsops,
1173		    l_size_t nsops,
1174		    struct l_timespec *timeout
1175		);
1176	}
1177193	AUE_NULL	NOPROTO	{
1178		int semop(
1179		    l_int semid,
1180		    struct sembuf *sops,
1181		    l_size_t nsops
1182		);
1183	}
1184194	AUE_NULL	STD	{
1185		int linux_shmget(
1186		    l_key_t key,
1187		    l_size_t size,
1188		    l_int shmflg
1189		);
1190	}
1191195	AUE_NULL	STD	{
1192		int linux_shmctl(
1193		    l_int shmid,
1194		    l_int cmd,
1195		    struct l_shmid_ds *buf
1196		);
1197	}
1198196	AUE_NULL	STD	{
1199		int linux_shmat(
1200		    l_int shmid,
1201		    char *shmaddr,
1202		    l_int shmflg
1203		);
1204	}
1205197	AUE_NULL	STD	{
1206		int linux_shmdt(
1207		    char *shmaddr
1208		);
1209	}
1210198	AUE_SOCKET	STD	{
1211		int linux_socket(
1212		    l_int domain,
1213		    l_int type,
1214		    l_int protocol
1215		);
1216	}
1217199	AUE_SOCKETPAIR	STD	{
1218		int linux_socketpair(
1219		    l_int domain,
1220		    l_int type,
1221		    l_int protocol,
1222		    l_uintptr_t rsv
1223		);
1224	}
1225200	AUE_BIND	STD	{
1226		int linux_bind(
1227		    l_int s,
1228		    l_uintptr_t name,
1229		    l_int namelen
1230		);
1231	}
1232201	AUE_LISTEN	STD	{
1233		int linux_listen(
1234		    l_int s,
1235		    l_int backlog
1236		);
1237	}
1238202	AUE_ACCEPT	STD	{
1239		int linux_accept(
1240		    l_int s,
1241		    l_uintptr_t addr,
1242		    l_uintptr_t namelen
1243		);
1244	}
1245203	AUE_CONNECT	STD	{
1246		int linux_connect(
1247		    l_int s,
1248		    l_uintptr_t name,
1249		    l_int namelen
1250		);
1251	}
1252204	AUE_GETSOCKNAME	STD	{
1253		int linux_getsockname(
1254		    l_int s,
1255		    l_uintptr_t addr,
1256		    l_uintptr_t namelen
1257		);
1258	}
1259205	AUE_GETPEERNAME	STD	{
1260		int linux_getpeername(
1261		    l_int s,
1262		    l_uintptr_t addr,
1263		    l_uintptr_t namelen
1264		);
1265	}
1266206	AUE_SENDTO	STD	{
1267		int linux_sendto(
1268		    l_int s,
1269		    l_uintptr_t msg,
1270		    l_size_t len,
1271		    l_uint flags,
1272		    l_uintptr_t to,
1273		    l_int tolen
1274		);
1275	}
1276207	AUE_RECVFROM	STD	{
1277		int linux_recvfrom(
1278		    l_int s,
1279		    l_uintptr_t buf,
1280		    l_size_t len,
1281		    l_uint flags,
1282		    l_uintptr_t from,
1283		    l_uintptr_t fromlen
1284		);
1285	}
1286208	AUE_SETSOCKOPT	STD	{
1287		int linux_setsockopt(
1288		    l_int s,
1289		    l_int level,
1290		    l_int optname,
1291		    l_uintptr_t optval,
1292		    l_int optlen
1293		);
1294	}
1295209	AUE_GETSOCKOPT	STD	{
1296		int linux_getsockopt(
1297		    l_int s,
1298		    l_int level,
1299		    l_int optname,
1300		    l_uintptr_t optval,
1301		    l_uintptr_t optlen
1302		);
1303	}
1304210	AUE_NULL	STD	{
1305		int linux_shutdown(
1306		    l_int s,
1307		    l_int how
1308		);
1309	}
1310211	AUE_SENDMSG	STD	{
1311		int linux_sendmsg(
1312		    l_int s,
1313		    l_uintptr_t msg,
1314		    l_uint flags
1315		);
1316	}
1317212	AUE_RECVMSG	STD	{
1318		int linux_recvmsg(
1319		    l_int s,
1320		    l_uintptr_t msg,
1321		    l_uint flags
1322		);
1323	}
1324213	AUE_NULL	UNIMPL	linux_readahead
1325214	AUE_NULL	STD	{
1326		int linux_brk(
1327		    l_ulong dsend
1328		);
1329	}
1330215	AUE_MUNMAP	NOPROTO	{
1331		int munmap(
1332		    void *addr,
1333		    l_size_t len
1334		);
1335	}
1336216	AUE_NULL	STD	{
1337		int linux_mremap(
1338		    l_ulong addr,
1339		    l_ulong old_len,
1340		    l_ulong new_len,
1341		    l_ulong flags,
1342		    l_ulong new_addr
1343		);
1344	}
1345217	AUE_NULL	STD	{
1346		int linux_add_key(void);
1347	}
1348218	AUE_NULL	STD	{
1349		int linux_request_key(void);
1350	}
1351219	AUE_NULL	STD	{
1352		int linux_keyctl(void);
1353	}
1354220	AUE_RFORK	STD	{
1355		int linux_clone(
1356		    l_ulong flags,
1357		    l_ulong stack,
1358		    l_int *parent_tidptr,
1359		    l_ulong tls,
1360		    l_int *child_tidptr
1361		);
1362	}
1363221	AUE_EXECVE	STD	{
1364		int linux_execve(
1365		    char *path,
1366		    l_uintptr_t *argp,
1367		    l_uintptr_t *envp
1368		);
1369	}
1370222	AUE_MMAP	STD	{
1371		int linux_mmap2(
1372		    l_ulong addr,
1373		    l_ulong len,
1374		    l_ulong prot,
1375		    l_ulong flags,
1376		    l_ulong fd,
1377		    l_ulong pgoff
1378		);
1379	}
1380223	AUE_NULL	STD	{
1381		int linux_fadvise64(
1382		    l_int fd,
1383		    l_loff_t offset,
1384		    l_size_t len,
1385		    l_int advice
1386		);
1387	}
1388224	AUE_SWAPON	NOPROTO	{
1389		int swapon(
1390		    char *name
1391		);
1392	}
1393225	AUE_SWAPOFF	STD	{
1394		int linux_swapoff(void);
1395	}
1396226	AUE_MPROTECT	STD	{
1397		int linux_mprotect(
1398		    l_ulong addr,
1399		    l_size_t len,
1400		    l_ulong prot
1401		);
1402	}
1403227	AUE_MSYNC	STD	{
1404		int linux_msync(
1405		    l_ulong addr,
1406		    l_size_t len,
1407		    l_int fl
1408		);
1409	}
1410228	AUE_MLOCK	NOPROTO	{
1411		int mlock(
1412		    const void *addr,
1413		    size_t len
1414		);
1415	}
1416229	AUE_MUNLOCK	NOPROTO	{
1417		int munlock(
1418		    const void *addr,
1419		    size_t len
1420		);
1421	}
1422230	AUE_MLOCKALL	NOPROTO	{
1423		int mlockall(
1424		    int how
1425		);
1426	}
1427231	AUE_MUNLOCKALL	NOPROTO	{
1428		int munlockall(void);
1429	}
1430232	AUE_MINCORE	STD	{
1431		int linux_mincore(
1432		    l_ulong start,
1433		    l_size_t len,
1434		    u_char *vec
1435		);
1436	}
1437233	AUE_MADVISE	STD	{
1438		int linux_madvise(
1439		    l_ulong addr,
1440		    l_size_t len,
1441		    l_int behav
1442		);
1443	}
1444234	AUE_NULL	STD	{
1445		int linux_remap_file_pages(void);
1446	}
1447235	AUE_NULL	STD	{
1448		int linux_mbind(void);
1449	}
1450236	AUE_NULL	STD	{
1451		int linux_get_mempolicy(void);
1452	}
1453237	AUE_NULL	STD	{
1454		int linux_set_mempolicy(void);
1455	}
1456238	AUE_NULL	STD	{
1457		int linux_migrate_pages(void);
1458	}
1459239	AUE_NULL	STD	{
1460		int linux_move_pages(void);
1461	}
1462240	AUE_NULL	STD	{
1463		int linux_rt_tgsigqueueinfo(
1464		    l_pid_t tgid,
1465		    l_pid_t tid,
1466		    l_int sig,
1467		    l_siginfo_t *uinfo
1468		);
1469	}
1470241	AUE_NULL	STD	{
1471		int linux_perf_event_open(void);
1472	}
1473242	AUE_ACCEPT	STD	{
1474		int linux_accept4(
1475		    l_int s,
1476		    l_uintptr_t addr,
1477		    l_uintptr_t namelen,
1478		    l_int flags
1479		);
1480	}
1481243	AUE_NULL	STD	{
1482		int linux_recvmmsg(
1483		    l_int s,
1484		    struct l_mmsghdr *msg,
1485		    l_uint vlen,
1486		    l_uint flags,
1487		    struct l_timespec *timeout
1488		);
1489	}
1490244-259	AUE_NULL	UNIMPL	unimpl_md_syscall
1491260	AUE_WAIT4	STD	{
1492		int linux_wait4(
1493		    l_pid_t pid,
1494		    l_int *status,
1495		    l_int options,
1496		    struct rusage *rusage
1497		);
1498	}
1499261	AUE_NULL	STD	{
1500		int linux_prlimit64(
1501		    l_pid_t pid,
1502		    l_uint resource,
1503		    struct rlimit *new,
1504		    struct rlimit *old
1505		);
1506	}
1507262	AUE_NULL	STD	{
1508		int linux_fanotify_init(void);
1509	}
1510263	AUE_NULL	STD	{
1511		int linux_fanotify_mark(void);
1512	}
1513264	AUE_NULL	STD	{
1514		int linux_name_to_handle_at(
1515		    l_int dirfd,
1516		    const char *name,
1517		    struct l_file_handle *handle,
1518		    l_int *mnt_id,
1519		    l_int flags
1520		);
1521	}
1522265	AUE_NULL	STD	{
1523		int linux_open_by_handle_at(
1524		    l_int mountdirfd,
1525		    struct l_file_handle *handle,
1526		    l_int flags
1527		);
1528	}
1529266	AUE_NULL	STD	{
1530		int linux_clock_adjtime(void);
1531	}
1532267	AUE_SYNC	STD	{
1533		int linux_syncfs(
1534		    l_int fd
1535		);
1536	}
1537268	AUE_NULL	STD	{
1538		int linux_setns(
1539		    l_int fd,
1540		    l_int nstype
1541		);
1542	}
1543269	AUE_NULL	STD	{
1544		int linux_sendmmsg(
1545		    l_int s,
1546		    struct l_mmsghdr *msg,
1547		    l_uint vlen,
1548		    l_uint flags
1549		);
1550	}
1551270	AUE_NULL	STD	{
1552		int linux_process_vm_readv(
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	}
1561271	AUE_NULL	STD	{
1562		int linux_process_vm_writev(
1563		    l_pid_t pid,
1564		    const struct iovec *lvec,
1565		    l_ulong liovcnt,
1566		    const struct iovec *rvec,
1567		    l_ulong riovcnt,
1568		    l_ulong flags
1569		);
1570	}
1571272	AUE_NULL	STD	{
1572		int linux_kcmp(
1573		    l_pid_t pid1,
1574		    l_pid_t pid2,
1575		    l_int type,
1576		    l_ulong idx1,
1577		    l_ulong idx
1578		);
1579	}
1580273	AUE_NULL	STD	{
1581		int linux_finit_module(
1582		    l_int fd,
1583		    const char *uargs,
1584		    l_int flags
1585		);
1586	}
1587274	AUE_NULL	STD	{
1588		int linux_sched_setattr(
1589		    l_pid_t pid,
1590		    void *attr,
1591		    l_uint flags
1592		);
1593	}
1594275	AUE_NULL	STD	{
1595		int linux_sched_getattr(
1596		    l_pid_t pid,
1597		    void *attr,
1598		    l_uint size,
1599		    l_uint flags
1600		);
1601	}
1602276	AUE_NULL	STD	{
1603		int linux_renameat2(
1604		    l_int olddfd,
1605		    const char *oldname,
1606		    l_int newdfd,
1607		    const char *newname,
1608		    l_uint flags
1609		);
1610	}
1611277	AUE_NULL	STD	{
1612		int linux_seccomp(
1613		    l_uint op,
1614		    l_uint flags,
1615		    const char *uargs
1616		);
1617	}
1618278	AUE_NULL	STD	{
1619		int linux_getrandom(
1620		    char *buf,
1621		    l_size_t count,
1622		    l_uint flags
1623		);
1624	}
1625279	AUE_NULL	STD	{
1626		int linux_memfd_create(
1627		    const char *uname_ptr,
1628		    l_uint flags
1629		);
1630	}
1631280	AUE_NULL	STD	{
1632		int linux_bpf(
1633		    l_int cmd,
1634		    void *attr,
1635		    l_uint size
1636		);
1637	}
1638281	AUE_NULL	STD	{
1639		int linux_execveat(
1640		    l_int dfd,
1641		    const char *filename,
1642		    const char **argv,
1643		    const char **envp,
1644		    l_int flags
1645		);
1646	}
1647282	AUE_NULL	STD	{
1648		int linux_userfaultfd(
1649		    l_int flags
1650		);
1651	}
1652283	AUE_NULL	STD	{
1653		int linux_membarrier(
1654		    l_int cmd,
1655		    l_int flags
1656		);
1657	}
1658284	AUE_NULL	STD	{
1659		int linux_mlock2(
1660		    l_ulong start,
1661		    l_size_t len,
1662		    l_int flags
1663		);
1664	}
1665285	AUE_NULL	STD	{
1666		int linux_copy_file_range(
1667		    l_int fd_in,
1668		    l_loff_t *off_in,
1669		    l_int fd_out,
1670		    l_loff_t *off_out,
1671		    l_size_t len,
1672		    l_uint flags
1673		);
1674	}
1675286	AUE_NULL	STD	{
1676		int linux_preadv2(
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	}
1685287	AUE_NULL	STD	{
1686		int linux_pwritev2(
1687		    l_ulong fd,
1688		    const struct iovec *vec,
1689		    l_ulong vlen,
1690		    l_ulong pos_l,
1691		    l_ulong pos_h,
1692		    l_int flags
1693		);
1694	}
1695288	AUE_NULL	STD	{
1696		int linux_pkey_mprotect(
1697		    l_ulong start,
1698		    l_size_t len,
1699		    l_ulong prot,
1700		    l_int pkey
1701		);
1702	}
1703289	AUE_NULL	STD	{
1704		int linux_pkey_alloc(
1705		    l_ulong flags,
1706		    l_ulong init_val
1707		);
1708	}
1709290	AUE_NULL	STD	{
1710		int linux_pkey_free(
1711		    l_int pkey
1712		);
1713	}
1714; Linux 4.11:
1715291    AUE_NULL		STD {
1716		int linux_statx(
1717		    l_int dirfd,
1718		    const char *pathname,
1719		    l_uint flags,
1720		    l_uint mask,
1721		    void *statxbuf
1722		);
1723	}
1724; Linux 4.18:
1725292    AUE_NULL		STD {
1726		int linux_io_pgetevents(void);
1727	}
1728293    AUE_NULL		STD {
1729		int linux_rseq(
1730		    struct linux_rseq *rseq,
1731		    uint32_t rseq_len,
1732		    l_int flags,
1733		    uint32_t sig
1734		);
1735	}
1736294    AUE_NULL		STD {
1737		int linux_kexec_file_load(void);
1738	}
1739295-423	AUE_NULL	UNIMPL	unimpl_md_syscall
1740424	AUE_NULL	STD {
1741		int linux_pidfd_send_signal(
1742		    l_int pidfd,
1743		    l_int sig,
1744		    l_siginfo_t *info,
1745		    l_uint flags
1746		);
1747	}
1748425	AUE_NULL	STD {
1749		int linux_io_uring_setup(void);
1750	}
1751426	AUE_NULL	STD {
1752		int linux_io_uring_enter(void);
1753	}
1754427	AUE_NULL	STD {
1755		int linux_io_uring_register(void);
1756	}
1757428    AUE_NULL		STD {
1758		int linux_open_tree(void);
1759	}
1760429    AUE_NULL		STD {
1761		int linux_move_mount(void);
1762	}
1763430    AUE_NULL		STD {
1764		int linux_fsopen(void);
1765	}
1766431    AUE_NULL		STD {
1767		int linux_fsconfig(void);
1768	}
1769432    AUE_NULL		STD {
1770		int linux_fsmount(void);
1771	}
1772433    AUE_NULL		STD {
1773		int linux_fspick(void);
1774	}
1775434    AUE_NULL		STD {
1776		int linux_pidfd_open(void);
1777	}
1778435    AUE_NULL		STD {
1779		int linux_clone3(
1780		    struct l_user_clone_args *uargs,
1781		    l_size_t usize
1782		);
1783	}
1784436	AUE_CLOSERANGE	STD {
1785		int linux_close_range(
1786		    l_uint first,
1787		    l_uint last,
1788		    l_uint flags
1789		);
1790	}
1791437    AUE_NULL		STD {
1792		int linux_openat2(void);
1793	}
1794438    AUE_NULL		STD {
1795		int linux_pidfd_getfd(void);
1796	}
1797439    AUE_NULL		STD {
1798		int linux_faccessat2(
1799		    l_int dfd,
1800		    const char *filename,
1801		    l_int amode,
1802		    l_int flags
1803		);
1804	}
1805440    AUE_NULL		STD {
1806		int linux_process_madvise(void);
1807	}
1808441    AUE_NULL		STD {
1809		int linux_epoll_pwait2(
1810		    l_int epfd,
1811		    struct epoll_event *events,
1812		    l_int maxevents,
1813		    struct l_timespec *timeout,
1814		    l_sigset_t *mask,
1815		    l_size_t sigsetsize
1816		);
1817	}
1818442    AUE_NULL		STD {
1819		int linux_mount_setattr(void);
1820	}
1821; please, keep this line at the end.
1822443    AUE_NULL        UNIMPL  nosys
1823; vim: syntax=off
1824