Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 1 | // go run mksysnum.go https://svn.freebsd.org/base/stable/11/sys/kern/syscalls.master |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 2 | // Code generated by the command above; see README.md. DO NOT EDIT. |
| 3 | |
| 4 | // +build arm64,freebsd |
| 5 | |
| 6 | package unix |
| 7 | |
| 8 | const ( |
| 9 | // SYS_NOSYS = 0; // { int nosys(void); } syscall nosys_args int |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 10 | SYS_EXIT = 1 // { void sys_exit(int rval); } exit sys_exit_args void |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 11 | SYS_FORK = 2 // { int fork(void); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 12 | SYS_READ = 3 // { ssize_t read(int fd, void *buf, size_t nbyte); } |
| 13 | SYS_WRITE = 4 // { ssize_t write(int fd, const void *buf, size_t nbyte); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 14 | SYS_OPEN = 5 // { int open(char *path, int flags, int mode); } |
| 15 | SYS_CLOSE = 6 // { int close(int fd); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 16 | SYS_WAIT4 = 7 // { int wait4(int pid, int *status, int options, struct rusage *rusage); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 17 | SYS_LINK = 9 // { int link(char *path, char *link); } |
| 18 | SYS_UNLINK = 10 // { int unlink(char *path); } |
| 19 | SYS_CHDIR = 12 // { int chdir(char *path); } |
| 20 | SYS_FCHDIR = 13 // { int fchdir(int fd); } |
| 21 | SYS_MKNOD = 14 // { int mknod(char *path, int mode, int dev); } |
| 22 | SYS_CHMOD = 15 // { int chmod(char *path, int mode); } |
| 23 | SYS_CHOWN = 16 // { int chown(char *path, int uid, int gid); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 24 | SYS_OBREAK = 17 // { int obreak(char *nsize); } break obreak_args int |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 25 | SYS_GETPID = 20 // { pid_t getpid(void); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 26 | SYS_MOUNT = 21 // { int mount(char *type, char *path, int flags, caddr_t data); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 27 | SYS_UNMOUNT = 22 // { int unmount(char *path, int flags); } |
| 28 | SYS_SETUID = 23 // { int setuid(uid_t uid); } |
| 29 | SYS_GETUID = 24 // { uid_t getuid(void); } |
| 30 | SYS_GETEUID = 25 // { uid_t geteuid(void); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 31 | SYS_PTRACE = 26 // { int ptrace(int req, pid_t pid, caddr_t addr, int data); } |
| 32 | SYS_RECVMSG = 27 // { int recvmsg(int s, struct msghdr *msg, int flags); } |
| 33 | SYS_SENDMSG = 28 // { int sendmsg(int s, struct msghdr *msg, int flags); } |
| 34 | SYS_RECVFROM = 29 // { int recvfrom(int s, caddr_t buf, size_t len, int flags, struct sockaddr * __restrict from, __socklen_t * __restrict fromlenaddr); } |
| 35 | SYS_ACCEPT = 30 // { int accept(int s, struct sockaddr * __restrict name, __socklen_t * __restrict anamelen); } |
| 36 | SYS_GETPEERNAME = 31 // { int getpeername(int fdes, struct sockaddr * __restrict asa, __socklen_t * __restrict alen); } |
| 37 | SYS_GETSOCKNAME = 32 // { int getsockname(int fdes, struct sockaddr * __restrict asa, __socklen_t * __restrict alen); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 38 | SYS_ACCESS = 33 // { int access(char *path, int amode); } |
| 39 | SYS_CHFLAGS = 34 // { int chflags(const char *path, u_long flags); } |
| 40 | SYS_FCHFLAGS = 35 // { int fchflags(int fd, u_long flags); } |
| 41 | SYS_SYNC = 36 // { int sync(void); } |
| 42 | SYS_KILL = 37 // { int kill(int pid, int signum); } |
| 43 | SYS_GETPPID = 39 // { pid_t getppid(void); } |
| 44 | SYS_DUP = 41 // { int dup(u_int fd); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 45 | SYS_PIPE = 42 // { int pipe(void); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 46 | SYS_GETEGID = 43 // { gid_t getegid(void); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 47 | SYS_PROFIL = 44 // { int profil(caddr_t samples, size_t size, size_t offset, u_int scale); } |
| 48 | SYS_KTRACE = 45 // { int ktrace(const char *fname, int ops, int facs, int pid); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 49 | SYS_GETGID = 47 // { gid_t getgid(void); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 50 | SYS_GETLOGIN = 49 // { int getlogin(char *namebuf, u_int namelen); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 51 | SYS_SETLOGIN = 50 // { int setlogin(char *namebuf); } |
| 52 | SYS_ACCT = 51 // { int acct(char *path); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 53 | SYS_SIGALTSTACK = 53 // { int sigaltstack(stack_t *ss, stack_t *oss); } |
| 54 | SYS_IOCTL = 54 // { int ioctl(int fd, u_long com, caddr_t data); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 55 | SYS_REBOOT = 55 // { int reboot(int opt); } |
| 56 | SYS_REVOKE = 56 // { int revoke(char *path); } |
| 57 | SYS_SYMLINK = 57 // { int symlink(char *path, char *link); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 58 | SYS_READLINK = 58 // { ssize_t readlink(char *path, char *buf, size_t count); } |
| 59 | SYS_EXECVE = 59 // { int execve(char *fname, char **argv, char **envv); } |
| 60 | SYS_UMASK = 60 // { int umask(int newmask); } umask umask_args int |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 61 | SYS_CHROOT = 61 // { int chroot(char *path); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 62 | SYS_MSYNC = 65 // { int msync(void *addr, size_t len, int flags); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 63 | SYS_VFORK = 66 // { int vfork(void); } |
| 64 | SYS_SBRK = 69 // { int sbrk(int incr); } |
| 65 | SYS_SSTK = 70 // { int sstk(int incr); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 66 | SYS_OVADVISE = 72 // { int ovadvise(int anom); } vadvise ovadvise_args int |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 67 | SYS_MUNMAP = 73 // { int munmap(void *addr, size_t len); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 68 | SYS_MPROTECT = 74 // { int mprotect(const void *addr, size_t len, int prot); } |
| 69 | SYS_MADVISE = 75 // { int madvise(void *addr, size_t len, int behav); } |
| 70 | SYS_MINCORE = 78 // { int mincore(const void *addr, size_t len, char *vec); } |
| 71 | SYS_GETGROUPS = 79 // { int getgroups(u_int gidsetsize, gid_t *gidset); } |
| 72 | SYS_SETGROUPS = 80 // { int setgroups(u_int gidsetsize, gid_t *gidset); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 73 | SYS_GETPGRP = 81 // { int getpgrp(void); } |
| 74 | SYS_SETPGID = 82 // { int setpgid(int pid, int pgid); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 75 | SYS_SETITIMER = 83 // { int setitimer(u_int which, struct itimerval *itv, struct itimerval *oitv); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 76 | SYS_SWAPON = 85 // { int swapon(char *name); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 77 | SYS_GETITIMER = 86 // { int getitimer(u_int which, struct itimerval *itv); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 78 | SYS_GETDTABLESIZE = 89 // { int getdtablesize(void); } |
| 79 | SYS_DUP2 = 90 // { int dup2(u_int from, u_int to); } |
| 80 | SYS_FCNTL = 92 // { int fcntl(int fd, int cmd, long arg); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 81 | SYS_SELECT = 93 // { int select(int nd, fd_set *in, fd_set *ou, fd_set *ex, struct timeval *tv); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 82 | SYS_FSYNC = 95 // { int fsync(int fd); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 83 | SYS_SETPRIORITY = 96 // { int setpriority(int which, int who, int prio); } |
| 84 | SYS_SOCKET = 97 // { int socket(int domain, int type, int protocol); } |
| 85 | SYS_CONNECT = 98 // { int connect(int s, caddr_t name, int namelen); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 86 | SYS_GETPRIORITY = 100 // { int getpriority(int which, int who); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 87 | SYS_BIND = 104 // { int bind(int s, caddr_t name, int namelen); } |
| 88 | SYS_SETSOCKOPT = 105 // { int setsockopt(int s, int level, int name, caddr_t val, int valsize); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 89 | SYS_LISTEN = 106 // { int listen(int s, int backlog); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 90 | SYS_GETTIMEOFDAY = 116 // { int gettimeofday(struct timeval *tp, struct timezone *tzp); } |
| 91 | SYS_GETRUSAGE = 117 // { int getrusage(int who, struct rusage *rusage); } |
| 92 | SYS_GETSOCKOPT = 118 // { int getsockopt(int s, int level, int name, caddr_t val, int *avalsize); } |
| 93 | SYS_READV = 120 // { int readv(int fd, struct iovec *iovp, u_int iovcnt); } |
| 94 | SYS_WRITEV = 121 // { int writev(int fd, struct iovec *iovp, u_int iovcnt); } |
| 95 | SYS_SETTIMEOFDAY = 122 // { int settimeofday(struct timeval *tv, struct timezone *tzp); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 96 | SYS_FCHOWN = 123 // { int fchown(int fd, int uid, int gid); } |
| 97 | SYS_FCHMOD = 124 // { int fchmod(int fd, int mode); } |
| 98 | SYS_SETREUID = 126 // { int setreuid(int ruid, int euid); } |
| 99 | SYS_SETREGID = 127 // { int setregid(int rgid, int egid); } |
| 100 | SYS_RENAME = 128 // { int rename(char *from, char *to); } |
| 101 | SYS_FLOCK = 131 // { int flock(int fd, int how); } |
| 102 | SYS_MKFIFO = 132 // { int mkfifo(char *path, int mode); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 103 | SYS_SENDTO = 133 // { int sendto(int s, caddr_t buf, size_t len, int flags, caddr_t to, int tolen); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 104 | SYS_SHUTDOWN = 134 // { int shutdown(int s, int how); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 105 | SYS_SOCKETPAIR = 135 // { int socketpair(int domain, int type, int protocol, int *rsv); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 106 | SYS_MKDIR = 136 // { int mkdir(char *path, int mode); } |
| 107 | SYS_RMDIR = 137 // { int rmdir(char *path); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 108 | SYS_UTIMES = 138 // { int utimes(char *path, struct timeval *tptr); } |
| 109 | SYS_ADJTIME = 140 // { int adjtime(struct timeval *delta, struct timeval *olddelta); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 110 | SYS_SETSID = 147 // { int setsid(void); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 111 | SYS_QUOTACTL = 148 // { int quotactl(char *path, int cmd, int uid, caddr_t arg); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 112 | SYS_NLM_SYSCALL = 154 // { int nlm_syscall(int debug_level, int grace_period, int addr_count, char **addrs); } |
| 113 | SYS_NFSSVC = 155 // { int nfssvc(int flag, caddr_t argp); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 114 | SYS_LGETFH = 160 // { int lgetfh(char *fname, struct fhandle *fhp); } |
| 115 | SYS_GETFH = 161 // { int getfh(char *fname, struct fhandle *fhp); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 116 | SYS_SYSARCH = 165 // { int sysarch(int op, char *parms); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 117 | SYS_RTPRIO = 166 // { int rtprio(int function, pid_t pid, struct rtprio *rtp); } |
| 118 | SYS_SEMSYS = 169 // { int semsys(int which, int a2, int a3, int a4, int a5); } |
| 119 | SYS_MSGSYS = 170 // { int msgsys(int which, int a2, int a3, int a4, int a5, int a6); } |
| 120 | SYS_SHMSYS = 171 // { int shmsys(int which, int a2, int a3, int a4); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 121 | SYS_SETFIB = 175 // { int setfib(int fibnum); } |
| 122 | SYS_NTP_ADJTIME = 176 // { int ntp_adjtime(struct timex *tp); } |
| 123 | SYS_SETGID = 181 // { int setgid(gid_t gid); } |
| 124 | SYS_SETEGID = 182 // { int setegid(gid_t egid); } |
| 125 | SYS_SETEUID = 183 // { int seteuid(uid_t euid); } |
| 126 | SYS_STAT = 188 // { int stat(char *path, struct stat *ub); } |
| 127 | SYS_FSTAT = 189 // { int fstat(int fd, struct stat *sb); } |
| 128 | SYS_LSTAT = 190 // { int lstat(char *path, struct stat *ub); } |
| 129 | SYS_PATHCONF = 191 // { int pathconf(char *path, int name); } |
| 130 | SYS_FPATHCONF = 192 // { int fpathconf(int fd, int name); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 131 | SYS_GETRLIMIT = 194 // { int getrlimit(u_int which, struct rlimit *rlp); } getrlimit __getrlimit_args int |
| 132 | SYS_SETRLIMIT = 195 // { int setrlimit(u_int which, struct rlimit *rlp); } setrlimit __setrlimit_args int |
| 133 | SYS_GETDIRENTRIES = 196 // { int getdirentries(int fd, char *buf, u_int count, long *basep); } |
| 134 | SYS___SYSCTL = 202 // { int __sysctl(int *name, u_int namelen, void *old, size_t *oldlenp, void *new, size_t newlen); } __sysctl sysctl_args int |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 135 | SYS_MLOCK = 203 // { int mlock(const void *addr, size_t len); } |
| 136 | SYS_MUNLOCK = 204 // { int munlock(const void *addr, size_t len); } |
| 137 | SYS_UNDELETE = 205 // { int undelete(char *path); } |
| 138 | SYS_FUTIMES = 206 // { int futimes(int fd, struct timeval *tptr); } |
| 139 | SYS_GETPGID = 207 // { int getpgid(pid_t pid); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 140 | SYS_POLL = 209 // { int poll(struct pollfd *fds, u_int nfds, int timeout); } |
| 141 | SYS_SEMGET = 221 // { int semget(key_t key, int nsems, int semflg); } |
| 142 | SYS_SEMOP = 222 // { int semop(int semid, struct sembuf *sops, size_t nsops); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 143 | SYS_MSGGET = 225 // { int msgget(key_t key, int msgflg); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 144 | SYS_MSGSND = 226 // { int msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg); } |
| 145 | SYS_MSGRCV = 227 // { int msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); } |
| 146 | SYS_SHMAT = 228 // { int shmat(int shmid, const void *shmaddr, int shmflg); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 147 | SYS_SHMDT = 230 // { int shmdt(const void *shmaddr); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 148 | SYS_SHMGET = 231 // { int shmget(key_t key, size_t size, int shmflg); } |
| 149 | SYS_CLOCK_GETTIME = 232 // { int clock_gettime(clockid_t clock_id, struct timespec *tp); } |
| 150 | SYS_CLOCK_SETTIME = 233 // { int clock_settime( clockid_t clock_id, const struct timespec *tp); } |
| 151 | SYS_CLOCK_GETRES = 234 // { int clock_getres(clockid_t clock_id, struct timespec *tp); } |
| 152 | SYS_KTIMER_CREATE = 235 // { int ktimer_create(clockid_t clock_id, struct sigevent *evp, int *timerid); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 153 | SYS_KTIMER_DELETE = 236 // { int ktimer_delete(int timerid); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 154 | SYS_KTIMER_SETTIME = 237 // { int ktimer_settime(int timerid, int flags, const struct itimerspec *value, struct itimerspec *ovalue); } |
| 155 | SYS_KTIMER_GETTIME = 238 // { int ktimer_gettime(int timerid, struct itimerspec *value); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 156 | SYS_KTIMER_GETOVERRUN = 239 // { int ktimer_getoverrun(int timerid); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 157 | SYS_NANOSLEEP = 240 // { int nanosleep(const struct timespec *rqtp, struct timespec *rmtp); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 158 | SYS_FFCLOCK_GETCOUNTER = 241 // { int ffclock_getcounter(ffcounter *ffcount); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 159 | SYS_FFCLOCK_SETESTIMATE = 242 // { int ffclock_setestimate( struct ffclock_estimate *cest); } |
| 160 | SYS_FFCLOCK_GETESTIMATE = 243 // { int ffclock_getestimate( struct ffclock_estimate *cest); } |
| 161 | SYS_CLOCK_NANOSLEEP = 244 // { int clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *rqtp, struct timespec *rmtp); } |
| 162 | SYS_CLOCK_GETCPUCLOCKID2 = 247 // { int clock_getcpuclockid2(id_t id,int which, clockid_t *clock_id); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 163 | SYS_NTP_GETTIME = 248 // { int ntp_gettime(struct ntptimeval *ntvp); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 164 | SYS_MINHERIT = 250 // { int minherit(void *addr, size_t len, int inherit); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 165 | SYS_RFORK = 251 // { int rfork(int flags); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 166 | SYS_OPENBSD_POLL = 252 // { int openbsd_poll(struct pollfd *fds, u_int nfds, int timeout); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 167 | SYS_ISSETUGID = 253 // { int issetugid(void); } |
| 168 | SYS_LCHOWN = 254 // { int lchown(char *path, int uid, int gid); } |
| 169 | SYS_AIO_READ = 255 // { int aio_read(struct aiocb *aiocbp); } |
| 170 | SYS_AIO_WRITE = 256 // { int aio_write(struct aiocb *aiocbp); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 171 | SYS_LIO_LISTIO = 257 // { int lio_listio(int mode, struct aiocb * const *acb_list, int nent, struct sigevent *sig); } |
| 172 | SYS_GETDENTS = 272 // { int getdents(int fd, char *buf, size_t count); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 173 | SYS_LCHMOD = 274 // { int lchmod(char *path, mode_t mode); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 174 | SYS_LUTIMES = 276 // { int lutimes(char *path, struct timeval *tptr); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 175 | SYS_NSTAT = 278 // { int nstat(char *path, struct nstat *ub); } |
| 176 | SYS_NFSTAT = 279 // { int nfstat(int fd, struct nstat *sb); } |
| 177 | SYS_NLSTAT = 280 // { int nlstat(char *path, struct nstat *ub); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 178 | SYS_PREADV = 289 // { ssize_t preadv(int fd, struct iovec *iovp, u_int iovcnt, off_t offset); } |
| 179 | SYS_PWRITEV = 290 // { ssize_t pwritev(int fd, struct iovec *iovp, u_int iovcnt, off_t offset); } |
| 180 | SYS_FHOPEN = 298 // { int fhopen(const struct fhandle *u_fhp, int flags); } |
| 181 | SYS_FHSTAT = 299 // { int fhstat(const struct fhandle *u_fhp, struct stat *sb); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 182 | SYS_MODNEXT = 300 // { int modnext(int modid); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 183 | SYS_MODSTAT = 301 // { int modstat(int modid, struct module_stat *stat); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 184 | SYS_MODFNEXT = 302 // { int modfnext(int modid); } |
| 185 | SYS_MODFIND = 303 // { int modfind(const char *name); } |
| 186 | SYS_KLDLOAD = 304 // { int kldload(const char *file); } |
| 187 | SYS_KLDUNLOAD = 305 // { int kldunload(int fileid); } |
| 188 | SYS_KLDFIND = 306 // { int kldfind(const char *file); } |
| 189 | SYS_KLDNEXT = 307 // { int kldnext(int fileid); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 190 | SYS_KLDSTAT = 308 // { int kldstat(int fileid, struct kld_file_stat* stat); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 191 | SYS_KLDFIRSTMOD = 309 // { int kldfirstmod(int fileid); } |
| 192 | SYS_GETSID = 310 // { int getsid(pid_t pid); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 193 | SYS_SETRESUID = 311 // { int setresuid(uid_t ruid, uid_t euid, uid_t suid); } |
| 194 | SYS_SETRESGID = 312 // { int setresgid(gid_t rgid, gid_t egid, gid_t sgid); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 195 | SYS_AIO_RETURN = 314 // { ssize_t aio_return(struct aiocb *aiocbp); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 196 | SYS_AIO_SUSPEND = 315 // { int aio_suspend( struct aiocb * const * aiocbp, int nent, const struct timespec *timeout); } |
| 197 | SYS_AIO_CANCEL = 316 // { int aio_cancel(int fd, struct aiocb *aiocbp); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 198 | SYS_AIO_ERROR = 317 // { int aio_error(struct aiocb *aiocbp); } |
| 199 | SYS_YIELD = 321 // { int yield(void); } |
| 200 | SYS_MLOCKALL = 324 // { int mlockall(int how); } |
| 201 | SYS_MUNLOCKALL = 325 // { int munlockall(void); } |
| 202 | SYS___GETCWD = 326 // { int __getcwd(char *buf, u_int buflen); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 203 | SYS_SCHED_SETPARAM = 327 // { int sched_setparam (pid_t pid, const struct sched_param *param); } |
| 204 | SYS_SCHED_GETPARAM = 328 // { int sched_getparam (pid_t pid, struct sched_param *param); } |
| 205 | SYS_SCHED_SETSCHEDULER = 329 // { int sched_setscheduler (pid_t pid, int policy, const struct sched_param *param); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 206 | SYS_SCHED_GETSCHEDULER = 330 // { int sched_getscheduler (pid_t pid); } |
| 207 | SYS_SCHED_YIELD = 331 // { int sched_yield (void); } |
| 208 | SYS_SCHED_GET_PRIORITY_MAX = 332 // { int sched_get_priority_max (int policy); } |
| 209 | SYS_SCHED_GET_PRIORITY_MIN = 333 // { int sched_get_priority_min (int policy); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 210 | SYS_SCHED_RR_GET_INTERVAL = 334 // { int sched_rr_get_interval (pid_t pid, struct timespec *interval); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 211 | SYS_UTRACE = 335 // { int utrace(const void *addr, size_t len); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 212 | SYS_KLDSYM = 337 // { int kldsym(int fileid, int cmd, void *data); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 213 | SYS_JAIL = 338 // { int jail(struct jail *jail); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 214 | SYS_SIGPROCMASK = 340 // { int sigprocmask(int how, const sigset_t *set, sigset_t *oset); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 215 | SYS_SIGSUSPEND = 341 // { int sigsuspend(const sigset_t *sigmask); } |
| 216 | SYS_SIGPENDING = 343 // { int sigpending(sigset_t *set); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 217 | SYS_SIGTIMEDWAIT = 345 // { int sigtimedwait(const sigset_t *set, siginfo_t *info, const struct timespec *timeout); } |
| 218 | SYS_SIGWAITINFO = 346 // { int sigwaitinfo(const sigset_t *set, siginfo_t *info); } |
| 219 | SYS___ACL_GET_FILE = 347 // { int __acl_get_file(const char *path, acl_type_t type, struct acl *aclp); } |
| 220 | SYS___ACL_SET_FILE = 348 // { int __acl_set_file(const char *path, acl_type_t type, struct acl *aclp); } |
| 221 | SYS___ACL_GET_FD = 349 // { int __acl_get_fd(int filedes, acl_type_t type, struct acl *aclp); } |
| 222 | SYS___ACL_SET_FD = 350 // { int __acl_set_fd(int filedes, acl_type_t type, struct acl *aclp); } |
| 223 | SYS___ACL_DELETE_FILE = 351 // { int __acl_delete_file(const char *path, acl_type_t type); } |
| 224 | SYS___ACL_DELETE_FD = 352 // { int __acl_delete_fd(int filedes, acl_type_t type); } |
| 225 | SYS___ACL_ACLCHECK_FILE = 353 // { int __acl_aclcheck_file(const char *path, acl_type_t type, struct acl *aclp); } |
| 226 | SYS___ACL_ACLCHECK_FD = 354 // { int __acl_aclcheck_fd(int filedes, acl_type_t type, struct acl *aclp); } |
| 227 | SYS_EXTATTRCTL = 355 // { int extattrctl(const char *path, int cmd, const char *filename, int attrnamespace, const char *attrname); } |
| 228 | SYS_EXTATTR_SET_FILE = 356 // { ssize_t extattr_set_file( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } |
| 229 | SYS_EXTATTR_GET_FILE = 357 // { ssize_t extattr_get_file( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } |
| 230 | SYS_EXTATTR_DELETE_FILE = 358 // { int extattr_delete_file(const char *path, int attrnamespace, const char *attrname); } |
| 231 | SYS_AIO_WAITCOMPLETE = 359 // { ssize_t aio_waitcomplete( struct aiocb **aiocbp, struct timespec *timeout); } |
| 232 | SYS_GETRESUID = 360 // { int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid); } |
| 233 | SYS_GETRESGID = 361 // { int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 234 | SYS_KQUEUE = 362 // { int kqueue(void); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 235 | SYS_KEVENT = 363 // { int kevent(int fd, struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); } |
| 236 | SYS_EXTATTR_SET_FD = 371 // { ssize_t extattr_set_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); } |
| 237 | SYS_EXTATTR_GET_FD = 372 // { ssize_t extattr_get_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); } |
| 238 | SYS_EXTATTR_DELETE_FD = 373 // { int extattr_delete_fd(int fd, int attrnamespace, const char *attrname); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 239 | SYS___SETUGID = 374 // { int __setugid(int flag); } |
| 240 | SYS_EACCESS = 376 // { int eaccess(char *path, int amode); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 241 | SYS_NMOUNT = 378 // { int nmount(struct iovec *iovp, unsigned int iovcnt, int flags); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 242 | SYS___MAC_GET_PROC = 384 // { int __mac_get_proc(struct mac *mac_p); } |
| 243 | SYS___MAC_SET_PROC = 385 // { int __mac_set_proc(struct mac *mac_p); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 244 | SYS___MAC_GET_FD = 386 // { int __mac_get_fd(int fd, struct mac *mac_p); } |
| 245 | SYS___MAC_GET_FILE = 387 // { int __mac_get_file(const char *path_p, struct mac *mac_p); } |
| 246 | SYS___MAC_SET_FD = 388 // { int __mac_set_fd(int fd, struct mac *mac_p); } |
| 247 | SYS___MAC_SET_FILE = 389 // { int __mac_set_file(const char *path_p, struct mac *mac_p); } |
| 248 | SYS_KENV = 390 // { int kenv(int what, const char *name, char *value, int len); } |
| 249 | SYS_LCHFLAGS = 391 // { int lchflags(const char *path, u_long flags); } |
| 250 | SYS_UUIDGEN = 392 // { int uuidgen(struct uuid *store, int count); } |
| 251 | SYS_SENDFILE = 393 // { int sendfile(int fd, int s, off_t offset, size_t nbytes, struct sf_hdtr *hdtr, off_t *sbytes, int flags); } |
| 252 | SYS_MAC_SYSCALL = 394 // { int mac_syscall(const char *policy, int call, void *arg); } |
| 253 | SYS_GETFSSTAT = 395 // { int getfsstat(struct statfs *buf, long bufsize, int mode); } |
| 254 | SYS_STATFS = 396 // { int statfs(char *path, struct statfs *buf); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 255 | SYS_FSTATFS = 397 // { int fstatfs(int fd, struct statfs *buf); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 256 | SYS_FHSTATFS = 398 // { int fhstatfs(const struct fhandle *u_fhp, struct statfs *buf); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 257 | SYS_KSEM_CLOSE = 400 // { int ksem_close(semid_t id); } |
| 258 | SYS_KSEM_POST = 401 // { int ksem_post(semid_t id); } |
| 259 | SYS_KSEM_WAIT = 402 // { int ksem_wait(semid_t id); } |
| 260 | SYS_KSEM_TRYWAIT = 403 // { int ksem_trywait(semid_t id); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 261 | SYS_KSEM_INIT = 404 // { int ksem_init(semid_t *idp, unsigned int value); } |
| 262 | SYS_KSEM_OPEN = 405 // { int ksem_open(semid_t *idp, const char *name, int oflag, mode_t mode, unsigned int value); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 263 | SYS_KSEM_UNLINK = 406 // { int ksem_unlink(const char *name); } |
| 264 | SYS_KSEM_GETVALUE = 407 // { int ksem_getvalue(semid_t id, int *val); } |
| 265 | SYS_KSEM_DESTROY = 408 // { int ksem_destroy(semid_t id); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 266 | SYS___MAC_GET_PID = 409 // { int __mac_get_pid(pid_t pid, struct mac *mac_p); } |
| 267 | SYS___MAC_GET_LINK = 410 // { int __mac_get_link(const char *path_p, struct mac *mac_p); } |
| 268 | SYS___MAC_SET_LINK = 411 // { int __mac_set_link(const char *path_p, struct mac *mac_p); } |
| 269 | SYS_EXTATTR_SET_LINK = 412 // { ssize_t extattr_set_link( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } |
| 270 | SYS_EXTATTR_GET_LINK = 413 // { ssize_t extattr_get_link( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } |
| 271 | SYS_EXTATTR_DELETE_LINK = 414 // { int extattr_delete_link( const char *path, int attrnamespace, const char *attrname); } |
| 272 | SYS___MAC_EXECVE = 415 // { int __mac_execve(char *fname, char **argv, char **envv, struct mac *mac_p); } |
| 273 | SYS_SIGACTION = 416 // { int sigaction(int sig, const struct sigaction *act, struct sigaction *oact); } |
| 274 | SYS_SIGRETURN = 417 // { int sigreturn( const struct __ucontext *sigcntxp); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 275 | SYS_GETCONTEXT = 421 // { int getcontext(struct __ucontext *ucp); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 276 | SYS_SETCONTEXT = 422 // { int setcontext( const struct __ucontext *ucp); } |
| 277 | SYS_SWAPCONTEXT = 423 // { int swapcontext(struct __ucontext *oucp, const struct __ucontext *ucp); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 278 | SYS_SWAPOFF = 424 // { int swapoff(const char *name); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 279 | SYS___ACL_GET_LINK = 425 // { int __acl_get_link(const char *path, acl_type_t type, struct acl *aclp); } |
| 280 | SYS___ACL_SET_LINK = 426 // { int __acl_set_link(const char *path, acl_type_t type, struct acl *aclp); } |
| 281 | SYS___ACL_DELETE_LINK = 427 // { int __acl_delete_link(const char *path, acl_type_t type); } |
| 282 | SYS___ACL_ACLCHECK_LINK = 428 // { int __acl_aclcheck_link(const char *path, acl_type_t type, struct acl *aclp); } |
| 283 | SYS_SIGWAIT = 429 // { int sigwait(const sigset_t *set, int *sig); } |
| 284 | SYS_THR_CREATE = 430 // { int thr_create(ucontext_t *ctx, long *id, int flags); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 285 | SYS_THR_EXIT = 431 // { void thr_exit(long *state); } |
| 286 | SYS_THR_SELF = 432 // { int thr_self(long *id); } |
| 287 | SYS_THR_KILL = 433 // { int thr_kill(long id, int sig); } |
| 288 | SYS_JAIL_ATTACH = 436 // { int jail_attach(int jid); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 289 | SYS_EXTATTR_LIST_FD = 437 // { ssize_t extattr_list_fd(int fd, int attrnamespace, void *data, size_t nbytes); } |
| 290 | SYS_EXTATTR_LIST_FILE = 438 // { ssize_t extattr_list_file( const char *path, int attrnamespace, void *data, size_t nbytes); } |
| 291 | SYS_EXTATTR_LIST_LINK = 439 // { ssize_t extattr_list_link( const char *path, int attrnamespace, void *data, size_t nbytes); } |
| 292 | SYS_KSEM_TIMEDWAIT = 441 // { int ksem_timedwait(semid_t id, const struct timespec *abstime); } |
| 293 | SYS_THR_SUSPEND = 442 // { int thr_suspend( const struct timespec *timeout); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 294 | SYS_THR_WAKE = 443 // { int thr_wake(long id); } |
| 295 | SYS_KLDUNLOADF = 444 // { int kldunloadf(int fileid, int flags); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 296 | SYS_AUDIT = 445 // { int audit(const void *record, u_int length); } |
| 297 | SYS_AUDITON = 446 // { int auditon(int cmd, void *data, u_int length); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 298 | SYS_GETAUID = 447 // { int getauid(uid_t *auid); } |
| 299 | SYS_SETAUID = 448 // { int setauid(uid_t *auid); } |
| 300 | SYS_GETAUDIT = 449 // { int getaudit(struct auditinfo *auditinfo); } |
| 301 | SYS_SETAUDIT = 450 // { int setaudit(struct auditinfo *auditinfo); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 302 | SYS_GETAUDIT_ADDR = 451 // { int getaudit_addr( struct auditinfo_addr *auditinfo_addr, u_int length); } |
| 303 | SYS_SETAUDIT_ADDR = 452 // { int setaudit_addr( struct auditinfo_addr *auditinfo_addr, u_int length); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 304 | SYS_AUDITCTL = 453 // { int auditctl(char *path); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 305 | SYS__UMTX_OP = 454 // { int _umtx_op(void *obj, int op, u_long val, void *uaddr1, void *uaddr2); } |
| 306 | SYS_THR_NEW = 455 // { int thr_new(struct thr_param *param, int param_size); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 307 | SYS_SIGQUEUE = 456 // { int sigqueue(pid_t pid, int signum, void *value); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 308 | SYS_KMQ_OPEN = 457 // { int kmq_open(const char *path, int flags, mode_t mode, const struct mq_attr *attr); } |
| 309 | SYS_KMQ_SETATTR = 458 // { int kmq_setattr(int mqd, const struct mq_attr *attr, struct mq_attr *oattr); } |
| 310 | SYS_KMQ_TIMEDRECEIVE = 459 // { int kmq_timedreceive(int mqd, char *msg_ptr, size_t msg_len, unsigned *msg_prio, const struct timespec *abs_timeout); } |
| 311 | SYS_KMQ_TIMEDSEND = 460 // { int kmq_timedsend(int mqd, const char *msg_ptr, size_t msg_len,unsigned msg_prio, const struct timespec *abs_timeout);} |
| 312 | SYS_KMQ_NOTIFY = 461 // { int kmq_notify(int mqd, const struct sigevent *sigev); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 313 | SYS_KMQ_UNLINK = 462 // { int kmq_unlink(const char *path); } |
| 314 | SYS_ABORT2 = 463 // { int abort2(const char *why, int nargs, void **args); } |
| 315 | SYS_THR_SET_NAME = 464 // { int thr_set_name(long id, const char *name); } |
| 316 | SYS_AIO_FSYNC = 465 // { int aio_fsync(int op, struct aiocb *aiocbp); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 317 | SYS_RTPRIO_THREAD = 466 // { int rtprio_thread(int function, lwpid_t lwpid, struct rtprio *rtp); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 318 | SYS_SCTP_PEELOFF = 471 // { int sctp_peeloff(int sd, uint32_t name); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 319 | SYS_SCTP_GENERIC_SENDMSG = 472 // { int sctp_generic_sendmsg(int sd, caddr_t msg, int mlen, caddr_t to, __socklen_t tolen, struct sctp_sndrcvinfo *sinfo, int flags); } |
| 320 | SYS_SCTP_GENERIC_SENDMSG_IOV = 473 // { int sctp_generic_sendmsg_iov(int sd, struct iovec *iov, int iovlen, caddr_t to, __socklen_t tolen, struct sctp_sndrcvinfo *sinfo, int flags); } |
| 321 | SYS_SCTP_GENERIC_RECVMSG = 474 // { int sctp_generic_recvmsg(int sd, struct iovec *iov, int iovlen, struct sockaddr * from, __socklen_t *fromlenaddr, struct sctp_sndrcvinfo *sinfo, int *msg_flags); } |
| 322 | SYS_PREAD = 475 // { ssize_t pread(int fd, void *buf, size_t nbyte, off_t offset); } |
| 323 | SYS_PWRITE = 476 // { ssize_t pwrite(int fd, const void *buf, size_t nbyte, off_t offset); } |
| 324 | SYS_MMAP = 477 // { caddr_t mmap(caddr_t addr, size_t len, int prot, int flags, int fd, off_t pos); } |
| 325 | SYS_LSEEK = 478 // { off_t lseek(int fd, off_t offset, int whence); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 326 | SYS_TRUNCATE = 479 // { int truncate(char *path, off_t length); } |
| 327 | SYS_FTRUNCATE = 480 // { int ftruncate(int fd, off_t length); } |
| 328 | SYS_THR_KILL2 = 481 // { int thr_kill2(pid_t pid, long id, int sig); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 329 | SYS_SHM_OPEN = 482 // { int shm_open(const char *path, int flags, mode_t mode); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 330 | SYS_SHM_UNLINK = 483 // { int shm_unlink(const char *path); } |
| 331 | SYS_CPUSET = 484 // { int cpuset(cpusetid_t *setid); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 332 | SYS_CPUSET_SETID = 485 // { int cpuset_setid(cpuwhich_t which, id_t id, cpusetid_t setid); } |
| 333 | SYS_CPUSET_GETID = 486 // { int cpuset_getid(cpulevel_t level, cpuwhich_t which, id_t id, cpusetid_t *setid); } |
| 334 | SYS_CPUSET_GETAFFINITY = 487 // { int cpuset_getaffinity(cpulevel_t level, cpuwhich_t which, id_t id, size_t cpusetsize, cpuset_t *mask); } |
| 335 | SYS_CPUSET_SETAFFINITY = 488 // { int cpuset_setaffinity(cpulevel_t level, cpuwhich_t which, id_t id, size_t cpusetsize, const cpuset_t *mask); } |
| 336 | SYS_FACCESSAT = 489 // { int faccessat(int fd, char *path, int amode, int flag); } |
| 337 | SYS_FCHMODAT = 490 // { int fchmodat(int fd, char *path, mode_t mode, int flag); } |
| 338 | SYS_FCHOWNAT = 491 // { int fchownat(int fd, char *path, uid_t uid, gid_t gid, int flag); } |
| 339 | SYS_FEXECVE = 492 // { int fexecve(int fd, char **argv, char **envv); } |
| 340 | SYS_FSTATAT = 493 // { int fstatat(int fd, char *path, struct stat *buf, int flag); } |
| 341 | SYS_FUTIMESAT = 494 // { int futimesat(int fd, char *path, struct timeval *times); } |
| 342 | SYS_LINKAT = 495 // { int linkat(int fd1, char *path1, int fd2, char *path2, int flag); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 343 | SYS_MKDIRAT = 496 // { int mkdirat(int fd, char *path, mode_t mode); } |
| 344 | SYS_MKFIFOAT = 497 // { int mkfifoat(int fd, char *path, mode_t mode); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 345 | SYS_MKNODAT = 498 // { int mknodat(int fd, char *path, mode_t mode, dev_t dev); } |
| 346 | SYS_OPENAT = 499 // { int openat(int fd, char *path, int flag, mode_t mode); } |
| 347 | SYS_READLINKAT = 500 // { int readlinkat(int fd, char *path, char *buf, size_t bufsize); } |
| 348 | SYS_RENAMEAT = 501 // { int renameat(int oldfd, char *old, int newfd, char *new); } |
| 349 | SYS_SYMLINKAT = 502 // { int symlinkat(char *path1, int fd, char *path2); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 350 | SYS_UNLINKAT = 503 // { int unlinkat(int fd, char *path, int flag); } |
| 351 | SYS_POSIX_OPENPT = 504 // { int posix_openpt(int flags); } |
| 352 | SYS_GSSD_SYSCALL = 505 // { int gssd_syscall(char *path); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 353 | SYS_JAIL_GET = 506 // { int jail_get(struct iovec *iovp, unsigned int iovcnt, int flags); } |
| 354 | SYS_JAIL_SET = 507 // { int jail_set(struct iovec *iovp, unsigned int iovcnt, int flags); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 355 | SYS_JAIL_REMOVE = 508 // { int jail_remove(int jid); } |
| 356 | SYS_CLOSEFROM = 509 // { int closefrom(int lowfd); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 357 | SYS___SEMCTL = 510 // { int __semctl(int semid, int semnum, int cmd, union semun *arg); } |
| 358 | SYS_MSGCTL = 511 // { int msgctl(int msqid, int cmd, struct msqid_ds *buf); } |
| 359 | SYS_SHMCTL = 512 // { int shmctl(int shmid, int cmd, struct shmid_ds *buf); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 360 | SYS_LPATHCONF = 513 // { int lpathconf(char *path, int name); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 361 | SYS___CAP_RIGHTS_GET = 515 // { int __cap_rights_get(int version, int fd, cap_rights_t *rightsp); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 362 | SYS_CAP_ENTER = 516 // { int cap_enter(void); } |
| 363 | SYS_CAP_GETMODE = 517 // { int cap_getmode(u_int *modep); } |
| 364 | SYS_PDFORK = 518 // { int pdfork(int *fdp, int flags); } |
| 365 | SYS_PDKILL = 519 // { int pdkill(int fd, int signum); } |
| 366 | SYS_PDGETPID = 520 // { int pdgetpid(int fd, pid_t *pidp); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 367 | SYS_PSELECT = 522 // { int pselect(int nd, fd_set *in, fd_set *ou, fd_set *ex, const struct timespec *ts, const sigset_t *sm); } |
| 368 | SYS_GETLOGINCLASS = 523 // { int getloginclass(char *namebuf, size_t namelen); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 369 | SYS_SETLOGINCLASS = 524 // { int setloginclass(const char *namebuf); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 370 | SYS_RCTL_GET_RACCT = 525 // { int rctl_get_racct(const void *inbufp, size_t inbuflen, void *outbufp, size_t outbuflen); } |
| 371 | SYS_RCTL_GET_RULES = 526 // { int rctl_get_rules(const void *inbufp, size_t inbuflen, void *outbufp, size_t outbuflen); } |
| 372 | SYS_RCTL_GET_LIMITS = 527 // { int rctl_get_limits(const void *inbufp, size_t inbuflen, void *outbufp, size_t outbuflen); } |
| 373 | SYS_RCTL_ADD_RULE = 528 // { int rctl_add_rule(const void *inbufp, size_t inbuflen, void *outbufp, size_t outbuflen); } |
| 374 | SYS_RCTL_REMOVE_RULE = 529 // { int rctl_remove_rule(const void *inbufp, size_t inbuflen, void *outbufp, size_t outbuflen); } |
| 375 | SYS_POSIX_FALLOCATE = 530 // { int posix_fallocate(int fd, off_t offset, off_t len); } |
| 376 | SYS_POSIX_FADVISE = 531 // { int posix_fadvise(int fd, off_t offset, off_t len, int advice); } |
| 377 | SYS_WAIT6 = 532 // { int wait6(idtype_t idtype, id_t id, int *status, int options, struct __wrusage *wrusage, siginfo_t *info); } |
| 378 | SYS_CAP_RIGHTS_LIMIT = 533 // { int cap_rights_limit(int fd, cap_rights_t *rightsp); } |
| 379 | SYS_CAP_IOCTLS_LIMIT = 534 // { int cap_ioctls_limit(int fd, const u_long *cmds, size_t ncmds); } |
| 380 | SYS_CAP_IOCTLS_GET = 535 // { ssize_t cap_ioctls_get(int fd, u_long *cmds, size_t maxcmds); } |
| 381 | SYS_CAP_FCNTLS_LIMIT = 536 // { int cap_fcntls_limit(int fd, uint32_t fcntlrights); } |
| 382 | SYS_CAP_FCNTLS_GET = 537 // { int cap_fcntls_get(int fd, uint32_t *fcntlrightsp); } |
| 383 | SYS_BINDAT = 538 // { int bindat(int fd, int s, caddr_t name, int namelen); } |
| 384 | SYS_CONNECTAT = 539 // { int connectat(int fd, int s, caddr_t name, int namelen); } |
| 385 | SYS_CHFLAGSAT = 540 // { int chflagsat(int fd, const char *path, u_long flags, int atflag); } |
| 386 | SYS_ACCEPT4 = 541 // { int accept4(int s, struct sockaddr * __restrict name, __socklen_t * __restrict anamelen, int flags); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 387 | SYS_PIPE2 = 542 // { int pipe2(int *fildes, int flags); } |
| 388 | SYS_AIO_MLOCK = 543 // { int aio_mlock(struct aiocb *aiocbp); } |
Abhilash S.L | 3b49463 | 2019-07-16 15:51:09 +0530 | [diff] [blame] | 389 | SYS_PROCCTL = 544 // { int procctl(idtype_t idtype, id_t id, int com, void *data); } |
| 390 | SYS_PPOLL = 545 // { int ppoll(struct pollfd *fds, u_int nfds, const struct timespec *ts, const sigset_t *set); } |
| 391 | SYS_FUTIMENS = 546 // { int futimens(int fd, struct timespec *times); } |
| 392 | SYS_UTIMENSAT = 547 // { int utimensat(int fd, char *path, struct timespec *times, int flag); } |
| 393 | SYS_NUMA_GETAFFINITY = 548 // { int numa_getaffinity(cpuwhich_t which, id_t id, struct vm_domain_policy_entry *policy); } |
| 394 | SYS_NUMA_SETAFFINITY = 549 // { int numa_setaffinity(cpuwhich_t which, id_t id, const struct vm_domain_policy_entry *policy); } |
William Kurkian | ea86948 | 2019-04-09 15:16:11 -0400 | [diff] [blame] | 395 | SYS_FDATASYNC = 550 // { int fdatasync(int fd); } |
| 396 | ) |