| ... | ... | @@ -645,9 +645,6 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize { |
| 645 | 645 | // int vhangup(void); |
| 646 | 646 | // asmlinkage long sys_vhangup(void); |
| 647 | 647 | |
| 648 | | // modify_ldt |
| 649 | | // int syscall(SYS_modify_ldt, int func, void ptr[.bytecount], unsigned long bytecount); |
| 650 | | |
| 651 | 648 | // pivot_root |
| 652 | 649 | // int syscall(SYS_pivot_root, const char *new_root, const char *put_old); |
| 653 | 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 | 719 | // int ioperm(unsigned long from, unsigned long num, int turn_on); |
| 723 | 720 | // asmlinkage long sys_ioperm(unsigned long from, unsigned long num, int on); |
| 724 | 721 | |
| 725 | | // create_module |
| 726 | | // [[deprecated]] caddr_t create_module(const char *name, size_t size); |
| 727 | | |
| 728 | 722 | // init_module |
| 729 | 723 | // int syscall(SYS_init_module, void module_image[.len], unsigned long len, const char *param_values); |
| 730 | 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 | 727 | // int syscall(SYS_delete_module, const char *name, unsigned int flags); |
| 734 | 728 | // asmlinkage long sys_delete_module(const char __user *name_user, unsigned int flags); |
| 735 | 729 | |
| 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 | 730 | // quotactl |
| 743 | 731 | // int quotactl(int op, const char *_Nullable special, int id, caddr_t addr); |
| 744 | 732 | // asmlinkage long sys_quotactl(unsigned int cmd, const char __user *special, qid_t id, void __user *addr); |
| 745 | 733 | |
| 746 | | // nfsservctl |
| 747 | | // long nfsservctl(int cmd, struct nfsctl_arg *argp, union nfsctl_res *resp); |
| 748 | | |
| 749 | 734 | // gettid |
| 750 | 735 | // pid_t gettid(void); |
| 751 | 736 | // asmlinkage long sys_gettid(void); |
| ... | ... | @@ -822,8 +807,6 @@ pub fn write(fd: c_int, buf: []const u8) errno.Error!usize { |
| 822 | 807 | // int sched_getaffinity(pid_t pid, size_t cpusetsize, cpu_set_t *mask); |
| 823 | 808 | // asmlinkage long sys_sched_getaffinity(pid_t pid, unsigned int len, unsigned long __user *user_mask_ptr); |
| 824 | 809 | |
| 825 | | // set_thread_area |
| 826 | | |
| 827 | 810 | // io_setup |
| 828 | 811 | // long io_setup(unsigned int nr_events, aio_context_t *ctx_idp); |
| 829 | 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 | 827 | // int syscall(SYS_io_cancel, aio_context_t ctx_id, struct iocb *iocb, struct io_event *result); |
| 845 | 828 | // asmlinkage long sys_io_cancel(aio_context_t ctx_id, struct iocb __user *iocb, struct io_event __user *result); |
| 846 | 829 | |
| 847 | | // get_thread_area |
| 848 | | |
| 849 | | // lookup_dcookie |
| 850 | | // int syscall(SYS_lookup_dcookie, uint64_t cookie, char *buffer, size_t len); |
| 851 | | |
| 852 | 830 | // epoll_create |
| 853 | 831 | // int epoll_create(int size); |
| 854 | 832 | // asmlinkage long sys_epoll_create(int size); |
| 855 | 833 | |
| 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 | 834 | // remap_file_pages |
| 863 | 835 | // [[deprecated]] int remap_file_pages(void addr[.size], size_t size, int prot, size_t pgoff, int flags); |
| 864 | 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 | 1165 | |
| 1194 | 1166 | // fanotify_mark |
| 1195 | 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); |
| 1196 | 1169 | |
| 1197 | 1170 | // prlimit64 |
| 1198 | 1171 | // int prlimit(pid_t pid, int resource, const struct rlimit *_Nullable new_limit, struct rlimit *_Nullable old_limit); |