authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2025-04-20 16:22:27 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2025-04-20 16:22:27 -07:00
logacb8e0fa394de15c5a1b1ef20c8498c0b7b3111c
treeaf456f064b1149ce67a3668833dd962818b30dcf
parent0fcaa4555d9099b536e43cc7070399433d52991a

add todos so the symbols show up in autocomplete


1 files changed, 346 insertions(+), 0 deletions(-)

mod.zig+346
......@@ -40,1258 +40,1572 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize {
4040// open
4141// int open(const char *pathname, int flags, ... /* mode_t mode */ );
4242// asmlinkage long sys_open(const char __user *filename, int flags, umode_t mode);
43pub const open = @compileError("TODO: open");
4344
4445// close
4546// int close(int fd);
4647// asmlinkage long sys_close(unsigned int fd);
48pub const close = @compileError("TODO: close");
4749
4850// stat
4951// int stat(const char *restrict pathname, struct stat *restrict statbuf);
5052// asmlinkage long sys_stat(const char __user *filename, struct __old_kernel_stat __user *statbuf);
53pub const stat = @compileError("TODO: stat");
5154
5255// fstat
5356// int fstat(int fd, struct stat *statbuf);
5457// asmlinkage long sys_fstat(unsigned int fd, struct __old_kernel_stat __user *statbuf);
58pub const fstat = @compileError("TODO: fstat");
5559
5660// lstat
5761// int lstat(const char *restrict pathname, struct stat *restrict statbuf);
5862// asmlinkage long sys_lstat(const char __user *filename, struct __old_kernel_stat __user *statbuf);
63pub const lstat = @compileError("TODO: lstat");
5964
6065// poll
6166// int poll(struct pollfd *fds, nfds_t nfds, int timeout);
6267// asmlinkage long sys_poll(struct pollfd __user *ufds, unsigned int nfds, int timeout);
68pub const poll = @compileError("TODO: poll");
6369
6470// lseek
6571// off_t lseek(int fd, off_t offset, int whence);
6672// asmlinkage long sys_lseek(unsigned int fd, off_t offset, unsigned int whence);
73pub const lseek = @compileError("TODO: lseek");
6774
6875// mmap
6976// void *mmap(void addr[.length], size_t length, int prot, int flags, int fd, off_t offset);
7077// asmlinkage long sys_mmap(unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long off);
78pub const mmap = @compileError("TODO: mmap");
7179
7280// mprotect
7381// int mprotect(void addr[.len], size_t len, int prot);
7482// asmlinkage long sys_mprotect(unsigned long start, size_t len, unsigned long prot);
83pub const mprotect = @compileError("TODO: mprotect");
7584
7685// munmap
7786// int munmap(void addr[.length], size_t length);
7887// asmlinkage long sys_munmap(unsigned long addr, size_t len);
88pub const munmap = @compileError("TODO: munmap");
7989
8090// brk
8191// int brk(void *addr);
8292// asmlinkage long sys_brk(unsigned long brk);
93pub const brk = @compileError("TODO: brk");
8394
8495// rt_sigaction
8596// int sigaction(int signum, const struct sigaction *_Nullable restrict act, struct sigaction *_Nullable restrict oldact);
8697// asmlinkage long sys_rt_sigaction(int, const struct sigaction __user *, struct sigaction __user *, size_t);
98pub const rt_sigaction = @compileError("TODO: rt_sigaction");
8799
88100// rt_sigprocmask
89101// int sigprocmask(int how, const sigset_t *_Nullable restrict set, sigset_t *_Nullable restrict oldset);
90102// asmlinkage long sys_rt_sigprocmask(int how, sigset_t __user *set, sigset_t __user *oset, size_t sigsetsize);
103pub const rt_sigprocmask = @compileError("TODO: rt_sigprocmask");
91104
92105// rt_sigreturn
93106// int sigreturn(...);
94107// asmlinkage long sys_rt_sigreturn(struct pt_regs *regs);
108pub const rt_sigreturn = @compileError("TODO: rt_sigreturn");
95109
96110// ioctl
97111// int ioctl(int fd, unsigned long op, ...);
98112// asmlinkage long sys_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg);
113pub const ioctl = @compileError("TODO: ioctl");
99114
100115// pread64
101116// ssize_t pread(int fd, void buf[.count], size_t count, off_t offset);
102117// asmlinkage long sys_pread64(unsigned int fd, char __user *buf, size_t count, loff_t pos);
118pub const pread64 = @compileError("TODO: pread64");
103119
104120// pwrite64
105121// ssize_t pwrite(int fd, const void buf[.count], size_t count, off_t offset);
106122// asmlinkage long sys_pwrite64(unsigned int fd, const char __user *buf, size_t count, loff_t pos);
123pub const pwrite64 = @compileError("TODO: pwrite64");
107124
108125// readv
109126// ssize_t readv(int fd, const struct iovec *iov, int iovcnt);
110127// asmlinkage long sys_readv(unsigned long fd, const struct iovec __user *vec, unsigned long vlen);
128pub const readv = @compileError("TODO: readv");
111129
112130// writev
113131// ssize_t writev(int fd, const struct iovec *iov, int iovcnt);
114132// asmlinkage long sys_writev(unsigned long fd, const struct iovec __user *vec, unsigned long vlen);
133pub const writev = @compileError("TODO: writev");
115134
116135// access
117136// int access(const char *pathname, int mode);
118137// asmlinkage long sys_access(const char __user *filename, int mode);
138pub const access = @compileError("TODO: access");
119139
120140// pipe
121141// int pipe(int pipefd[2]);
122142// asmlinkage long sys_pipe(int __user *fildes);
143pub const pipe = @compileError("TODO: pipe");
123144
124145// select
125146// int select(int nfds, fd_set *_Nullable restrict readfds, fd_set *_Nullable restrict writefds, fd_set *_Nullable restrict exceptfds, struct timeval *_Nullable restrict timeout);
126147// asmlinkage long sys_select(int n, fd_set __user *inp, fd_set __user *outp, fd_set __user *exp, struct __kernel_old_timeval __user *tvp);
148pub const select = @compileError("TODO: select");
127149
128150// sched_yield
129151// int sched_yield(void);
130152// asmlinkage long sys_sched_yield(void);
153pub const sched_yield = @compileError("TODO: sched_yield");
131154
132155// mremap
133156// void *mremap(void old_address[.old_size], size_t old_size, size_t new_size, int flags, ... /* void *new_address */);
134157// asmlinkage long sys_mremap(unsigned long addr, unsigned long old_len, unsigned long new_len, unsigned long flags, unsigned long new_addr);
158pub const mremap = @compileError("TODO: mremap");
135159
136160// msync
137161// int msync(void addr[.length], size_t length, int flags);
138162// asmlinkage long sys_msync(unsigned long start, size_t len, int flags);
163pub const msync = @compileError("TODO: msync");
139164
140165// mincore
141166// int mincore(void addr[.length], size_t length, unsigned char *vec);
142167// asmlinkage long sys_mincore(unsigned long start, size_t len, unsigned char __user * vec);
168pub const mincore = @compileError("TODO: mincore");
143169
144170// madvise
145171// int madvise(void addr[.length], size_t length, int advice);
146172// asmlinkage long sys_madvise(unsigned long start, size_t len, int behavior);
173pub const madvise = @compileError("TODO: madvise");
147174
148175// shmget
149176// int shmget(key_t key, size_t size, int shmflg);
150177// asmlinkage long sys_shmget(key_t key, size_t size, int flag);
178pub const shmget = @compileError("TODO: shmget");
151179
152180// shmat
153181// void *shmat(int shmid, const void *_Nullable shmaddr, int shmflg);
154182// asmlinkage long sys_shmat(int shmid, char __user *shmaddr, int shmflg);
183pub const shmat = @compileError("TODO: shmat");
155184
156185// shmctl
157186// int shmctl(int shmid, int op, struct shmid_ds *buf);
158187// asmlinkage long sys_shmctl(int shmid, int cmd, struct shmid_ds __user *buf);
188pub const shmctl = @compileError("TODO: shmctl");
159189
160190// dup
161191// int dup(int oldfd);
162192// asmlinkage long sys_dup(unsigned int fildes);
193pub const dup = @compileError("TODO: dup");
163194
164195// dup2
165196// int dup2(int oldfd, int newfd);
166197// asmlinkage long sys_dup2(unsigned int oldfd, unsigned int newfd);
198pub const dup2 = @compileError("TODO: dup2");
167199
168200// pause
169201// int pause(void);
170202// asmlinkage long sys_pause(void);
203pub const pause = @compileError("TODO: pause");
171204
172205// nanosleep
173206// int nanosleep(const struct timespec *duration, struct timespec *_Nullable rem);
174207// asmlinkage long sys_nanosleep(struct __kernel_timespec __user *rqtp, struct __kernel_timespec __user *rmtp);
208pub const nanosleep = @compileError("TODO: nanosleep");
175209
176210// getitimer
177211// int getitimer(int which, struct itimerval *curr_value);
178212// asmlinkage long sys_getitimer(int which, struct __kernel_old_itimerval __user *value);
213pub const getitimer = @compileError("TODO: getitimer");
179214
180215// alarm
181216// unsigned int alarm(unsigned int seconds);
182217// asmlinkage long sys_alarm(unsigned int seconds);
218pub const alarm = @compileError("TODO: alarm");
183219
184220// setitimer
185221// int setitimer(int which, const struct itimerval *restrict new_value, struct itimerval *_Nullable restrict old_value);
186222// asmlinkage long sys_setitimer(int which, struct __kernel_old_itimerval __user *value, struct __kernel_old_itimerval __user *ovalue);
223pub const setitimer = @compileError("TODO: setitimer");
187224
188225// getpid
189226// pid_t getpid(void);
190227// asmlinkage long sys_getpid(void);
228pub const getpid = @compileError("TODO: getpid");
191229
192230// sendfile
193231// ssize_t sendfile(int out_fd, int in_fd, off_t *_Nullable offset, size_t count);
194232// asmlinkage long sys_sendfile(int out_fd, int in_fd, off_t __user *offset, size_t count);
233pub const sendfile = @compileError("TODO: sendfile");
195234
196235// socket
197236// int socket(int domain, int type, int protocol);
198237// asmlinkage long sys_socket(int, int, int);
238pub const socket = @compileError("TODO: socket");
199239
200240// connect
201241// int connect(int sockfd, const struct sockaddr *addr, socklen_t addrlen);
202242// asmlinkage long sys_connect(int, struct sockaddr __user *, int);
243pub const connect = @compileError("TODO: connect");
203244
204245// accept
205246// int accept(int sockfd, struct sockaddr *_Nullable restrict addr, socklen_t *_Nullable restrict addrlen);
206247// asmlinkage long sys_accept(int, struct sockaddr __user *, int __user *);
248pub const accept = @compileError("TODO: accept");
207249
208250// sendto
209251// ssize_t sendto(int sockfd, const void buf[.len], size_t len, int flags, const struct sockaddr *dest_addr, socklen_t addrlen);
210252// asmlinkage long sys_sendto(int, void __user *, size_t, unsigned, struct sockaddr __user *, int);
253pub const sendto = @compileError("TODO: sendto");
211254
212255// recvfrom
213256// ssize_t recvfrom(int sockfd, void buf[restrict .len], size_t len, int flags, struct sockaddr *_Nullable restrict src_addr, socklen_t *_Nullable restrict addrlen);
214257// asmlinkage long sys_recvfrom(int, void __user *, size_t, unsigned, struct sockaddr __user *, int __user *);
258pub const recvfrom = @compileError("TODO: recvfrom");
215259
216260// sendmsg
217261// ssize_t sendmsg(int sockfd, const struct msghdr *msg, int flags);
218262// asmlinkage long sys_sendmsg(int fd, struct user_msghdr __user *msg, unsigned flags);
263pub const sendmsg = @compileError("TODO: sendmsg");
219264
220265// recvmsg
221266// ssize_t recvmsg(int sockfd, struct msghdr *msg, int flags);
222267// asmlinkage long sys_recvmsg(int fd, struct user_msghdr __user *msg, unsigned flags);
268pub const recvmsg = @compileError("TODO: recvmsg");
223269
224270// shutdown
225271// int shutdown(int sockfd, int how);
226272// asmlinkage long sys_shutdown(int, int);
273pub const shutdown = @compileError("TODO: shutdown");
227274
228275// bind
229276// int bind(int sockfd, const struct sockaddr *addr, socklen_t addrlen);
230277// asmlinkage long sys_bind(int, struct sockaddr __user *, int);
278pub const bind = @compileError("TODO: bind");
231279
232280// listen
233281// int listen(int sockfd, int backlog);
234282// asmlinkage long sys_listen(int, int);
283pub const listen = @compileError("TODO: listen");
235284
236285// getsockname
237286// int getsockname(int sockfd, struct sockaddr *restrict addr, socklen_t *restrict addrlen);
238287// asmlinkage long sys_getsockname(int, struct sockaddr __user *, int __user *);
288pub const getsockname = @compileError("TODO: getsockname");
239289
240290// getpeername
241291// int getpeername(int sockfd, struct sockaddr *restrict addr, socklen_t *restrict addrlen);
242292// asmlinkage long sys_getpeername(int, struct sockaddr __user *, int __user *);
293pub const getpeername = @compileError("TODO: getpeername");
243294
244295// socketpair
245296// int socketpair(int domain, int type, int protocol, int sv[2]);
246297// asmlinkage long sys_socketpair(int, int, int, int __user *);
298pub const socketpair = @compileError("TODO: socketpair");
247299
248300// setsockopt
249301// int setsockopt(int sockfd, int level, int optname, const void optval[.optlen], socklen_t optlen);
250302// asmlinkage long sys_setsockopt(int fd, int level, int optname, char __user *optval, int optlen);
303pub const setsockopt = @compileError("TODO: setsockopt");
251304
252305// getsockopt
253306// int getsockopt(int sockfd, int level, int optname, void optval[restrict *.optlen], socklen_t *restrict optlen);
254307// asmlinkage long sys_getsockopt(int fd, int level, int optname, char __user *optval, int __user *optlen);
308pub const getsockopt = @compileError("TODO: getsockopt");
255309
256310// clone
257311// int clone(int (*fn)(void *_Nullable), void *stack, int flags, void *_Nullable arg, ... /* pid_t *_Nullable parent_tid, void *_Nullable tls, pid_t *_Nullable child_tid */ );
258312// asmlinkage long sys_clone(unsigned long, unsigned long, int __user *, int __user *, unsigned long);
313pub const clone = @compileError("TODO: clone");
259314
260315// fork
261316// pid_t fork(void);
262317// asmlinkage long sys_fork(void);
318pub const fork = @compileError("TODO: fork");
263319
264320// vfork
265321// pid_t vfork(void);
266322// asmlinkage long sys_vfork(void);
323pub const vfork = @compileError("TODO: vfork");
267324
268325// execve
269326// int execve(const char *pathname, char *const _Nullable argv[], char *const _Nullable envp[]);
270327// asmlinkage long sys_execve(const char __user *filename, const char __user *const __user *argv, const char __user *const __user *envp);
328pub const execve = @compileError("TODO: execve");
271329
272330// exit
273331// [[noreturn]] void _exit(int status);
274332// asmlinkage long sys_exit(int error_code);
333pub const exit = @compileError("TODO: exit");
275334
276335// wait4
277336// pid_t wait4(pid_t pid, int *_Nullable wstatus, int options, struct rusage *_Nullable rusage);
278337// asmlinkage long sys_wait4(pid_t pid, int __user *stat_addr, int options, struct rusage __user *ru);
338pub const wait4 = @compileError("TODO: wait4");
279339
280340// kill
281341// int kill(pid_t pid, int sig);
282342// asmlinkage long sys_kill(pid_t pid, int sig);
343pub const kill = @compileError("TODO: kill");
283344
284345// uname
285346// int uname(struct utsname *buf);
286347// asmlinkage long sys_uname(struct old_utsname __user *);
348pub const uname = @compileError("TODO: uname");
287349
288350// semget
289351// int semget(key_t key, int nsems, int semflg);
290352// asmlinkage long sys_semget(key_t key, int nsems, int semflg);
353pub const semget = @compileError("TODO: semget");
291354
292355// semop
293356// int semop(int semid, struct sembuf *sops, size_t nsops);
294357// asmlinkage long sys_semop(int semid, struct sembuf __user *sops, unsigned nsops);
358pub const semop = @compileError("TODO: semop");
295359
296360// semctl
297361// int semctl(int semid, int semnum, int op, ...);
298362// asmlinkage long sys_semctl(int semid, int semnum, int cmd, unsigned long arg);
363pub const semctl = @compileError("TODO: semctl");
299364
300365// shmdt
301366// int shmdt(const void *shmaddr);
302367// asmlinkage long sys_shmdt(char __user *shmaddr);
368pub const shmdt = @compileError("TODO: shmdt");
303369
304370// msgget
305371// int msgget(key_t key, int msgflg);
306372// asmlinkage long sys_msgget(key_t key, int msgflg);
373pub const msgget = @compileError("TODO: msgget");
307374
308375// msgsnd
309376// int msgsnd(int msqid, const void msgp[.msgsz], size_t msgsz, int msgflg);
310377// asmlinkage long sys_msgsnd(int msqid, struct msgbuf __user *msgp, size_t msgsz, int msgflg);
378pub const msgsnd = @compileError("TODO: msgsnd");
311379
312380// msgrcv
313381// ssize_t msgrcv(int msqid, void msgp[.msgsz], size_t msgsz, long msgtyp, int msgflg);
314382// asmlinkage long sys_msgrcv(int msqid, struct msgbuf __user *msgp, size_t msgsz, long msgtyp, int msgflg);
383pub const msgrcv = @compileError("TODO: msgrcv");
315384
316385// msgctl
317386// int msgctl(int msqid, int op, struct msqid_ds *buf);
318387// asmlinkage long sys_msgctl(int msqid, int cmd, struct msqid_ds __user *buf);
388pub const msgctl = @compileError("TODO: msgctl");
319389
320390// fcntl
321391// int fcntl(int fd, int op, ... /* arg */ );
322392// asmlinkage long sys_fcntl(unsigned int fd, unsigned int cmd, unsigned long arg);
393pub const fcntl = @compileError("TODO: fcntl");
323394
324395// flock
325396// int flock(int fd, int op);
326397// asmlinkage long sys_flock(unsigned int fd, unsigned int cmd);
398pub const flock = @compileError("TODO: flock");
327399
328400// fsync
329401// int fsync(int fd);
330402// asmlinkage long sys_fsync(unsigned int fd);
403pub const fsync = @compileError("TODO: fsync");
331404
332405// fdatasync
333406// int fdatasync(int fd);
334407// asmlinkage long sys_fdatasync(unsigned int fd);
408pub const fdatasync = @compileError("TODO: fdatasync");
335409
336410// truncate
337411// int truncate(const char *path, off_t length);
338412// asmlinkage long sys_truncate(const char __user *path, long length);
413pub const truncate = @compileError("TODO: truncate");
339414
340415// ftruncate
341416// int ftruncate(int fd, off_t length);
342417// asmlinkage long sys_ftruncate(unsigned int fd, off_t length);
418pub const ftruncate = @compileError("TODO: ftruncate");
343419
344420// getdents
345421// long syscall(SYS_getdents, unsigned int fd, struct linux_dirent *dirp, unsigned int count);
346422// asmlinkage long sys_getdents(unsigned int fd, struct linux_dirent __user *dirent, unsigned int count);
423pub const getdents = @compileError("TODO: getdents");
347424
348425// getcwd
349426// char *getcwd(char buf[.size], size_t size);
350427// asmlinkage long sys_getcwd(char __user *buf, unsigned long size);
428pub const getcwd = @compileError("TODO: getcwd");
351429
352430// chdir
353431// int chdir(const char *path);
354432// asmlinkage long sys_chdir(const char __user *filename);
433pub const chdir = @compileError("TODO: chdir");
355434
356435// fchdir
357436// int fchdir(int fd);
358437// asmlinkage long sys_fchdir(unsigned int fd);
438pub const fchdir = @compileError("TODO: fchdir");
359439
360440// rename
361441// int rename(const char *oldpath, const char *newpath);
362442// asmlinkage long sys_rename(const char __user *oldname, const char __user *newname);
443pub const rename = @compileError("TODO: rename");
363444
364445// mkdir
365446// int mkdir(const char *pathname, mode_t mode);
366447// asmlinkage long sys_mkdir(const char __user *pathname, umode_t mode);
448pub const mkdir = @compileError("TODO: mkdir");
367449
368450// rmdir
369451// int rmdir(const char *pathname);
370452// asmlinkage long sys_rmdir(const char __user *pathname);
453pub const rmdir = @compileError("TODO: rmdir");
371454
372455// creat
373456// int creat(const char *pathname, mode_t mode);
374457// asmlinkage long sys_creat(const char __user *pathname, umode_t mode);
458pub const creat = @compileError("TODO: creat");
375459
376460// link
377461// int link(const char *oldpath, const char *newpath);
378462// asmlinkage long sys_link(const char __user *oldname, const char __user *newname);
463pub const link = @compileError("TODO: link");
379464
380465// unlink
381466// int unlink(const char *pathname);
382467// asmlinkage long sys_unlink(const char __user *pathname);
468pub const unlink = @compileError("TODO: unlink");
383469
384470// symlink
385471// int symlink(const char *target, const char *linkpath);
386472// asmlinkage long sys_symlink(const char __user *old, const char __user *new);
473pub const symlink = @compileError("TODO: symlink");
387474
388475// readlink
389476// ssize_t readlink(const char *restrict pathname, char *restrict buf, size_t bufsiz);
390477// asmlinkage long sys_readlink(const char __user *path, char __user *buf, int bufsiz);
478pub const readlink = @compileError("TODO: readlink");
391479
392480// chmod
393481// int chmod(const char *pathname, mode_t mode);
394482// asmlinkage long sys_chmod(const char __user *filename, umode_t mode);
483pub const chmod = @compileError("TODO: chmod");
395484
396485// fchmod
397486// int fchmod(int fd, mode_t mode);
398487// asmlinkage long sys_fchmod(unsigned int fd, umode_t mode);
488pub const fchmod = @compileError("TODO: fchmod");
399489
400490// chown
401491// int chown(const char *pathname, uid_t owner, gid_t group);
402492// asmlinkage long sys_chown(const char __user *filename, uid_t user, gid_t group);
493pub const chown = @compileError("TODO: chown");
403494
404495// fchown
405496// int fchown(int fd, uid_t owner, gid_t group);
406497// asmlinkage long sys_fchown(unsigned int fd, uid_t user, gid_t group);
498pub const fchown = @compileError("TODO: fchown");
407499
408500// lchown
409501// int lchown(const char *pathname, uid_t owner, gid_t group);
410502// asmlinkage long sys_lchown(const char __user *filename, uid_t user, gid_t group);
503pub const lchown = @compileError("TODO: lchown");
411504
412505// umask
413506// mode_t umask(mode_t mask);
414507// asmlinkage long sys_umask(int mask);
508pub const umask = @compileError("TODO: umask");
415509
416510// gettimeofday
417511// int gettimeofday(struct timeval *restrict tv, struct timezone *_Nullable restrict tz);
418512// asmlinkage long sys_gettimeofday(struct __kernel_old_timeval __user *tv, struct timezone __user *tz);
513pub const gettimeofday = @compileError("TODO: gettimeofday");
419514
420515// getrlimit
421516// int getrlimit(int resource, struct rlimit *rlim);
422517// asmlinkage long sys_getrlimit(unsigned int resource, struct rlimit __user *rlim);
518pub const getrlimit = @compileError("TODO: getrlimit");
423519
424520// getrusage
425521// int getrusage(int who, struct rusage *usage);
426522// asmlinkage long sys_getrusage(int who, struct rusage __user *ru);
523pub const getrusage = @compileError("TODO: getrusage");
427524
428525// sysinfo
429526// int sysinfo(struct sysinfo *info);
430527// asmlinkage long sys_sysinfo(struct sysinfo __user *info);
528pub const sysinfo = @compileError("TODO: sysinfo");
431529
432530// times
433531// clock_t times(struct tms *buf);
434532// asmlinkage long sys_times(struct tms __user *tbuf);
533pub const times = @compileError("TODO: times");
435534
436535// ptrace
437536// long ptrace(enum __ptrace_request op, pid_t pid, void *addr, void *data);
438537// asmlinkage long sys_ptrace(long request, long pid, unsigned long addr, unsigned long data);
538pub const ptrace = @compileError("TODO: ptrace");
439539
440540// getuid
441541// uid_t getuid(void);
442542// asmlinkage long sys_getuid(void);
543pub const getuid = @compileError("TODO: getuid");
443544
444545// syslog
445546// int syscall(SYS_syslog, int type, char *bufp, int len);
446547// asmlinkage long sys_syslog(int type, char __user *buf, int len);
548pub const syslog = @compileError("TODO: syslog");
447549
448550// getgid
449551// gid_t getgid(void);
450552// asmlinkage long sys_getgid(void);
553pub const getgid = @compileError("TODO: getgid");
451554
452555// setuid
453556// int setuid(uid_t uid);
454557// asmlinkage long sys_setuid(uid_t uid);
558pub const setuid = @compileError("TODO: setuid");
455559
456560// setgid
457561// int setgid(gid_t gid);
458562// asmlinkage long sys_setgid(gid_t gid);
563pub const setgid = @compileError("TODO: setgid");
459564
460565// geteuid
461566// uid_t geteuid(void);
462567// asmlinkage long sys_geteuid(void);
568pub const geteuid = @compileError("TODO: geteuid");
463569
464570// getegid
465571// gid_t getegid(void);
466572// asmlinkage long sys_getegid(void);
573pub const getegid = @compileError("TODO: getegid");
467574
468575// setpgid
469576// int setpgid(pid_t pid, pid_t pgid);
470577// asmlinkage long sys_setpgid(pid_t pid, pid_t pgid);
578pub const setpgid = @compileError("TODO: setpgid");
471579
472580// getppid
473581// pid_t getppid(void);
474582// asmlinkage long sys_getppid(void);
583pub const getppid = @compileError("TODO: getppid");
475584
476585// getpgrp
477586// pid_t getpgrp(void);
478587// asmlinkage long sys_getpgrp(void);
588pub const getpgrp = @compileError("TODO: getpgrp");
479589
480590// setsid
481591// pid_t setsid(void);
482592// asmlinkage long sys_setsid(void);
593pub const setsid = @compileError("TODO: setsid");
483594
484595// setreuid
485596// int setreuid(uid_t ruid, uid_t euid);
486597// asmlinkage long sys_setreuid(uid_t ruid, uid_t euid);
598pub const setreuid = @compileError("TODO: setreuid");
487599
488600// setregid
489601// int setregid(gid_t rgid, gid_t egid);
490602// asmlinkage long sys_setregid(gid_t rgid, gid_t egid);
603pub const setregid = @compileError("TODO: setregid");
491604
492605// getgroups
493606// int getgroups(int size, gid_t list[]);
494607// asmlinkage long sys_getgroups(int gidsetsize, gid_t __user *grouplist);
608pub const getgroups = @compileError("TODO: getgroups");
495609
496610// setgroups
497611// int setgroups(size_t size, const gid_t *_Nullable list);
498612// asmlinkage long sys_setgroups(int gidsetsize, gid_t __user *grouplist);
613pub const setgroups = @compileError("TODO: setgroups");
499614
500615// setresuid
501616// int setresuid(uid_t ruid, uid_t euid, uid_t suid);
502617// asmlinkage long sys_setresuid(uid_t ruid, uid_t euid, uid_t suid);
618pub const setresuid = @compileError("TODO: setresuid");
503619
504620// getresuid
505621// int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid);
506622// asmlinkage long sys_getresuid(uid_t __user *ruid, uid_t __user *euid, uid_t __user *suid);
623pub const getresuid = @compileError("TODO: getresuid");
507624
508625// setresgid
509626// int setresgid(gid_t rgid, gid_t egid, gid_t sgid);
510627// asmlinkage long sys_setresgid(gid_t rgid, gid_t egid, gid_t sgid);
628pub const setresgid = @compileError("TODO: setresgid");
511629
512630// getresgid
513631// int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid);
514632// asmlinkage long sys_getresgid(gid_t __user *rgid, gid_t __user *egid, gid_t __user *sgid);
633pub const getresgid = @compileError("TODO: getresgid");
515634
516635// getpgid
517636// pid_t getpgid(pid_t pid);
518637// asmlinkage long sys_getpgid(pid_t pid);
638pub const getpgid = @compileError("TODO: getpgid");
519639
520640// setfsuid
521641// [[deprecated]] int setfsuid(uid_t fsuid);
522642// asmlinkage long sys_setfsuid(uid_t uid);
643pub const setfsuid = @compileError("TODO: setfsuid");
523644
524645// setfsgid
525646// [[deprecated]] int setfsgid(gid_t fsgid);
526647// asmlinkage long sys_setfsgid(gid_t gid);
648pub const setfsgid = @compileError("TODO: setfsgid");
527649
528650// getsid
529651// pid_t getsid(pid_t pid);
530652// asmlinkage long sys_getsid(pid_t pid);
653pub const getsid = @compileError("TODO: getsid");
531654
532655// capget
533656// int syscall(SYS_capget, cap_user_header_t hdrp, cap_user_data_t datap);
534657// asmlinkage long sys_capget(cap_user_header_t header, cap_user_data_t dataptr);
658pub const capget = @compileError("TODO: capget");
535659
536660// capset
537661// int syscall(SYS_capset, cap_user_header_t hdrp, const cap_user_data_t datap);
538662// asmlinkage long sys_capset(cap_user_header_t header, const cap_user_data_t data);
663pub const capset = @compileError("TODO: capset");
539664
540665// rt_sigpending
541666// int sigpending(sigset_t *set);
542667// asmlinkage long sys_rt_sigpending(sigset_t __user *set, size_t sigsetsize);
668pub const rt_sigpending = @compileError("TODO: rt_sigpending");
543669
544670// rt_sigtimedwait
545671// int sigtimedwait(const sigset_t *restrict set, siginfo_t *_Nullable restrict info, const struct timespec *restrict timeout);
546672// asmlinkage long sys_rt_sigtimedwait(const sigset_t __user *uthese, siginfo_t __user *uinfo, const struct __kernel_timespec __user *uts, size_t sigsetsize);
673pub const rt_sigtimedwait = @compileError("TODO: rt_sigtimedwait");
547674
548675// rt_sigqueueinfo
549676// int syscall(SYS_rt_sigqueueinfo, pid_t tgid, int sig, siginfo_t *info);
550677// asmlinkage long sys_rt_sigqueueinfo(pid_t pid, int sig, siginfo_t __user *uinfo);
678pub const rt_sigqueueinfo = @compileError("TODO: rt_sigqueueinfo");
551679
552680// rt_sigsuspend
553681// int sigsuspend(const sigset_t *mask);
554682// asmlinkage long sys_rt_sigsuspend(sigset_t __user *unewset, size_t sigsetsize);
683pub const rt_sigsuspend = @compileError("TODO: rt_sigsuspend");
555684
556685// sigaltstack
557686// int sigaltstack(const stack_t *_Nullable restrict ss, stack_t *_Nullable restrict old_ss);
558687// asmlinkage long sys_sigaltstack(const struct sigaltstack __user *uss, struct sigaltstack __user *uoss);
688pub const sigaltstack = @compileError("TODO: sigaltstack");
559689
560690// utime
561691// int utime(const char *filename, const struct utimbuf *_Nullable times);
562692// asmlinkage long sys_utime(char __user *filename, struct utimbuf __user *times);
693pub const utime = @compileError("TODO: utime");
563694
564695// mknod
565696// int mknod(const char *pathname, mode_t mode, dev_t dev);
566697// asmlinkage long sys_mknod(const char __user *filename, umode_t mode, unsigned dev);
698pub const mknod = @compileError("TODO: mknod");
567699
568700// uselib
569701// [[deprecated]] int uselib(const char *library);
570702// asmlinkage long sys_uselib(const char __user *library);
703pub const uselib = @compileError("TODO: uselib");
571704
572705// personality
573706// int personality(unsigned long persona);
574707// asmlinkage long sys_personality(unsigned int personality);
708pub const personality = @compileError("TODO: personality");
575709
576710// ustat
577711// [[deprecated]] int ustat(dev_t dev, struct ustat *ubuf);
578712// asmlinkage long sys_ustat(unsigned dev, struct ustat __user *ubuf);
713pub const ustat = @compileError("TODO: ustat");
579714
580715// statfs
581716// int statfs(const char *path, struct statfs *buf);
582717// asmlinkage long sys_statfs(const char __user * path, struct statfs __user *buf);
718pub const statfs = @compileError("TODO: statfs");
583719
584720// fstatfs
585721// int fstatfs(int fd, struct statfs *buf);
586722// asmlinkage long sys_fstatfs(unsigned int fd, struct statfs __user *buf);
723pub const fstatfs = @compileError("TODO: fstatfs");
587724
588725// sysfs
589726//
590727// asmlinkage long sys_sysfs(int option, unsigned long arg1, unsigned long arg2);
728pub const sysfs = @compileError("TODO: sysfs");
591729
592730// getpriority
593731// int getpriority(int which, id_t who);
594732// asmlinkage long sys_getpriority(int which, int who);
733pub const getpriority = @compileError("TODO: getpriority");
595734
596735// setpriority
597736// int setpriority(int which, id_t who, int prio);
598737// asmlinkage long sys_setpriority(int which, int who, int niceval);
738pub const setpriority = @compileError("TODO: setpriority");
599739
600740// sched_setparam
601741// int sched_setparam(pid_t pid, const struct sched_param *param);
602742// asmlinkage long sys_sched_setparam(pid_t pid, struct sched_param __user *param);
743pub const sched_setparam = @compileError("TODO: sched_setparam");
603744
604745// sched_getparam
605746// int sched_getparam(pid_t pid, struct sched_param *param);
606747// asmlinkage long sys_sched_getparam(pid_t pid, struct sched_param __user *param);
748pub const sched_getparam = @compileError("TODO: sched_getparam");
607749
608750// sched_setscheduler
609751// int sched_setscheduler(pid_t pid, int policy, const struct sched_param *param);
610752// asmlinkage long sys_sched_setscheduler(pid_t pid, int policy, struct sched_param __user *param);
753pub const sched_setscheduler = @compileError("TODO: sched_setscheduler");
611754
612755// sched_getscheduler
613756// int sched_getscheduler(pid_t pid);
614757// asmlinkage long sys_sched_getscheduler(pid_t pid);
758pub const sched_getscheduler = @compileError("TODO: sched_getscheduler");
615759
616760// sched_get_priority_max
617761// int sched_get_priority_max(int policy);
618762// asmlinkage long sys_sched_get_priority_max(int policy);
763pub const sched_get_priority_max = @compileError("TODO: sched_get_priority_max");
619764
620765// sched_get_priority_min
621766// int sched_get_priority_min(int policy);
622767// asmlinkage long sys_sched_get_priority_min(int policy);
768pub const sched_get_priority_min = @compileError("TODO: sched_get_priority_min");
623769
624770// sched_rr_get_interval
625771// int sched_rr_get_interval(pid_t pid, struct timespec *tp);
626772// asmlinkage long sys_sched_rr_get_interval(pid_t pid, struct __kernel_timespec __user *interval);
773pub const sched_rr_get_interval = @compileError("TODO: sched_rr_get_interval");
627774
628775// mlock
629776// int mlock(const void addr[.len], size_t len);
630777// asmlinkage long sys_mlock(unsigned long start, size_t len);
778pub const mlock = @compileError("TODO: mlock");
631779
632780// munlock
633781// int munlock(const void addr[.len], size_t len);
634782// asmlinkage long sys_munlock(unsigned long start, size_t len);
783pub const munlock = @compileError("TODO: munlock");
635784
636785// mlockall
637786// int mlockall(int flags);
638787// asmlinkage long sys_mlockall(int flags);
788pub const mlockall = @compileError("TODO: mlockall");
639789
640790// munlockall
641791// int munlockall(void);
642792// asmlinkage long sys_munlockall(void);
793pub const munlockall = @compileError("TODO: munlockall");
643794
644795// vhangup
645796// int vhangup(void);
646797// asmlinkage long sys_vhangup(void);
798pub const vhangup = @compileError("TODO: vhangup");
647799
648800// pivot_root
649801// int syscall(SYS_pivot_root, const char *new_root, const char *put_old);
650802// asmlinkage long sys_pivot_root(const char __user *new_root, const char __user *put_old);
803pub const pivot_root = @compileError("TODO: pivot_root");
651804
652805// prctl
653806// int prctl(int op, ... /* unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5 */ );
654807// asmlinkage long sys_prctl(int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5);
808pub const prctl = @compileError("TODO: prctl");
655809
656810// arch_prctl
657811//
658812// asmlinkage long sys_arch_prctl(int option, unsigned long arg2)
813pub const arch_prctl = @compileError("TODO: arch_prctl");
659814
660815// adjtimex
661816// int adjtimex(struct timex *buf);
662817// asmlinkage long sys_adjtimex(struct __kernel_timex __user *txc_p);
818pub const adjtimex = @compileError("TODO: adjtimex");
663819
664820// setrlimit
665821// int setrlimit(int resource, const struct rlimit *rlim);
666822// asmlinkage long sys_setrlimit(unsigned int resource, struct rlimit __user *rlim);
823pub const setrlimit = @compileError("TODO: setrlimit");
667824
668825// chroot
669826// int chroot(const char *path);
670827// asmlinkage long sys_chroot(const char __user *filename);
828pub const chroot = @compileError("TODO: chroot");
671829
672830// sync
673831// void sync(void);
674832// asmlinkage long sys_sync(void);
833pub const sync = @compileError("TODO: sync");
675834
676835// acct
677836// int acct(const char *_Nullable filename);
678837// asmlinkage long sys_acct(const char __user *name);
838pub const acct = @compileError("TODO: acct");
679839
680840// settimeofday
681841// int settimeofday(const struct timeval *tv, const struct timezone *_Nullable tz);
682842// asmlinkage long sys_settimeofday(struct __kernel_old_timeval __user *tv, struct timezone __user *tz);
843pub const settimeofday = @compileError("TODO: settimeofday");
683844
684845// mount
685846// int mount(const char *source, const char *target, const char *filesystemtype, unsigned long mountflags, const void *_Nullable data);
686847// asmlinkage long sys_mount(char __user *dev_name, char __user *dir_name, char __user *type, unsigned long flags, void __user *data);
848pub const mount = @compileError("TODO: mount");
687849
688850// umount2
689851// int umount2(const char *target, int flags);
690852// asmlinkage long sys_umount(char __user *name, int flags);
853pub const umount = @compileError("TODO: umount");
691854
692855// swapon
693856// int swapon(const char *path, int swapflags);
694857// asmlinkage long sys_swapon(const char __user *specialfile, int swap_flags);
858pub const swapon = @compileError("TODO: swapon");
695859
696860// swapoff
697861// int swapoff(const char *path);
698862// asmlinkage long sys_swapoff(const char __user *specialfile);
863pub const swapoff = @compileError("TODO: swapoff");
699864
700865// reboot
701866// int reboot(int op);
702867// asmlinkage long sys_reboot(int magic1, int magic2, unsigned int cmd, void __user *arg);
868pub const reboot = @compileError("TODO: reboot");
703869
704870// sethostname
705871// int sethostname(const char *name, size_t len);
706872// asmlinkage long sys_sethostname(char __user *name, int len);
873pub const sethostname = @compileError("TODO: sethostname");
707874
708875// setdomainname
709876// int setdomainname(const char *name, size_t len);
710877// asmlinkage long sys_setdomainname(char __user *name, int len);
878pub const setdomainname = @compileError("TODO: setdomainname");
711879
712880// ioperm
713881// int ioperm(unsigned long from, unsigned long num, int turn_on);
714882// asmlinkage long sys_ioperm(unsigned long from, unsigned long num, int on);
883pub const ioperm = @compileError("TODO: ioperm");
715884
716885// init_module
717886// int syscall(SYS_init_module, void module_image[.len], unsigned long len, const char *param_values);
718887// asmlinkage long sys_init_module(void __user *umod, unsigned long len, const char __user *uargs);
888pub const init_module = @compileError("TODO: init_module");
719889
720890// delete_module
721891// int syscall(SYS_delete_module, const char *name, unsigned int flags);
722892// asmlinkage long sys_delete_module(const char __user *name_user, unsigned int flags);
893pub const delete_module = @compileError("TODO: delete_module");
723894
724895// quotactl
725896// int quotactl(int op, const char *_Nullable special, int id, caddr_t addr);
726897// asmlinkage long sys_quotactl(unsigned int cmd, const char __user *special, qid_t id, void __user *addr);
898pub const quotactl = @compileError("TODO: quotactl");
727899
728900// gettid
729901// pid_t gettid(void);
730902// asmlinkage long sys_gettid(void);
903pub const gettid = @compileError("TODO: gettid");
731904
732905// readahead
733906// ssize_t readahead(int fd, off_t offset, size_t count);
734907// asmlinkage long sys_readahead(int fd, loff_t offset, size_t count);
908pub const readahead = @compileError("TODO: readahead");
735909
736910// setxattr
737911// int setxattr(const char *path, const char *name, const void value[.size], size_t size, int flags);
738912// asmlinkage long sys_setxattr(const char __user *path, const char __user *name, const void __user *value, size_t size, int flags);
913pub const setxattr = @compileError("TODO: setxattr");
739914
740915// lsetxattr
741916// int lsetxattr(const char *path, const char *name, const void value[.size], size_t size, int flags);
742917// asmlinkage long sys_lsetxattr(const char __user *path, const char __user *name, const void __user *value, size_t size, int flags);
918pub const lsetxattr = @compileError("TODO: lsetxattr");
743919
744920// fsetxattr
745921// int fsetxattr(int fd, const char *name, const void value[.size], size_t size, int flags);
746922// asmlinkage long sys_fsetxattr(int fd, const char __user *name, const void __user *value, size_t size, int flags);
923pub const fsetxattr = @compileError("TODO: fsetxattr");
747924
748925// getxattr
749926// ssize_t getxattr(const char *path, const char *name, void value[.size], size_t size);
750927// asmlinkage long sys_getxattr(const char __user *path, const char __user *name, void __user *value, size_t size);
928pub const getxattr = @compileError("TODO: getxattr");
751929
752930// lgetxattr
753931// ssize_t lgetxattr(const char *path, const char *name, void value[.size], size_t size);
754932// asmlinkage long sys_lgetxattr(const char __user *path, const char __user *name, void __user *value, size_t size);
933pub const lgetxattr = @compileError("TODO: lgetxattr");
755934
756935// fgetxattr
757936// ssize_t fgetxattr(int fd, const char *name, void value[.size], size_t size);
758937// asmlinkage long sys_fgetxattr(int fd, const char __user *name, void __user *value, size_t size);
938pub const fgetxattr = @compileError("TODO: fgetxattr");
759939
760940// listxattr
761941// ssize_t listxattr(const char *path, char *_Nullable list, size_t size);
762942// asmlinkage long sys_listxattr(const char __user *path, char __user *list, size_t size);
943pub const listxattr = @compileError("TODO: listxattr");
763944
764945// llistxattr
765946// ssize_t llistxattr(const char *path, char *_Nullable list, size_t size);
766947// asmlinkage long sys_llistxattr(const char __user *path, char __user *list, size_t size);
948pub const llistxattr = @compileError("TODO: llistxattr");
767949
768950// flistxattr
769951// ssize_t flistxattr(int fd, char *_Nullable list, size_t size);
770952// asmlinkage long sys_flistxattr(int fd, char __user *list, size_t size);
953pub const flistxattr = @compileError("TODO: flistxattr");
771954
772955// removexattr
773956// int removexattr(const char *path, const char *name);
774957// asmlinkage long sys_removexattr(const char __user *path, const char __user *name);
958pub const removexattr = @compileError("TODO: removexattr");
775959
776960// lremovexattr
777961// int lremovexattr(const char *path, const char *name);
778962// asmlinkage long sys_lremovexattr(const char __user *path, const char __user *name);
963pub const lremovexattr = @compileError("TODO: lremovexattr");
779964
780965// fremovexattr
781966// int fremovexattr(int fd, const char *name);
782967// asmlinkage long sys_fremovexattr(int fd, const char __user *name);
968pub const fremovexattr = @compileError("TODO: fremovexattr");
783969
784970// tkill
785971// [[deprecated]] int syscall(SYS_tkill, pid_t tid, int sig);
786972// asmlinkage long sys_tkill(pid_t pid, int sig);
973pub const tkill = @compileError("TODO: tkill");
787974
788975// time
789976// time_t time(time_t *_Nullable tloc);
790977// asmlinkage long sys_time(__kernel_old_time_t __user *tloc);
978pub const time = @compileError("TODO: time");
791979
792980// futex
793981// long syscall(SYS_futex, uint32_t *uaddr, int futex_op, uint32_t val, const struct timespec *timeout, /* or: uint32_t val2 */ uint32_t *uaddr2, uint32_t val3);
794982// asmlinkage long sys_futex(u32 __user *uaddr, int op, u32 val, const struct __kernel_timespec __user *utime, u32 __user *uaddr2, u32 val3);
983pub const futex = @compileError("TODO: futex");
795984
796985// sched_setaffinity
797986// int sched_setaffinity(pid_t pid, size_t cpusetsize, const cpu_set_t *mask);
798987// asmlinkage long sys_sched_setaffinity(pid_t pid, unsigned int len, unsigned long __user *user_mask_ptr);
988pub const sched_setaffinity = @compileError("TODO: sched_setaffinity");
799989
800990// sched_getaffinity
801991// int sched_getaffinity(pid_t pid, size_t cpusetsize, cpu_set_t *mask);
802992// asmlinkage long sys_sched_getaffinity(pid_t pid, unsigned int len, unsigned long __user *user_mask_ptr);
993pub const sched_getaffinity = @compileError("TODO: sched_getaffinity");
803994
804995// io_setup
805996// long io_setup(unsigned int nr_events, aio_context_t *ctx_idp);
806997// asmlinkage long sys_io_setup(unsigned nr_reqs, aio_context_t __user *ctx);
998pub const io_setup = @compileError("TODO: io_setup");
807999
8081000// io_destroy
8091001// int syscall(SYS_io_destroy, aio_context_t ctx_id);
8101002// asmlinkage long sys_io_destroy(aio_context_t ctx);
1003pub const io_destroy = @compileError("TODO: io_destroy");
8111004
8121005// io_getevents
8131006// int syscall(SYS_io_getevents, aio_context_t ctx_id, long min_nr, long nr, struct io_event *events, struct timespec *timeout);
8141007// asmlinkage long sys_io_getevents(aio_context_t ctx_id, long min_nr, long nr, struct io_event __user *events, struct __kernel_timespec __user *timeout);
1008pub const io_getevents = @compileError("TODO: io_getevents");
8151009
8161010// io_submit
8171011// int io_submit(aio_context_t ctx_id, long nr, struct iocb **iocbpp);
8181012// asmlinkage long sys_io_submit(aio_context_t, long, struct iocb __user * __user *);
1013pub const io_submit = @compileError("TODO: io_submit");
8191014
8201015// io_cancel
8211016// int syscall(SYS_io_cancel, aio_context_t ctx_id, struct iocb *iocb, struct io_event *result);
8221017// asmlinkage long sys_io_cancel(aio_context_t ctx_id, struct iocb __user *iocb, struct io_event __user *result);
1018pub const io_cancel = @compileError("TODO: io_cancel");
8231019
8241020// epoll_create
8251021// int epoll_create(int size);
8261022// asmlinkage long sys_epoll_create(int size);
1023pub const epoll_create = @compileError("TODO: epoll_create");
8271024
8281025// remap_file_pages
8291026// [[deprecated]] int remap_file_pages(void addr[.size], size_t size, int prot, size_t pgoff, int flags);
8301027// asmlinkage long sys_remap_file_pages(unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags);
1028pub const remap_file_pages = @compileError("TODO: remap_file_pages");
8311029
8321030// getdents64
8331031// ssize_t getdents64(int fd, void dirp[.count], size_t count);
8341032// asmlinkage long sys_getdents64(unsigned int fd, struct linux_dirent64 __user *dirent, unsigned int count);
1033pub const getdents64 = @compileError("TODO: getdents64");
8351034
8361035// set_tid_address
8371036// pid_t syscall(SYS_set_tid_address, int *tidptr);
8381037// asmlinkage long sys_set_tid_address(int __user *tidptr);
1038pub const set_tid_address = @compileError("TODO: set_tid_address");
8391039
8401040// semtimedop
8411041// int semtimedop(int semid, struct sembuf *sops, size_t nsops, const struct timespec *_Nullable timeout);
8421042// asmlinkage long sys_semtimedop(int semid, struct sembuf __user *sops, unsigned nsops, const struct __kernel_timespec __user *timeout);
1043pub const semtimedop = @compileError("TODO: semtimedop");
8431044
8441045// fadvise64
8451046// int posix_fadvise(int fd, off_t offset, off_t size, int advice);
8461047// asmlinkage long sys_fadvise64(int fd, loff_t offset, size_t len, int advice);
1048pub const fadvise64 = @compileError("TODO: fadvise64");
8471049
8481050// timer_create
8491051// int timer_create(clockid_t clockid, struct sigevent *_Nullable restrict sevp, timer_t *restrict timerid);
8501052// asmlinkage long sys_timer_create(clockid_t which_clock, struct sigevent __user *timer_event_spec, timer_t __user * created_timer_id);
1053pub const timer_create = @compileError("TODO: timer_create");
8511054
8521055// timer_settime
8531056// int timer_settime(timer_t timerid, int flags, const struct itimerspec *restrict new_value, struct itimerspec *_Nullable restrict old_value);
8541057// asmlinkage long sys_timer_settime(timer_t timer_id, int flags, const struct __kernel_itimerspec __user *new_setting, struct __kernel_itimerspec __user *old_setting);
1058pub const timer_settime = @compileError("TODO: timer_settime");
8551059
8561060// timer_gettime
8571061// int timer_gettime(timer_t timerid, struct itimerspec *curr_value);
8581062// asmlinkage long sys_timer_gettime(timer_t timer_id, struct __kernel_itimerspec __user *setting);
1063pub const timer_gettime = @compileError("TODO: timer_gettime");
8591064
8601065// timer_getoverrun
8611066// int timer_getoverrun(timer_t timerid);
8621067// asmlinkage long sys_timer_getoverrun(timer_t timer_id);
1068pub const timer_getoverrun = @compileError("TODO: timer_getoverrun");
8631069
8641070// timer_delete
8651071// int timer_delete(timer_t timerid);
8661072// asmlinkage long sys_timer_delete(timer_t timer_id);
1073pub const timer_delete = @compileError("TODO: timer_delete");
8671074
8681075// clock_settime
8691076// int clock_settime(clockid_t clockid, const struct timespec *tp);
8701077// asmlinkage long sys_clock_settime(clockid_t which_clock, const struct __kernel_timespec __user *tp);
1078pub const clock_settime = @compileError("TODO: clock_settime");
8711079
8721080// clock_gettime
8731081// int clock_gettime(clockid_t clockid, struct timespec *tp);
8741082// asmlinkage long sys_clock_gettime(clockid_t which_clock, struct __kernel_timespec __user *tp);
1083pub const clock_gettime = @compileError("TODO: clock_gettime");
8751084
8761085// clock_getres
8771086// int clock_getres(clockid_t clockid, struct timespec *_Nullable res);
8781087// asmlinkage long sys_clock_getres(clockid_t which_clock, struct __kernel_timespec __user *tp);
1088pub const clock_getres = @compileError("TODO: clock_getres");
8791089
8801090// clock_nanosleep
8811091// int clock_nanosleep(clockid_t clockid, int flags, const struct timespec *t, struct timespec *_Nullable remain);
8821092// asmlinkage long sys_clock_nanosleep(clockid_t which_clock, int flags, const struct __kernel_timespec __user *rqtp, struct __kernel_timespec __user *rmtp);
1093pub const clock_nanosleep = @compileError("TODO: clock_nanosleep");
8831094
8841095// exit_group
8851096// [[noreturn]] void syscall(SYS_exit_group, int status);
8861097// asmlinkage long sys_exit_group(int error_code);
1098pub const exit_group = @compileError("TODO: exit_group");
8871099
8881100// epoll_wait
8891101// int epoll_wait(int epfd, struct epoll_event *events, int maxevents, int timeout);
8901102// asmlinkage long sys_epoll_wait(int epfd, struct epoll_event __user *events, int maxevents, int timeout);
1103pub const epoll_wait = @compileError("TODO: epoll_wait");
8911104
8921105// epoll_ctl
8931106// int epoll_ctl(int epfd, int op, int fd, struct epoll_event *_Nullable event);
8941107// asmlinkage long sys_epoll_ctl(int epfd, int op, int fd, struct epoll_event __user *event);
1108pub const epoll_ctl = @compileError("TODO: epoll_ctl");
8951109
8961110// tgkill
8971111// int tgkill(pid_t tgid, pid_t tid, int sig);
8981112// asmlinkage long sys_tgkill(pid_t tgid, pid_t pid, int sig);
1113pub const tgkill = @compileError("TODO: tgkill");
8991114
9001115// utimes
9011116// int utimes(const char *filename, const struct timeval times[_Nullable 2]);
9021117// asmlinkage long sys_utimes(char __user *filename, struct __kernel_old_timeval __user *utimes);
1118pub const utimes = @compileError("TODO: utimes");
9031119
9041120// mbind
9051121// long mbind(void addr[.len], unsigned long len, int mode, const unsigned long nodemask[(.maxnode + ULONG_WIDTH - 1) / ULONG_WIDTH], unsigned long maxnode, unsigned int flags);
9061122// asmlinkage long sys_mbind(unsigned long start, unsigned long len, unsigned long mode, const unsigned long __user *nmask, unsigned long maxnode, unsigned flags);
1123pub const mbind = @compileError("TODO: mbind");
9071124
9081125// set_mempolicy
9091126// long set_mempolicy(int mode, const unsigned long *nodemask, unsigned long maxnode);
9101127// asmlinkage long sys_set_mempolicy(int mode, const unsigned long __user *nmask, unsigned long maxnode);
1128pub const set_mempolicy = @compileError("TODO: set_mempolicy");
9111129
9121130// get_mempolicy
9131131// long get_mempolicy(int *mode, unsigned long nodemask[(.maxnode + ULONG_WIDTH - 1) / ULONG_WIDTH], unsigned long maxnode, void *addr, unsigned long flags);
9141132// asmlinkage long sys_get_mempolicy(int __user *policy, unsigned long __user *nmask, unsigned long maxnode, unsigned long addr, unsigned long flags);
1133pub const get_mempolicy = @compileError("TODO: get_mempolicy");
9151134
9161135// mq_open
9171136// mqd_t mq_open(const char *name, int oflag, mode_t mode, struct mq_attr *attr);
9181137// asmlinkage long sys_mq_open(const char __user *name, int oflag, umode_t mode, struct mq_attr __user *attr);
1138pub const mq_open = @compileError("TODO: mq_open");
9191139
9201140// mq_unlink
9211141// int mq_unlink(const char *name);
9221142// asmlinkage long sys_mq_unlink(const char __user *name);
1143pub const mq_unlink = @compileError("TODO: mq_unlink");
9231144
9241145// mq_timedsend
9251146// int mq_timedsend(mqd_t mqdes, const char msg_ptr[.msg_len], size_t msg_len, unsigned int msg_prio, const struct timespec *abs_timeout);
9261147// asmlinkage long sys_mq_timedsend(mqd_t mqdes, const char __user *msg_ptr, size_t msg_len, unsigned int msg_prio, const struct __kernel_timespec __user *abs_timeout);
1148pub const mq_timedsend = @compileError("TODO: mq_timedsend");
9271149
9281150// mq_timedreceive
9291151// ssize_t mq_timedreceive(mqd_t mqdes, char *restrict msg_ptr[.msg_len], size_t msg_len, unsigned int *restrict msg_prio, const struct timespec *restrict abs_timeout);
9301152// asmlinkage long sys_mq_timedreceive(mqd_t mqdes, char __user *msg_ptr, size_t msg_len, unsigned int __user *msg_prio, const struct __kernel_timespec __user *abs_timeout);
1153pub const mq_timedreceive = @compileError("TODO: mq_timedreceive");
9311154
9321155// mq_notify
9331156// int mq_notify(mqd_t mqdes, const struct sigevent *sevp);
9341157// asmlinkage long sys_mq_notify(mqd_t mqdes, const struct sigevent __user *notification);
1158pub const mq_notify = @compileError("TODO: mq_notify");
9351159
9361160// mq_getsetattr
9371161// int syscall(SYS_mq_getsetattr, mqd_t mqdes, const struct mq_attr *newattr, struct mq_attr *oldattr);
9381162// asmlinkage long sys_mq_getsetattr(mqd_t mqdes, const struct mq_attr __user *mqstat, struct mq_attr __user *omqstat);
1163pub const mq_getsetattr = @compileError("TODO: mq_getsetattr");
9391164
9401165// kexec_load
9411166// long syscall(SYS_kexec_load, unsigned long entry, unsigned long nr_segments, struct kexec_segment *segments, unsigned long flags);
9421167// asmlinkage long sys_kexec_load(unsigned long entry, unsigned long nr_segments, struct kexec_segment __user *segments, unsigned long flags);
1168pub const kexec_load = @compileError("TODO: kexec_load");
9431169
9441170// waitid
9451171// int waitid(idtype_t idtype, id_t id, siginfo_t *infop, int options);
9461172// asmlinkage long sys_waitid(int which, pid_t pid, struct siginfo __user *infop, int options, struct rusage __user *ru);
1173pub const waitid = @compileError("TODO: waitid");
9471174
9481175// add_key
9491176// key_serial_t add_key(const char *type, const char *description, const void payload[.plen], size_t plen, key_serial_t keyring);
9501177// asmlinkage long sys_add_key(const char __user *_type, const char __user *_description, const void __user *_payload, size_t plen, key_serial_t destringid);
1178pub const add_key = @compileError("TODO: add_key");
9511179
9521180// request_key
9531181// key_serial_t request_key(const char *type, const char *description, const char *_Nullable callout_info, key_serial_t dest_keyring);
9541182// asmlinkage long sys_request_key(const char __user *_type, const char __user *_description, const char __user *_callout_info, key_serial_t destringid);
1183pub const request_key = @compileError("TODO: request_key");
9551184
9561185// keyctl
9571186// long syscall(SYS_keyctl, int operation, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5);
9581187// asmlinkage long sys_keyctl(int cmd, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5);
1188pub const keyctl = @compileError("TODO: keyctl");
9591189
9601190// ioprio_set
9611191// int syscall(SYS_ioprio_set, int which, int who, int ioprio);
9621192// asmlinkage long sys_ioprio_set(int which, int who, int ioprio);
1193pub const ioprio_set = @compileError("TODO: ioprio_set");
9631194
9641195// ioprio_get
9651196// int syscall(SYS_ioprio_set, int which, int who, int ioprio);
9661197// asmlinkage long sys_ioprio_get(int which, int who);
1198pub const ioprio_get = @compileError("TODO: ioprio_get");
9671199
9681200// inotify_init
9691201// int inotify_init(void);
9701202// asmlinkage long sys_inotify_init(void);
1203pub const inotify_init = @compileError("TODO: inotify_init");
9711204
9721205// inotify_add_watch
9731206// int inotify_add_watch(int fd, const char *pathname, uint32_t mask);
9741207// asmlinkage long sys_inotify_add_watch(int fd, const char __user *path, u32 mask);
1208pub const inotify_add_watch = @compileError("TODO: inotify_add_watch");
9751209
9761210// inotify_rm_watch
9771211// int inotify_rm_watch(int fd, int wd);
9781212// asmlinkage long sys_inotify_rm_watch(int fd, __s32 wd);
1213pub const inotify_rm_watch = @compileError("TODO: inotify_rm_watch");
9791214
9801215// migrate_pages
9811216// long migrate_pages(int pid, unsigned long maxnode, const unsigned long *old_nodes, const unsigned long *new_nodes);
9821217// asmlinkage long sys_migrate_pages(pid_t pid, unsigned long maxnode, const unsigned long __user *from, const unsigned long __user *to);
1218pub const migrate_pages = @compileError("TODO: migrate_pages");
9831219
9841220// openat
9851221// int openat(int dirfd, const char *pathname, int flags, ... /* mode_t mode */ );
9861222// asmlinkage long sys_openat(int dfd, const char __user *filename, int flags, umode_t mode);
1223pub const openat = @compileError("TODO: openat");
9871224
9881225// mkdirat
9891226// int mkdirat(int dirfd, const char *pathname, mode_t mode);
9901227// asmlinkage long sys_mkdirat(int dfd, const char __user * pathname, umode_t mode);
1228pub const mkdirat = @compileError("TODO: mkdirat");
9911229
9921230// mknodat
9931231// int mknodat(int dirfd, const char *pathname, mode_t mode, dev_t dev);
9941232// asmlinkage long sys_mknodat(int dfd, const char __user * filename, umode_t mode, unsigned dev);
1233pub const mknodat = @compileError("TODO: mknodat");
9951234
9961235// fchownat
9971236// int fchownat(int dirfd, const char *pathname, uid_t owner, gid_t group, int flags);
9981237// asmlinkage long sys_fchownat(int dfd, const char __user *filename, uid_t user, gid_t group, int flag);
1238pub const fchownat = @compileError("TODO: fchownat");
9991239
10001240// futimesat
10011241// [[deprecated]] int futimesat(int dirfd, const char *pathname, const struct timeval times[2]);
10021242// asmlinkage long sys_futimesat(int dfd, const char __user *filename, struct __kernel_old_timeval __user *utimes);
1243pub const futimesat = @compileError("TODO: futimesat");
10031244
10041245// fstatat64
10051246// int fstatat(int dirfd, const char *restrict pathname, struct stat *restrict statbuf, int flags);
10061247// asmlinkage long sys_fstatat64(int dfd, const char __user *filename, struct stat64 __user *statbuf, int flag);
1248pub const fstatat64 = @compileError("TODO: fstatat64");
10071249
10081250// unlinkat
10091251// int unlinkat(int dirfd, const char *pathname, int flags);
10101252// asmlinkage long sys_unlinkat(int dfd, const char __user * pathname, int flag);
1253pub const unlinkat = @compileError("TODO: unlinkat");
10111254
10121255// renameat
10131256// int renameat(int olddirfd, const char *oldpath, int newdirfd, const char *newpath);
10141257// asmlinkage long sys_renameat(int olddfd, const char __user * oldname, int newdfd, const char __user * newname);
1258pub const renameat = @compileError("TODO: renameat");
10151259
10161260// linkat
10171261// int linkat(int olddirfd, const char *oldpath, int newdirfd, const char *newpath, int flags);
10181262// asmlinkage long sys_linkat(int olddfd, const char __user *oldname, int newdfd, const char __user *newname, int flags);
1263pub const linkat = @compileError("TODO: linkat");
10191264
10201265// symlinkat
10211266// int symlinkat(const char *target, int newdirfd, const char *linkpath);
10221267// asmlinkage long sys_symlinkat(const char __user * oldname, int newdfd, const char __user * newname);
1268pub const symlinkat = @compileError("TODO: symlinkat");
10231269
10241270// readlinkat
10251271// ssize_t readlinkat(int dirfd, const char *restrict pathname, char *restrict buf, size_t bufsiz);
10261272// asmlinkage long sys_readlinkat(int dfd, const char __user *path, char __user *buf, int bufsiz);
1273pub const readlinkat = @compileError("TODO: readlinkat");
10271274
10281275// fchmodat
10291276// int fchmodat(int dirfd, const char *pathname, mode_t mode, int flags);
10301277// asmlinkage long sys_fchmodat(int dfd, const char __user *filename, umode_t mode);
1278pub const fchmodat = @compileError("TODO: fchmodat");
10311279
10321280// faccessat
10331281// int faccessat(int dirfd, const char *pathname, int mode, int flags);
10341282// asmlinkage long sys_faccessat(int dfd, const char __user *filename, int mode);
1283pub const faccessat = @compileError("TODO: faccessat");
10351284
10361285// pselect6
10371286// int pselect(int nfds, fd_set *_Nullable restrict readfds, fd_set *_Nullable restrict writefds, fd_set *_Nullable restrict exceptfds, const struct timespec *_Nullable restrict timeout, const sigset_t *_Nullable restrict sigmask);
10381287// asmlinkage long sys_pselect6(int, fd_set __user *, fd_set __user *, fd_set __user *, struct __kernel_timespec __user *, void __user *);
1288pub const pselect6 = @compileError("TODO: pselect6");
10391289
10401290// ppoll
10411291// int ppoll(struct pollfd *fds, nfds_t nfds, const struct timespec *_Nullable tmo_p, const sigset_t *_Nullable sigmask);
10421292// asmlinkage long sys_ppoll(struct pollfd __user *, unsigned int, struct __kernel_timespec __user *, const sigset_t __user *, size_t);
1293pub const ppoll = @compileError("TODO: ppoll");
10431294
10441295// unshare
10451296// int unshare(int flags);
10461297// asmlinkage long sys_unshare(unsigned long unshare_flags);
1298pub const unshare = @compileError("TODO: unshare");
10471299
10481300// set_robust_list
10491301// long syscall(SYS_set_robust_list, struct robust_list_head *head, size_t len);
10501302// asmlinkage long sys_set_robust_list(struct robust_list_head __user *head, size_t len);
1303pub const set_robust_list = @compileError("TODO: set_robust_list");
10511304
10521305// get_robust_list
10531306// long syscall(SYS_get_robust_list, int pid, struct robust_list_head **head_ptr, size_t *len_ptr);
10541307// asmlinkage long sys_get_robust_list(int pid, struct robust_list_head __user * __user *head_ptr, size_t __user *len_ptr);
1308pub const get_robust_list = @compileError("TODO: get_robust_list");
10551309
10561310// splice
10571311// ssize_t splice(int fd_in, off_t *_Nullable off_in, int fd_out, off_t *_Nullable off_out, size_t len, unsigned int flags);
10581312// asmlinkage long sys_splice(int fd_in, loff_t __user *off_in, int fd_out, loff_t __user *off_out, size_t len, unsigned int flags);
1313pub const splice = @compileError("TODO: splice");
10591314
10601315// tee
10611316// ssize_t tee(int fd_in, int fd_out, size_t len, unsigned int flags);
10621317// asmlinkage long sys_tee(int fdin, int fdout, size_t len, unsigned int flags);
1318pub const tee = @compileError("TODO: tee");
10631319
10641320// sync_file_range
10651321// int sync_file_range(int fd, off_t offset, off_t nbytes, unsigned int flags);
10661322// asmlinkage long sys_sync_file_range(int fd, loff_t offset, loff_t nbytes, unsigned int flags);
1323pub const sync_file_range = @compileError("TODO: sync_file_range");
10671324
10681325// vmsplice
10691326// ssize_t vmsplice(int fd, const struct iovec *iov, size_t nr_segs, unsigned int flags);
10701327// asmlinkage long sys_vmsplice(int fd, const struct iovec __user *iov, unsigned long nr_segs, unsigned int flags);
1328pub const vmsplice = @compileError("TODO: vmsplice");
10711329
10721330// move_pages
10731331// long move_pages(int pid, unsigned long count, void *pages[.count], const int nodes[.count], int status[.count], int flags);
10741332// asmlinkage long sys_move_pages(pid_t pid, unsigned long nr_pages, const void __user * __user *pages, const int __user *nodes, int __user *status, int flags);
1333pub const move_pages = @compileError("TODO: move_pages");
10751334
10761335// utimensat
10771336// int utimensat(int dirfd, const char *pathname, const struct timespec times[_Nullable 2], int flags);
10781337// asmlinkage long sys_utimensat(int dfd, const char __user *filename, struct __kernel_timespec __user *utimes, int flags);
1338pub const utimensat = @compileError("TODO: utimensat");
10791339
10801340// epoll_pwait
10811341// int epoll_pwait(int epfd, struct epoll_event *events, int maxevents, int timeout, const sigset_t *_Nullable sigmask);
10821342// asmlinkage long sys_epoll_pwait(int epfd, struct epoll_event __user *events, int maxevents, int timeout, const sigset_t __user *sigmask, size_t sigsetsize);
1343pub const epoll_pwait = @compileError("TODO: epoll_pwait");
10831344
10841345// signalfd
10851346// int signalfd(int fd, const sigset_t *mask, int flags);
10861347// asmlinkage long sys_signalfd(int ufd, sigset_t __user *user_mask, size_t sizemask);
1348pub const signalfd = @compileError("TODO: signalfd");
10871349
10881350// timerfd_create
10891351// int timerfd_create(int clockid, int flags);
10901352// asmlinkage long sys_timerfd_create(int clockid, int flags);
1353pub const timerfd_create = @compileError("TODO: timerfd_create");
10911354
10921355// eventfd
10931356// int eventfd(unsigned int initval, int flags);
10941357// asmlinkage long sys_eventfd(unsigned int count);
1358pub const eventfd = @compileError("TODO: eventfd");
10951359
10961360// fallocate
10971361// int fallocate(int fd, int mode, off_t offset, off_t len);
10981362// asmlinkage long sys_fallocate(int fd, int mode, loff_t offset, loff_t len);
1363pub const fallocate = @compileError("TODO: fallocate");
10991364
11001365// timerfd_settime
11011366// int timerfd_settime(int fd, int flags, const struct itimerspec *new_value, struct itimerspec *_Nullable old_value);
11021367// asmlinkage long sys_timerfd_settime(int ufd, int flags, const struct __kernel_itimerspec __user *utmr, struct __kernel_itimerspec __user *otmr);
1368pub const timerfd_settime = @compileError("TODO: timerfd_settime");
11031369
11041370// timerfd_gettime
11051371// int timerfd_gettime(int fd, struct itimerspec *curr_value);
11061372// asmlinkage long sys_timerfd_gettime(int ufd, struct __kernel_itimerspec __user *otmr);
1373pub const timerfd_gettime = @compileError("TODO: timerfd_gettime");
11071374
11081375// accept4
11091376// int accept4(int sockfd, struct sockaddr *_Nullable restrict addr, socklen_t *_Nullable restrict addrlen, int flags);
11101377// asmlinkage long sys_accept4(int, struct sockaddr __user *, int __user *, int);
1378pub const accept4 = @compileError("TODO: accept4");
11111379
11121380// signalfd4
11131381// int signalfd(int fd, const sigset_t *mask, int flags);
11141382// asmlinkage long sys_signalfd4(int ufd, sigset_t __user *user_mask, size_t sizemask, int flags);
1383pub const signalfd4 = @compileError("TODO: signalfd4");
11151384
11161385// eventfd2
11171386// int eventfd(unsigned int initval, int flags);
11181387// asmlinkage long sys_eventfd2(unsigned int count, int flags);
1388pub const eventfd2 = @compileError("TODO: eventfd2");
11191389
11201390// epoll_create1
11211391// int epoll_create1(int flags);
11221392// asmlinkage long sys_epoll_create1(int flags);
1393pub const epoll_create1 = @compileError("TODO: epoll_create1");
11231394
11241395// dup3
11251396// int dup3(int oldfd, int newfd, int flags);
11261397// asmlinkage long sys_dup3(unsigned int oldfd, unsigned int newfd, int flags);
1398pub const dup3 = @compileError("TODO: dup3");
11271399
11281400// pipe2
11291401// int pipe2(int pipefd[2], int flags);
11301402// asmlinkage long sys_pipe2(int __user *fildes, int flags);
1403pub const pipe2 = @compileError("TODO: pipe2");
11311404
11321405// inotify_init1
11331406// int inotify_init1(int flags);
11341407// asmlinkage long sys_inotify_init1(int flags);
1408pub const inotify_init1 = @compileError("TODO: inotify_init1");
11351409
11361410// preadv
11371411// ssize_t preadv(int fd, const struct iovec *iov, int iovcnt, off_t offset);
11381412// asmlinkage long sys_preadv(unsigned long fd, const struct iovec __user *vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h);
1413pub const preadv = @compileError("TODO: preadv");
11391414
11401415// pwritev
11411416// ssize_t pwritev(int fd, const struct iovec *iov, int iovcnt, off_t offset);
11421417// asmlinkage long sys_pwritev(unsigned long fd, const struct iovec __user *vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h);
1418pub const pwritev = @compileError("TODO: pwritev");
11431419
11441420// rt_tgsigqueueinfo
11451421// int syscall(SYS_rt_tgsigqueueinfo, pid_t tgid, pid_t tid, int sig, siginfo_t *info);
11461422// asmlinkage long sys_rt_tgsigqueueinfo(pid_t tgid, pid_t pid, int sig, siginfo_t __user *uinfo);
1423pub const rt_tgsigqueueinfo = @compileError("TODO: rt_tgsigqueueinfo");
11471424
11481425// perf_event_open
11491426// int syscall(SYS_perf_event_open, struct perf_event_attr *attr, pid_t pid, int cpu, int group_fd, unsigned long flags);
11501427// asmlinkage long sys_perf_event_open( struct perf_event_attr __user *attr_uptr, pid_t pid, int cpu, int group_fd, unsigned long flags);
1428pub const perf_event_open = @compileError("TODO: perf_event_open");
11511429
11521430// recvmmsg
11531431// int recvmmsg(int sockfd, struct mmsghdr *msgvec, unsigned int vlen, int flags, struct timespec *timeout);
11541432// asmlinkage long sys_recvmmsg(int fd, struct mmsghdr __user *msg, unsigned int vlen, unsigned flags, struct __kernel_timespec __user *timeout);
1433pub const recvmmsg = @compileError("TODO: recvmmsg");
11551434
11561435// fanotify_init
11571436// int fanotify_init(unsigned int flags, unsigned int event_f_flags);
11581437// asmlinkage long sys_fanotify_init(unsigned int flags, unsigned int event_f_flags);
1438pub const fanotify_init = @compileError("TODO: fanotify_init");
11591439
11601440// fanotify_mark
11611441// int fanotify_mark(int fanotify_fd, unsigned int flags, uint64_t mask, int dirfd, const char *_Nullable pathname);
11621442// asmlinkage long sys_fanotify_mark(int fanotify_fd, unsigned int flags, u64 mask, int fd, const char __user *pathname);
1443pub const fanotify_mark = @compileError("TODO: fanotify_mark");
11631444
11641445// prlimit64
11651446// int prlimit(pid_t pid, int resource, const struct rlimit *_Nullable new_limit, struct rlimit *_Nullable old_limit);
11661447// asmlinkage long sys_prlimit64(pid_t pid, unsigned int resource, const struct rlimit64 __user *new_rlim, struct rlimit64 __user *old_rlim);
1448pub const prlimit64 = @compileError("TODO: prlimit64");
11671449
11681450// name_to_handle_at
11691451// int name_to_handle_at(int dirfd, const char *pathname, struct file_handle *handle, int *mount_id, int flags);
11701452// asmlinkage long sys_name_to_handle_at(int dfd, const char __user *name, struct file_handle __user *handle, void __user *mnt_id, int flag);
1453pub const name_to_handle_at = @compileError("TODO: name_to_handle_at");
11711454
11721455// open_by_handle_at
11731456// int open_by_handle_at(int mount_fd, struct file_handle *handle, int flags);
11741457// asmlinkage long sys_open_by_handle_at(int mountdirfd, struct file_handle __user *handle, int flags);
1458pub const open_by_handle_at = @compileError("TODO: open_by_handle_at");
11751459
11761460// clock_adjtime
11771461// int clock_adjtime(clockid_t clk_id, struct timex *buf);
11781462// asmlinkage long sys_clock_adjtime(clockid_t which_clock, struct __kernel_timex __user *tx);
1463pub const clock_adjtime = @compileError("TODO: clock_adjtime");
11791464
11801465// syncfs
11811466// int syncfs(int fd);
11821467// asmlinkage long sys_syncfs(int fd);
1468pub const syncfs = @compileError("TODO: syncfs");
11831469
11841470// sendmmsg
11851471// int sendmmsg(int sockfd, struct mmsghdr *msgvec, unsigned int vlen, int flags);
11861472// asmlinkage long sys_sendmmsg(int fd, struct mmsghdr __user *msg, unsigned int vlen, unsigned flags);
1473pub const sendmmsg = @compileError("TODO: sendmmsg");
11871474
11881475// setns
11891476// int setns(int fd, int nstype);
11901477// asmlinkage long sys_setns(int fd, int nstype);
1478pub const setns = @compileError("TODO: setns");
11911479
11921480// getcpu
11931481// int getcpu(unsigned int *_Nullable cpu, unsigned int *_Nullable node);
11941482// asmlinkage long sys_getcpu(unsigned __user *cpu, unsigned __user *node, struct getcpu_cache __user *cache);
1483pub const getcpu = @compileError("TODO: getcpu");
11951484
11961485// process_vm_readv
11971486// ssize_t process_vm_readv(pid_t pid, const struct iovec *local_iov, unsigned long liovcnt, const struct iovec *remote_iov, unsigned long riovcnt, unsigned long flags);
11981487// asmlinkage long sys_process_vm_readv(pid_t pid, const struct iovec __user *lvec, unsigned long liovcnt, const struct iovec __user *rvec, unsigned long riovcnt, unsigned long flags);
1488pub const process_vm_readv = @compileError("TODO: process_vm_readv");
11991489
12001490// process_vm_writev
12011491// ssize_t process_vm_writev(pid_t pid, const struct iovec *local_iov, unsigned long liovcnt, const struct iovec *remote_iov, unsigned long riovcnt, unsigned long flags);
12021492// asmlinkage long sys_process_vm_writev(pid_t pid, const struct iovec __user *lvec, unsigned long liovcnt, const struct iovec __user *rvec, unsigned long riovcnt, unsigned long flags);
1493pub const process_vm_writev = @compileError("TODO: process_vm_writev");
12031494
12041495// kcmp
12051496// int syscall(SYS_kcmp, pid_t pid1, pid_t pid2, int type, unsigned long idx1, unsigned long idx2);
12061497// asmlinkage long sys_kcmp(pid_t pid1, pid_t pid2, int type, unsigned long idx1, unsigned long idx2);
1498pub const kcmp = @compileError("TODO: kcmp");
12071499
12081500// finit_module
12091501// int syscall(SYS_finit_module, int fd, const char *param_values, int flags);
12101502// asmlinkage long sys_finit_module(int fd, const char __user *uargs, int flags);
1503pub const finit_module = @compileError("TODO: finit_module");
12111504
12121505// sched_setattr
12131506// int syscall(SYS_sched_setattr, pid_t pid, struct sched_attr *attr, unsigned int flags);
12141507// asmlinkage long sys_sched_setattr(pid_t pid, struct sched_attr __user *attr, unsigned int flags);
1508pub const sched_setattr = @compileError("TODO: sched_setattr");
12151509
12161510// sched_getattr
12171511// int syscall(SYS_sched_getattr, pid_t pid, struct sched_attr *attr, unsigned int size, unsigned int flags);
12181512// asmlinkage long sys_sched_getattr(pid_t pid, struct sched_attr __user *attr, unsigned int size, unsigned int flags);
1513pub const sched_getattr = @compileError("TODO: sched_getattr");
12191514
12201515// renameat2
12211516// int renameat2(int olddirfd, const char *oldpath, int newdirfd, const char *newpath, unsigned int flags);
12221517// asmlinkage long sys_renameat2(int olddfd, const char __user *oldname, int newdfd, const char __user *newname, unsigned int flags);
1518pub const renameat2 = @compileError("TODO: renameat2");
12231519
12241520// seccomp
12251521// int syscall(SYS_seccomp, unsigned int operation, unsigned int flags, void *args);
12261522// asmlinkage long sys_seccomp(unsigned int op, unsigned int flags, void __user *uargs);
1523pub const seccomp = @compileError("TODO: seccomp");
12271524
12281525// getrandom
12291526// ssize_t getrandom(void buf[.buflen], size_t buflen, unsigned int flags);
12301527// asmlinkage long sys_getrandom(char __user *buf, size_t count, unsigned int flags);
1528pub const getrandom = @compileError("TODO: getrandom");
12311529
12321530// memfd_create
12331531// int memfd_create(const char *name, unsigned int flags);
12341532// asmlinkage long sys_memfd_create(const char __user *uname_ptr, unsigned int flags);
1533pub const memfd_create = @compileError("TODO: memfd_create");
12351534
12361535// kexec_file_load
12371536// long syscall(SYS_kexec_file_load, int kernel_fd, int initrd_fd, unsigned long cmdline_len, const char *cmdline, unsigned long flags);
12381537// asmlinkage long sys_kexec_file_load(int kernel_fd, int initrd_fd, unsigned long cmdline_len, const char __user *cmdline_ptr, unsigned long flags);
1538pub const kexec_file_load = @compileError("TODO: kexec_file_load");
12391539
12401540// bpf
12411541// int bpf(int cmd, union bpf_attr *attr, unsigned int size);
12421542// asmlinkage long sys_bpf(int cmd, union bpf_attr __user *attr, unsigned int size);
1543pub const bpf = @compileError("TODO: bpf");
12431544
12441545// execveat
12451546// int execveat(int dirfd, const char *pathname, char *const _Nullable argv[], char *const _Nullable envp[], int flags);
12461547// asmlinkage long sys_execveat(int dfd, const char __user *filename, const char __user *const __user *argv, const char __user *const __user *envp, int flags);
1548pub const execveat = @compileError("TODO: execveat");
12471549
12481550// userfaultfd
12491551// int syscall(SYS_userfaultfd, int flags);
12501552// asmlinkage long sys_userfaultfd(int flags);
1553pub const userfaultfd = @compileError("TODO: userfaultfd");
12511554
12521555// membarrier
12531556// int syscall(SYS_membarrier, int cmd, unsigned int flags, int cpu_id);
12541557// asmlinkage long sys_membarrier(int cmd, unsigned int flags, int cpu_id);
1558pub const membarrier = @compileError("TODO: membarrier");
12551559
12561560// mlock2
12571561// int mlock2(const void addr[.len], size_t len, unsigned int flags);
12581562// asmlinkage long sys_mlock2(unsigned long start, size_t len, int flags);
1563pub const mlock2 = @compileError("TODO: mlock2");
12591564
12601565// copy_file_range
12611566// ssize_t copy_file_range(int fd_in, off_t *_Nullable off_in, int fd_out, off_t *_Nullable off_out, size_t len, unsigned int flags);
12621567// asmlinkage long sys_copy_file_range(int fd_in, loff_t __user *off_in, int fd_out, loff_t __user *off_out, size_t len, unsigned int flags);
1568pub const copy_file_range = @compileError("TODO: copy_file_range");
12631569
12641570// preadv2
12651571// ssize_t preadv2(int fd, const struct iovec *iov, int iovcnt, off_t offset, int flags);
12661572// asmlinkage long sys_preadv2(unsigned long fd, const struct iovec __user *vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h, rwf_t flags);
1573pub const preadv2 = @compileError("TODO: preadv2");
12671574
12681575// pwritev2
12691576// ssize_t pwritev2(int fd, const struct iovec *iov, int iovcnt, off_t offset, int flags);
12701577// asmlinkage long sys_pwritev2(unsigned long fd, const struct iovec __user *vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h, rwf_t flags);
1578pub const pwritev2 = @compileError("TODO: pwritev2");
12711579
12721580// pkey_mprotect
12731581// int pkey_mprotect(void addr[.len], size_t len, int prot, int pkey);
12741582// asmlinkage long sys_pkey_mprotect(unsigned long start, size_t len, unsigned long prot, int pkey);
1583pub const pkey_mprotect = @compileError("TODO: pkey_mprotect");
12751584
12761585// pkey_alloc
12771586// int pkey_alloc(unsigned int flags, unsigned int access_rights);
12781587// asmlinkage long sys_pkey_alloc(unsigned long flags, unsigned long init_val);
1588pub const pkey_alloc = @compileError("TODO: pkey_alloc");
12791589
12801590// pkey_free
12811591// int pkey_free(int pkey);
12821592// asmlinkage long sys_pkey_free(int pkey);
1593pub const pkey_free = @compileError("TODO: pkey_free");
12831594
12841595// statx
12851596// int statx(int dirfd, const char *restrict pathname, int flags, unsigned int mask, struct statx *restrict statxbuf);
12861597// asmlinkage long sys_statx(int dfd, const char __user *path, unsigned flags, unsigned mask, struct statx __user *buffer);
1598pub const statx = @compileError("TODO: statx");
12871599
12881600// io_pgetevents
12891601//
12901602// asmlinkage long sys_io_pgetevents(aio_context_t ctx_id, long min_nr, long nr, struct io_event __user *events, struct __kernel_timespec __user *timeout, const struct __aio_sigset __user *sig);
1603pub const io_pgetevents = @compileError("TODO: io_pgetevents");
12911604
12921605// rseq
12931606//
12941607// asmlinkage long sys_rseq(struct rseq __user *rseq, uint32_t rseq_len, int flags, uint32_t sig);
1608pub const rseq = @compileError("TODO: rseq");
12951609
12961610// pidfd_send_signal
12971611// int syscall(SYS_pidfd_send_signal, int pidfd, int sig, siginfo_t *_Nullable info, unsigned int flags);
......@@ -1299,127 +1613,159 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize {
12991613// io_uring_setup
13001614// int io_uring_setup(u32 entries, struct io_uring_params *p);
13011615// asmlinkage long sys_io_uring_setup(u32 entries, struct io_uring_params __user *p);
1616pub const io_uring_setup = @compileError("TODO: io_uring_setup");
13021617
13031618// io_uring_enter
13041619// int io_uring_enter(unsigned int fd, unsigned int to_submit, unsigned int min_complete, unsigned int flags, sigset_t *sig);
13051620// asmlinkage long sys_io_uring_enter(unsigned int fd, u32 to_submit, u32 min_complete, u32 flags, const void __user *argp, size_t argsz);
1621pub const io_uring_enter = @compileError("TODO: io_uring_enter");
13061622
13071623// io_uring_register
13081624// int io_uring_register(unsigned int fd, unsigned int opcode, void *arg, unsigned int nr_args);
13091625// asmlinkage long sys_io_uring_register(unsigned int fd, unsigned int op, void __user *arg, unsigned int nr_args);
1626pub const io_uring_register = @compileError("TODO: io_uring_register");
13101627
13111628// open_tree
13121629//
13131630// asmlinkage long sys_open_tree(int dfd, const char __user *path, unsigned flags);
1631pub const open_tree = @compileError("TODO: open_tree");
13141632
13151633// move_mount
13161634//
13171635// asmlinkage long sys_move_mount(int from_dfd, const char __user *from_path, int to_dfd, const char __user *to_path, unsigned int ms_flags);
1636pub const move_mount = @compileError("TODO: move_mount");
13181637
13191638// fsopen
13201639//
13211640// asmlinkage long sys_fsopen(const char __user *fs_name, unsigned int flags);
1641pub const fsopen = @compileError("TODO: fsopen");
13221642
13231643// fsconfig
13241644//
13251645// asmlinkage long sys_fsconfig(int fs_fd, unsigned int cmd, const char __user *key, const void __user *value, int aux);
1646pub const fsconfig = @compileError("TODO: fsconfig");
13261647
13271648// fsmount
13281649//
13291650// asmlinkage long sys_fsmount(int fs_fd, unsigned int flags, unsigned int ms_flags);
1651pub const fsmount = @compileError("TODO: fsmount");
13301652
13311653// fspick
13321654//
13331655// asmlinkage long sys_fspick(int dfd, const char __user *path, unsigned int flags);
1656pub const fspick = @compileError("TODO: fspick");
13341657
13351658// pidfd_open
13361659// int syscall(SYS_pidfd_open, pid_t pid, unsigned int flags);
13371660// asmlinkage long sys_pidfd_open(pid_t pid, unsigned int flags);
1661pub const pidfd_open = @compileError("TODO: pidfd_open");
13381662
13391663// clone3
13401664// long syscall(SYS_clone3, struct clone_args *cl_args, size_t size);
13411665// asmlinkage long sys_clone3(struct clone_args __user *uargs, size_t size);
1666pub const clone3 = @compileError("TODO: clone3");
13421667
13431668// close_range
13441669// int close_range(unsigned int first, unsigned int last, int flags);
13451670// asmlinkage long sys_close_range(unsigned int fd, unsigned int max_fd, unsigned int flags);
1671pub const close_range = @compileError("TODO: close_range");
13461672
13471673// openat2
13481674// int openat2(int dirfd, const char *pathname, const struct open_how *how, size_t size);
13491675// asmlinkage long sys_openat2(int dfd, const char __user *filename, struct open_how __user *how, size_t size);
1676pub const openat2 = @compileError("TODO: openat2");
13501677
13511678// pidfd_getfd
13521679// int syscall(SYS_pidfd_getfd, int pidfd, int targetfd, unsigned int flags);
13531680// asmlinkage long sys_pidfd_getfd(int pidfd, int fd, unsigned int flags);
1681pub const pidfd_getfd = @compileError("TODO: pidfd_getfd");
13541682
13551683// faccessat2
13561684// int syscall(SYS_faccessat2, int dirfd, const char *pathname, int mode, int flags);
13571685// asmlinkage long sys_faccessat2(int dfd, const char __user *filename, int mode, int flags);
1686pub const faccessat2 = @compileError("TODO: faccessat2");
13581687
13591688// process_madvise
13601689// ssize_t process_madvise(int pidfd, const struct iovec iovec[.n], size_t n, int advice, unsigned int flags);
13611690// asmlinkage long sys_process_madvise(int pidfd, const struct iovec __user *vec, size_t vlen, int behavior, unsigned int flags);
1691pub const process_madvise = @compileError("TODO: process_madvise");
13621692
13631693// epoll_pwait2
13641694// int epoll_pwait2(int epfd, struct epoll_event *events, int maxevents, const struct timespec *_Nullable timeout, const sigset_t *_Nullable sigmask);
13651695// asmlinkage long sys_epoll_pwait2(int epfd, struct epoll_event __user *events, int maxevents, const struct __kernel_timespec __user *timeout, const sigset_t __user *sigmask, size_t sigsetsize);
1696pub const epoll_pwait2 = @compileError("TODO: epoll_pwait2");
13661697
13671698// mount_setattr
13681699// int syscall(SYS_mount_setattr, int dirfd, const char *pathname, unsigned int flags, struct mount_attr *attr, size_t size);
13691700// asmlinkage long sys_mount_setattr(int dfd, const char __user *path, unsigned int flags, struct mount_attr __user *uattr, size_t usize);
1701pub const mount_setattr = @compileError("TODO: mount_setattr");
13701702
13711703// quotactl_fd
13721704// int quotactl(int op, const char *_Nullable special, int id, caddr_t addr);
13731705// asmlinkage long sys_quotactl_fd(unsigned int fd, unsigned int cmd, qid_t id, void __user *addr);
1706pub const quotactl_fd = @compileError("TODO: quotactl_fd");
13741707
13751708// landlock_create_ruleset
13761709// int syscall(SYS_landlock_create_ruleset, const struct landlock_ruleset_attr *attr, size_t size , uint32_t flags);
13771710// asmlinkage long sys_landlock_create_ruleset(const struct landlock_ruleset_attr __user *attr, size_t size, __u32 flags);
1711pub const landlock_create_ruleset = @compileError("TODO: landlock_create_ruleset");
13781712
13791713// landlock_add_rule
13801714// int syscall(SYS_landlock_add_rule, int ruleset_fd, enum landlock_rule_type rule_type, const void *rule_attr, uint32_t flags);
13811715// asmlinkage long sys_landlock_add_rule(int ruleset_fd, enum landlock_rule_type rule_type, const void __user *rule_attr, __u32 flags);
1716pub const landlock_add_rule = @compileError("TODO: landlock_add_rule");
13821717
13831718// landlock_restrict_self
13841719// int syscall(SYS_landlock_restrict_self, int ruleset_fd, uint32_t flags);
13851720// asmlinkage long sys_landlock_restrict_self(int ruleset_fd, __u32 flags);
1721pub const landlock_restrict_self = @compileError("TODO: landlock_restrict_self");
13861722
13871723// memfd_secret
13881724// int syscall(SYS_memfd_secret, unsigned int flags);
13891725// asmlinkage long sys_memfd_secret(unsigned int flags);
1726pub const memfd_secret = @compileError("TODO: memfd_secret");
13901727
13911728// process_mrelease
13921729//
13931730// asmlinkage long sys_process_mrelease(int pidfd, unsigned int flags);
1731pub const process_mrelease = @compileError("TODO: process_mrelease");
13941732
13951733// futex_waitv
13961734//
13971735// asmlinkage long sys_futex_waitv(struct futex_waitv __user *waiters, unsigned int nr_futexes, unsigned int flags, struct __kernel_timespec __user *timeout, clockid_t clockid);
1736pub const futex_waitv = @compileError("TODO: futex_waitv");
13981737
13991738// set_mempolicy_home_node
14001739//
14011740// asmlinkage long sys_set_mempolicy_home_node(unsigned long start, unsigned long len, unsigned long home_node, unsigned long flags);
1741pub const set_mempolicy_home_node = @compileError("TODO: set_mempolicy_home_node");
14021742
14031743// cachestat
14041744//
14051745// asmlinkage long sys_cachestat(unsigned int fd, struct cachestat_range __user *cstat_range, struct cachestat __user *cstat, unsigned int flags);
1746pub const cachestat = @compileError("TODO: cachestat");
14061747
14071748// fchmodat2
14081749//
14091750// asmlinkage long sys_fchmodat2(int dfd, const char __user *filename, umode_t mode, unsigned int flags);
1751pub const fchmodat2 = @compileError("TODO: fchmodat2");
14101752
14111753// map_shadow_stack
14121754//
14131755// asmlinkage long sys_map_shadow_stack(unsigned long addr, unsigned long size, unsigned int flags);
1756pub const map_shadow_stack = @compileError("TODO: map_shadow_stack");
14141757
14151758// futex_wake
14161759//
14171760// asmlinkage long sys_futex_wake(void __user *uaddr, unsigned long mask, int nr, unsigned int flags);
1761pub const futex_wake = @compileError("TODO: futex_wake");
14181762
14191763// futex_wait
14201764//
14211765// asmlinkage long sys_futex_wait(void __user *uaddr, unsigned long val, unsigned long mask, unsigned int flags, struct __kernel_timespec __user *timespec, clockid_t clockid);
1766pub const futex_wait = @compileError("TODO: futex_wait");
14221767
14231768// futex_requeue
14241769//
14251770// asmlinkage long sys_futex_requeue(struct futex_waitv __user *waiters, unsigned int flags, int nr_wake, int nr_requeue);
1771pub const futex_requeue = @compileError("TODO: futex_requeue");