authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2025-04-20 02:06:57 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2025-04-20 02:06:57 -07:00
logc8e058eeefe1993cca74dcbe3c23088ec1da3cdc
tree453c8098aa9eae3f5b7278f41ee5bd285849e2e9
parentb09b02de7c3ad552a62ea617081da376c84f500f

progress


1 files changed, 1 insertions(+), 28 deletions(-)

mod.zig+1-28
...@@ -645,9 +645,6 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize {...@@ -645,9 +645,6 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize {
645// int vhangup(void);645// int vhangup(void);
646// asmlinkage long sys_vhangup(void);646// asmlinkage long sys_vhangup(void);
647647
648// modify_ldt
649// int syscall(SYS_modify_ldt, int func, void ptr[.bytecount], unsigned long bytecount);
650
651// pivot_root648// pivot_root
652// int syscall(SYS_pivot_root, const char *new_root, const char *put_old);649// int syscall(SYS_pivot_root, const char *new_root, const char *put_old);
653// asmlinkage long sys_pivot_root(const char __user *new_root, const char __user *put_old);650// asmlinkage long sys_pivot_root(const char __user *new_root, const char __user *put_old);
...@@ -722,9 +719,6 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize {...@@ -722,9 +719,6 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize {
722// int ioperm(unsigned long from, unsigned long num, int turn_on);719// int ioperm(unsigned long from, unsigned long num, int turn_on);
723// asmlinkage long sys_ioperm(unsigned long from, unsigned long num, int on);720// asmlinkage long sys_ioperm(unsigned long from, unsigned long num, int on);
724721
725// create_module
726// [[deprecated]] caddr_t create_module(const char *name, size_t size);
727
728// init_module722// init_module
729// int syscall(SYS_init_module, void module_image[.len], unsigned long len, const char *param_values);723// int syscall(SYS_init_module, void module_image[.len], unsigned long len, const char *param_values);
730// asmlinkage long sys_init_module(void __user *umod, unsigned long len, const char __user *uargs);724// asmlinkage long sys_init_module(void __user *umod, unsigned long len, const char __user *uargs);
...@@ -733,19 +727,10 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize {...@@ -733,19 +727,10 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize {
733// int syscall(SYS_delete_module, const char *name, unsigned int flags);727// int syscall(SYS_delete_module, const char *name, unsigned int flags);
734// asmlinkage long sys_delete_module(const char __user *name_user, unsigned int flags);728// asmlinkage long sys_delete_module(const char __user *name_user, unsigned int flags);
735729
736// get_kernel_syms
737// [[deprecated]] int get_kernel_syms(struct kernel_sym *table);
738
739// query_module
740// [[deprecated]] int query_module(const char *name, int which, void buf[.bufsize], size_t bufsize, size_t *ret);
741
742// quotactl730// quotactl
743// int quotactl(int op, const char *_Nullable special, int id, caddr_t addr);731// int quotactl(int op, const char *_Nullable special, int id, caddr_t addr);
744// asmlinkage long sys_quotactl(unsigned int cmd, const char __user *special, qid_t id, void __user *addr);732// asmlinkage long sys_quotactl(unsigned int cmd, const char __user *special, qid_t id, void __user *addr);
745733
746// nfsservctl
747// long nfsservctl(int cmd, struct nfsctl_arg *argp, union nfsctl_res *resp);
748
749// gettid734// gettid
750// pid_t gettid(void);735// pid_t gettid(void);
751// asmlinkage long sys_gettid(void);736// asmlinkage long sys_gettid(void);
...@@ -822,8 +807,6 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize {...@@ -822,8 +807,6 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize {
822// int sched_getaffinity(pid_t pid, size_t cpusetsize, cpu_set_t *mask);807// int sched_getaffinity(pid_t pid, size_t cpusetsize, cpu_set_t *mask);
823// asmlinkage long sys_sched_getaffinity(pid_t pid, unsigned int len, unsigned long __user *user_mask_ptr);808// asmlinkage long sys_sched_getaffinity(pid_t pid, unsigned int len, unsigned long __user *user_mask_ptr);
824809
825// set_thread_area
826
827// io_setup810// io_setup
828// long io_setup(unsigned int nr_events, aio_context_t *ctx_idp);811// long io_setup(unsigned int nr_events, aio_context_t *ctx_idp);
829// asmlinkage long sys_io_setup(unsigned nr_reqs, aio_context_t __user *ctx);812// asmlinkage long sys_io_setup(unsigned nr_reqs, aio_context_t __user *ctx);
...@@ -844,21 +827,10 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize {...@@ -844,21 +827,10 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize {
844// int syscall(SYS_io_cancel, aio_context_t ctx_id, struct iocb *iocb, struct io_event *result);827// int syscall(SYS_io_cancel, aio_context_t ctx_id, struct iocb *iocb, struct io_event *result);
845// asmlinkage long sys_io_cancel(aio_context_t ctx_id, struct iocb __user *iocb, struct io_event __user *result);828// asmlinkage long sys_io_cancel(aio_context_t ctx_id, struct iocb __user *iocb, struct io_event __user *result);
846829
847// get_thread_area
848
849// lookup_dcookie
850// int syscall(SYS_lookup_dcookie, uint64_t cookie, char *buffer, size_t len);
851
852// epoll_create830// epoll_create
853// int epoll_create(int size);831// int epoll_create(int size);
854// asmlinkage long sys_epoll_create(int size);832// asmlinkage long sys_epoll_create(int size);
855833
856// epoll_ctl_old
857// int epoll_ctl(int epfd, int op, int fd, struct epoll_event *_Nullable event);
858
859// epoll_wait_old
860// int epoll_wait(int epfd, struct epoll_event *events, int maxevents, int timeout);
861
862// remap_file_pages834// remap_file_pages
863// [[deprecated]] int remap_file_pages(void addr[.size], size_t size, int prot, size_t pgoff, int flags);835// [[deprecated]] int remap_file_pages(void addr[.size], size_t size, int prot, size_t pgoff, int flags);
864// asmlinkage long sys_remap_file_pages(unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags);836// asmlinkage long sys_remap_file_pages(unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long flags);
...@@ -1193,6 +1165,7 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize {...@@ -1193,6 +1165,7 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize {
11931165
1194// fanotify_mark1166// fanotify_mark
1195// int fanotify_mark(int fanotify_fd, unsigned int flags, uint64_t mask, int dirfd, const char *_Nullable pathname);1167// int fanotify_mark(int fanotify_fd, unsigned int flags, uint64_t mask, int dirfd, const char *_Nullable pathname);
1168// asmlinkage long sys_fanotify_mark(int fanotify_fd, unsigned int flags, u64 mask, int fd, const char __user *pathname);
11961169
1197// prlimit641170// prlimit64
1198// int prlimit(pid_t pid, int resource, const struct rlimit *_Nullable new_limit, struct rlimit *_Nullable old_limit);1171// int prlimit(pid_t pid, int resource, const struct rlimit *_Nullable new_limit, struct rlimit *_Nullable old_limit);