• Home
  • Raw
  • Download

Lines Matching full:long

124 #define __SC_TEST(t, a) (void)BUILD_BUG_ON_ZERO(!__TYPE_IS_LL(t) && sizeof(t) > sizeof(long))
209 asmlinkage long sys_##sname(void); \
211 asmlinkage long sys_##sname(void)
239 asmlinkage long sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) \
242 static inline long __do_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__));\
243 asmlinkage long __se_sys##name(__MAP(x,__SC_LONG,__VA_ARGS__)); \
244 asmlinkage long __se_sys##name(__MAP(x,__SC_LONG,__VA_ARGS__)) \
246 long ret = __do_sys##name(__MAP(x,__SC_CAST,__VA_ARGS__));\
252 static inline long __do_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__))
313 asmlinkage long sys_io_setup(unsigned nr_reqs, aio_context_t __user *ctx);
314 asmlinkage long sys_io_destroy(aio_context_t ctx);
315 asmlinkage long sys_io_submit(aio_context_t, long,
317 asmlinkage long sys_io_cancel(aio_context_t ctx_id, struct iocb __user *iocb,
319 asmlinkage long sys_io_getevents(aio_context_t ctx_id,
320 long min_nr,
321 long nr,
324 asmlinkage long sys_io_getevents_time32(__u32 ctx_id,
329 asmlinkage long sys_io_pgetevents(aio_context_t ctx_id,
330 long min_nr,
331 long nr,
335 asmlinkage long sys_io_pgetevents_time32(aio_context_t ctx_id,
336 long min_nr,
337 long nr,
341 asmlinkage long sys_io_uring_setup(u32 entries,
343 asmlinkage long sys_io_uring_enter(unsigned int fd, u32 to_submit,
346 asmlinkage long sys_io_uring_register(unsigned int fd, unsigned int op,
350 asmlinkage long sys_setxattr(const char __user *path, const char __user *name,
352 asmlinkage long sys_lsetxattr(const char __user *path, const char __user *name,
354 asmlinkage long sys_fsetxattr(int fd, const char __user *name,
356 asmlinkage long sys_getxattr(const char __user *path, const char __user *name,
358 asmlinkage long sys_lgetxattr(const char __user *path, const char __user *name,
360 asmlinkage long sys_fgetxattr(int fd, const char __user *name,
362 asmlinkage long sys_listxattr(const char __user *path, char __user *list,
364 asmlinkage long sys_llistxattr(const char __user *path, char __user *list,
366 asmlinkage long sys_flistxattr(int fd, char __user *list, size_t size);
367 asmlinkage long sys_removexattr(const char __user *path,
369 asmlinkage long sys_lremovexattr(const char __user *path,
371 asmlinkage long sys_fremovexattr(int fd, const char __user *name);
374 asmlinkage long sys_getcwd(char __user *buf, unsigned long size);
377 asmlinkage long sys_lookup_dcookie(u64 cookie64, char __user *buf, size_t len);
380 asmlinkage long sys_eventfd2(unsigned int count, int flags);
383 asmlinkage long sys_epoll_create1(int flags);
384 asmlinkage long sys_epoll_ctl(int epfd, int op, int fd,
386 asmlinkage long sys_epoll_pwait(int epfd, struct epoll_event __user *events,
392 asmlinkage long sys_dup(unsigned int fildes);
393 asmlinkage long sys_dup3(unsigned int oldfd, unsigned int newfd, int flags);
394 asmlinkage long sys_fcntl(unsigned int fd, unsigned int cmd, unsigned long arg);
396 asmlinkage long sys_fcntl64(unsigned int fd,
397 unsigned int cmd, unsigned long arg);
401 asmlinkage long sys_inotify_init1(int flags);
402 asmlinkage long sys_inotify_add_watch(int fd, const char __user *path,
404 asmlinkage long sys_inotify_rm_watch(int fd, __s32 wd);
407 asmlinkage long sys_ioctl(unsigned int fd, unsigned int cmd,
408 unsigned long arg);
411 asmlinkage long sys_ioprio_set(int which, int who, int ioprio);
412 asmlinkage long sys_ioprio_get(int which, int who);
415 asmlinkage long sys_flock(unsigned int fd, unsigned int cmd);
418 asmlinkage long sys_mknodat(int dfd, const char __user * filename, umode_t mode,
420 asmlinkage long sys_mkdirat(int dfd, const char __user * pathname, umode_t mode);
421 asmlinkage long sys_unlinkat(int dfd, const char __user * pathname, int flag);
422 asmlinkage long sys_symlinkat(const char __user * oldname,
424 asmlinkage long sys_linkat(int olddfd, const char __user *oldname,
426 asmlinkage long sys_renameat(int olddfd, const char __user * oldname,
430 asmlinkage long sys_umount(char __user *name, int flags);
431 asmlinkage long sys_mount(char __user *dev_name, char __user *dir_name,
432 char __user *type, unsigned long flags,
434 asmlinkage long sys_pivot_root(const char __user *new_root,
440 asmlinkage long sys_statfs(const char __user * path,
442 asmlinkage long sys_statfs64(const char __user *path, size_t sz,
444 asmlinkage long sys_fstatfs(unsigned int fd, struct statfs __user *buf);
445 asmlinkage long sys_fstatfs64(unsigned int fd, size_t sz,
447 asmlinkage long sys_truncate(const char __user *path, long length);
448 asmlinkage long sys_ftruncate(unsigned int fd, off_t length);
450 asmlinkage long sys_truncate64(const char __user *path, loff_t length);
451 asmlinkage long sys_ftruncate64(unsigned int fd, loff_t length);
453 asmlinkage long sys_fallocate(int fd, int mode, loff_t offset, loff_t len);
454 asmlinkage long sys_faccessat(int dfd, const char __user *filename, int mode);
455 asmlinkage long sys_faccessat2(int dfd, const char __user *filename, int mode,
457 asmlinkage long sys_chdir(const char __user *filename);
458 asmlinkage long sys_fchdir(unsigned int fd);
459 asmlinkage long sys_chroot(const char __user *filename);
460 asmlinkage long sys_fchmod(unsigned int fd, umode_t mode);
461 asmlinkage long sys_fchmodat(int dfd, const char __user * filename,
463 asmlinkage long sys_fchownat(int dfd, const char __user *filename, uid_t user,
465 asmlinkage long sys_fchown(unsigned int fd, uid_t user, gid_t group);
466 asmlinkage long sys_openat(int dfd, const char __user *filename, int flags,
468 asmlinkage long sys_openat2(int dfd, const char __user *filename,
470 asmlinkage long sys_close(unsigned int fd);
471 asmlinkage long sys_close_range(unsigned int fd, unsigned int max_fd,
473 asmlinkage long sys_vhangup(void);
476 asmlinkage long sys_pipe2(int __user *fildes, int flags);
479 asmlinkage long sys_quotactl(unsigned int cmd, const char __user *special,
483 asmlinkage long sys_getdents64(unsigned int fd,
488 asmlinkage long sys_llseek(unsigned int fd, unsigned long offset_high,
489 unsigned long offset_low, loff_t __user *result,
491 asmlinkage long sys_lseek(unsigned int fd, off_t offset,
493 asmlinkage long sys_read(unsigned int fd, char __user *buf, size_t count);
494 asmlinkage long sys_write(unsigned int fd, const char __user *buf,
496 asmlinkage long sys_readv(unsigned long fd,
498 unsigned long vlen);
499 asmlinkage long sys_writev(unsigned long fd,
501 unsigned long vlen);
502 asmlinkage long sys_pread64(unsigned int fd, char __user *buf,
504 asmlinkage long sys_pwrite64(unsigned int fd, const char __user *buf,
506 asmlinkage long sys_preadv(unsigned long fd, const struct iovec __user *vec,
507 unsigned long vlen, unsigned long pos_l, unsigned long pos_h);
508 asmlinkage long sys_pwritev(unsigned long fd, const struct iovec __user *vec,
509 unsigned long vlen, unsigned long pos_l, unsigned long pos_h);
512 asmlinkage long sys_sendfile64(int out_fd, int in_fd,
516 asmlinkage long sys_pselect6(int, fd_set __user *, fd_set __user *,
519 asmlinkage long sys_pselect6_time32(int, fd_set __user *, fd_set __user *,
522 asmlinkage long sys_ppoll(struct pollfd __user *, unsigned int,
525 asmlinkage long sys_ppoll_time32(struct pollfd __user *, unsigned int,
530 asmlinkage long sys_signalfd4(int ufd, sigset_t __user *user_mask, size_t sizemask, int flags);
533 asmlinkage long sys_vmsplice(int fd, const struct iovec __user *iov,
534 unsigned long nr_segs, unsigned int flags);
535 asmlinkage long sys_splice(int fd_in, loff_t __user *off_in,
538 asmlinkage long sys_tee(int fdin, int fdout, size_t len, unsigned int flags);
541 asmlinkage long sys_readlinkat(int dfd, const char __user *path, char __user *buf,
543 asmlinkage long sys_newfstatat(int dfd, const char __user *filename,
545 asmlinkage long sys_newfstat(unsigned int fd, struct stat __user *statbuf);
547 asmlinkage long sys_fstat64(unsigned long fd, struct stat64 __user *statbuf);
548 asmlinkage long sys_fstatat64(int dfd, const char __user *filename,
553 asmlinkage long sys_sync(void);
554 asmlinkage long sys_fsync(unsigned int fd);
555 asmlinkage long sys_fdatasync(unsigned int fd);
556 asmlinkage long sys_sync_file_range2(int fd, unsigned int flags,
558 asmlinkage long sys_sync_file_range(int fd, loff_t offset, loff_t nbytes,
562 asmlinkage long sys_timerfd_create(int clockid, int flags);
563 asmlinkage long sys_timerfd_settime(int ufd, int flags,
566 asmlinkage long sys_timerfd_gettime(int ufd, struct __kernel_itimerspec __user *otmr);
567 asmlinkage long sys_timerfd_gettime32(int ufd,
569 asmlinkage long sys_timerfd_settime32(int ufd, int flags,
574 asmlinkage long sys_utimensat(int dfd, const char __user *filename,
577 asmlinkage long sys_utimensat_time32(unsigned int dfd,
582 asmlinkage long sys_acct(const char __user *name);
585 asmlinkage long sys_capget(cap_user_header_t header,
587 asmlinkage long sys_capset(cap_user_header_t header,
591 asmlinkage long sys_personality(unsigned int personality);
594 asmlinkage long sys_exit(int error_code);
595 asmlinkage long sys_exit_group(int error_code);
596 asmlinkage long sys_waitid(int which, pid_t pid,
601 asmlinkage long sys_set_tid_address(int __user *tidptr);
602 asmlinkage long sys_unshare(unsigned long unshare_flags);
605 asmlinkage long sys_futex(u32 __user *uaddr, int op, u32 val,
608 asmlinkage long sys_futex_time32(u32 __user *uaddr, int op, u32 val,
611 asmlinkage long sys_get_robust_list(int pid,
614 asmlinkage long sys_set_robust_list(struct robust_list_head __user *head,
618 asmlinkage long sys_nanosleep(struct __kernel_timespec __user *rqtp,
620 asmlinkage long sys_nanosleep_time32(struct old_timespec32 __user *rqtp,
624 asmlinkage long sys_getitimer(int which, struct __kernel_old_itimerval __user *value);
625 asmlinkage long sys_setitimer(int which,
630 asmlinkage long sys_kexec_load(unsigned long entry, unsigned long nr_segments,
632 unsigned long flags);
635 asmlinkage long sys_init_module(void __user *umod, unsigned long len,
637 asmlinkage long sys_delete_module(const char __user *name_user,
641 asmlinkage long sys_timer_create(clockid_t which_clock,
644 asmlinkage long sys_timer_gettime(timer_t timer_id,
646 asmlinkage long sys_timer_getoverrun(timer_t timer_id);
647 asmlinkage long sys_timer_settime(timer_t timer_id, int flags,
650 asmlinkage long sys_timer_delete(timer_t timer_id);
651 asmlinkage long sys_clock_settime(clockid_t which_clock,
653 asmlinkage long sys_clock_gettime(clockid_t which_clock,
655 asmlinkage long sys_clock_getres(clockid_t which_clock,
657 asmlinkage long sys_clock_nanosleep(clockid_t which_clock, int flags,
660 asmlinkage long sys_timer_gettime32(timer_t timer_id,
662 asmlinkage long sys_timer_settime32(timer_t timer_id, int flags,
665 asmlinkage long sys_clock_settime32(clockid_t which_clock,
667 asmlinkage long sys_clock_gettime32(clockid_t which_clock,
669 asmlinkage long sys_clock_getres_time32(clockid_t which_clock,
671 asmlinkage long sys_clock_nanosleep_time32(clockid_t which_clock, int flags,
676 asmlinkage long sys_syslog(int type, char __user *buf, int len);
679 asmlinkage long sys_ptrace(long request, long pid, unsigned long addr,
680 unsigned long data);
683 asmlinkage long sys_sched_setparam(pid_t pid,
685 asmlinkage long sys_sched_setscheduler(pid_t pid, int policy,
687 asmlinkage long sys_sched_getscheduler(pid_t pid);
688 asmlinkage long sys_sched_getparam(pid_t pid,
690 asmlinkage long sys_sched_setaffinity(pid_t pid, unsigned int len,
691 unsigned long __user *user_mask_ptr);
692 asmlinkage long sys_sched_getaffinity(pid_t pid, unsigned int len,
693 unsigned long __user *user_mask_ptr);
694 asmlinkage long sys_sched_yield(void);
695 asmlinkage long sys_sched_get_priority_max(int policy);
696 asmlinkage long sys_sched_get_priority_min(int policy);
697 asmlinkage long sys_sched_rr_get_interval(pid_t pid,
699 asmlinkage long sys_sched_rr_get_interval_time32(pid_t pid,
703 asmlinkage long sys_restart_syscall(void);
704 asmlinkage long sys_kill(pid_t pid, int sig);
705 asmlinkage long sys_tkill(pid_t pid, int sig);
706 asmlinkage long sys_tgkill(pid_t tgid, pid_t pid, int sig);
707 asmlinkage long sys_sigaltstack(const struct sigaltstack __user *uss,
709 asmlinkage long sys_rt_sigsuspend(sigset_t __user *unewset, size_t sigsetsize);
711 asmlinkage long sys_rt_sigaction(int,
716 asmlinkage long sys_rt_sigprocmask(int how, sigset_t __user *set,
718 asmlinkage long sys_rt_sigpending(sigset_t __user *set, size_t sigsetsize);
719 asmlinkage long sys_rt_sigtimedwait(const sigset_t __user *uthese,
723 asmlinkage long sys_rt_sigtimedwait_time32(const sigset_t __user *uthese,
727 asmlinkage long sys_rt_sigqueueinfo(pid_t pid, int sig, siginfo_t __user *uinfo);
730 asmlinkage long sys_setpriority(int which, int who, int niceval);
731 asmlinkage long sys_getpriority(int which, int who);
732 asmlinkage long sys_reboot(int magic1, int magic2, unsigned int cmd,
734 asmlinkage long sys_setregid(gid_t rgid, gid_t egid);
735 asmlinkage long sys_setgid(gid_t gid);
736 asmlinkage long sys_setreuid(uid_t ruid, uid_t euid);
737 asmlinkage long sys_setuid(uid_t uid);
738 asmlinkage long sys_setresuid(uid_t ruid, uid_t euid, uid_t suid);
739 asmlinkage long sys_getresuid(uid_t __user *ruid, uid_t __user *euid, uid_t __user *suid);
740 asmlinkage long sys_setresgid(gid_t rgid, gid_t egid, gid_t sgid);
741 asmlinkage long sys_getresgid(gid_t __user *rgid, gid_t __user *egid, gid_t __user *sgid);
742 asmlinkage long sys_setfsuid(uid_t uid);
743 asmlinkage long sys_setfsgid(gid_t gid);
744 asmlinkage long sys_times(struct tms __user *tbuf);
745 asmlinkage long sys_setpgid(pid_t pid, pid_t pgid);
746 asmlinkage long sys_getpgid(pid_t pid);
747 asmlinkage long sys_getsid(pid_t pid);
748 asmlinkage long sys_setsid(void);
749 asmlinkage long sys_getgroups(int gidsetsize, gid_t __user *grouplist);
750 asmlinkage long sys_setgroups(int gidsetsize, gid_t __user *grouplist);
751 asmlinkage long sys_newuname(struct new_utsname __user *name);
752 asmlinkage long sys_sethostname(char __user *name, int len);
753 asmlinkage long sys_setdomainname(char __user *name, int len);
754 asmlinkage long sys_getrlimit(unsigned int resource,
756 asmlinkage long sys_setrlimit(unsigned int resource,
758 asmlinkage long sys_getrusage(int who, struct rusage __user *ru);
759 asmlinkage long sys_umask(int mask);
760 asmlinkage long sys_prctl(int option, unsigned long arg2, unsigned long arg3,
761 unsigned long arg4, unsigned long arg5);
762 asmlinkage long sys_getcpu(unsigned __user *cpu, unsigned __user *node, struct getcpu_cache __user …
765 asmlinkage long sys_gettimeofday(struct __kernel_old_timeval __user *tv,
767 asmlinkage long sys_settimeofday(struct __kernel_old_timeval __user *tv,
769 asmlinkage long sys_adjtimex(struct __kernel_timex __user *txc_p);
770 asmlinkage long sys_adjtimex_time32(struct old_timex32 __user *txc_p);
773 asmlinkage long sys_getpid(void);
774 asmlinkage long sys_getppid(void);
775 asmlinkage long sys_getuid(void);
776 asmlinkage long sys_geteuid(void);
777 asmlinkage long sys_getgid(void);
778 asmlinkage long sys_getegid(void);
779 asmlinkage long sys_gettid(void);
780 asmlinkage long sys_sysinfo(struct sysinfo __user *info);
783 asmlinkage long sys_mq_open(const char __user *name, int oflag, umode_t mode, struct mq_attr __user…
784 asmlinkage long sys_mq_unlink(const char __user *name);
785 asmlinkage long sys_mq_timedsend(mqd_t mqdes, const char __user *msg_ptr, size_t msg_len, unsigned …
786 asmlinkage long sys_mq_timedreceive(mqd_t mqdes, char __user *msg_ptr, size_t msg_len, unsigned int…
787 asmlinkage long sys_mq_notify(mqd_t mqdes, const struct sigevent __user *notification);
788 asmlinkage long sys_mq_getsetattr(mqd_t mqdes, const struct mq_attr __user *mqstat, struct mq_attr …
789 asmlinkage long sys_mq_timedreceive_time32(mqd_t mqdes,
793 asmlinkage long sys_mq_timedsend_time32(mqd_t mqdes,
799 asmlinkage long sys_msgget(key_t key, int msgflg);
800 asmlinkage long sys_old_msgctl(int msqid, int cmd, struct msqid_ds __user *buf);
801 asmlinkage long sys_msgctl(int msqid, int cmd, struct msqid_ds __user *buf);
802 asmlinkage long sys_msgrcv(int msqid, struct msgbuf __user *msgp,
803 size_t msgsz, long msgtyp, int msgflg);
804 asmlinkage long sys_msgsnd(int msqid, struct msgbuf __user *msgp,
808 asmlinkage long sys_semget(key_t key, int nsems, int semflg);
809 asmlinkage long sys_semctl(int semid, int semnum, int cmd, unsigned long arg);
810 asmlinkage long sys_old_semctl(int semid, int semnum, int cmd, unsigned long arg);
811 asmlinkage long sys_semtimedop(int semid, struct sembuf __user *sops,
814 asmlinkage long sys_semtimedop_time32(int semid, struct sembuf __user *sops,
817 asmlinkage long sys_semop(int semid, struct sembuf __user *sops,
821 asmlinkage long sys_shmget(key_t key, size_t size, int flag);
822 asmlinkage long sys_old_shmctl(int shmid, int cmd, struct shmid_ds __user *buf);
823 asmlinkage long sys_shmctl(int shmid, int cmd, struct shmid_ds __user *buf);
824 asmlinkage long sys_shmat(int shmid, char __user *shmaddr, int shmflg);
825 asmlinkage long sys_shmdt(char __user *shmaddr);
828 asmlinkage long sys_socket(int, int, int);
829 asmlinkage long sys_socketpair(int, int, int, int __user *);
830 asmlinkage long sys_bind(int, struct sockaddr __user *, int);
831 asmlinkage long sys_listen(int, int);
832 asmlinkage long sys_accept(int, struct sockaddr __user *, int __user *);
833 asmlinkage long sys_connect(int, struct sockaddr __user *, int);
834 asmlinkage long sys_getsockname(int, struct sockaddr __user *, int __user *);
835 asmlinkage long sys_getpeername(int, struct sockaddr __user *, int __user *);
836 asmlinkage long sys_sendto(int, void __user *, size_t, unsigned,
838 asmlinkage long sys_recvfrom(int, void __user *, size_t, unsigned,
840 asmlinkage long sys_setsockopt(int fd, int level, int optname,
842 asmlinkage long sys_getsockopt(int fd, int level, int optname,
844 asmlinkage long sys_shutdown(int, int);
845 asmlinkage long sys_sendmsg(int fd, struct user_msghdr __user *msg, unsigned flags);
846 asmlinkage long sys_recvmsg(int fd, struct user_msghdr __user *msg, unsigned flags);
849 asmlinkage long sys_readahead(int fd, loff_t offset, size_t count);
852 asmlinkage long sys_brk(unsigned long brk);
853 asmlinkage long sys_munmap(unsigned long addr, size_t len);
854 asmlinkage long sys_mremap(unsigned long addr,
855 unsigned long old_len, unsigned long new_len,
856 unsigned long flags, unsigned long new_addr);
859 asmlinkage long sys_add_key(const char __user *_type,
864 asmlinkage long sys_request_key(const char __user *_type,
868 asmlinkage long sys_keyctl(int cmd, unsigned long arg2, unsigned long arg3,
869 unsigned long arg4, unsigned long arg5);
873 asmlinkage long sys_clone(unsigned long, unsigned long, int __user *, unsigned long,
877 asmlinkage long sys_clone(unsigned long, unsigned long, int, int __user *,
878 int __user *, unsigned long);
880 asmlinkage long sys_clone(unsigned long, unsigned long, int __user *,
881 int __user *, unsigned long);
885 asmlinkage long sys_clone3(struct clone_args __user *uargs, size_t size);
887 asmlinkage long sys_execve(const char __user *filename,
892 asmlinkage long sys_fadvise64_64(int fd, loff_t offset, loff_t len, int advice);
895 asmlinkage long sys_swapon(const char __user *specialfile, int swap_flags);
896 asmlinkage long sys_swapoff(const char __user *specialfile);
897 asmlinkage long sys_mprotect(unsigned long start, size_t len,
898 unsigned long prot);
899 asmlinkage long sys_msync(unsigned long start, size_t len, int flags);
900 asmlinkage long sys_mlock(unsigned long start, size_t len);
901 asmlinkage long sys_munlock(unsigned long start, size_t len);
902 asmlinkage long sys_mlockall(int flags);
903 asmlinkage long sys_munlockall(void);
904 asmlinkage long sys_mincore(unsigned long start, size_t len,
906 asmlinkage long sys_madvise(unsigned long start, size_t len, int behavior);
907 asmlinkage long sys_process_madvise(int pidfd, const struct iovec __user *vec,
909 asmlinkage long sys_remap_file_pages(unsigned long start, unsigned long size,
910 unsigned long prot, unsigned long pgoff,
911 unsigned long flags);
912 asmlinkage long sys_mbind(unsigned long start, unsigned long len,
913 unsigned long mode,
914 const unsigned long __user *nmask,
915 unsigned long maxnode,
917 asmlinkage long sys_get_mempolicy(int __user *policy,
918 unsigned long __user *nmask,
919 unsigned long maxnode,
920 unsigned long addr, unsigned long flags);
921 asmlinkage long sys_set_mempolicy(int mode, const unsigned long __user *nmask,
922 unsigned long maxnode);
923 asmlinkage long sys_migrate_pages(pid_t pid, unsigned long maxnode,
924 const unsigned long __user *from,
925 const unsigned long __user *to);
926 asmlinkage long sys_move_pages(pid_t pid, unsigned long nr_pages,
932 asmlinkage long sys_rt_tgsigqueueinfo(pid_t tgid, pid_t pid, int sig,
934 asmlinkage long sys_perf_event_open(
936 pid_t pid, int cpu, int group_fd, unsigned long flags);
937 asmlinkage long sys_accept4(int, struct sockaddr __user *, int __user *, int);
938 asmlinkage long sys_recvmmsg(int fd, struct mmsghdr __user *msg,
941 asmlinkage long sys_recvmmsg_time32(int fd, struct mmsghdr __user *msg,
945 asmlinkage long sys_wait4(pid_t pid, int __user *stat_addr,
947 asmlinkage long sys_prlimit64(pid_t pid, unsigned int resource,
950 asmlinkage long sys_fanotify_init(unsigned int flags, unsigned int event_f_flags);
951 asmlinkage long sys_fanotify_mark(int fanotify_fd, unsigned int flags,
954 asmlinkage long sys_name_to_handle_at(int dfd, const char __user *name,
957 asmlinkage long sys_open_by_handle_at(int mountdirfd,
960 asmlinkage long sys_clock_adjtime(clockid_t which_clock,
962 asmlinkage long sys_clock_adjtime32(clockid_t which_clock,
964 asmlinkage long sys_syncfs(int fd);
965 asmlinkage long sys_setns(int fd, int nstype);
966 asmlinkage long sys_pidfd_open(pid_t pid, unsigned int flags);
967 asmlinkage long sys_sendmmsg(int fd, struct mmsghdr __user *msg,
969 asmlinkage long sys_process_vm_readv(pid_t pid,
971 unsigned long liovcnt,
973 unsigned long riovcnt,
974 unsigned long flags);
975 asmlinkage long sys_process_vm_writev(pid_t pid,
977 unsigned long liovcnt,
979 unsigned long riovcnt,
980 unsigned long flags);
981 asmlinkage long sys_kcmp(pid_t pid1, pid_t pid2, int type,
982 unsigned long idx1, unsigned long idx2);
983 asmlinkage long sys_finit_module(int fd, const char __user *uargs, int flags);
984 asmlinkage long sys_sched_setattr(pid_t pid,
987 asmlinkage long sys_sched_getattr(pid_t pid,
991 asmlinkage long sys_renameat2(int olddfd, const char __user *oldname,
994 asmlinkage long sys_seccomp(unsigned int op, unsigned int flags,
996 asmlinkage long sys_getrandom(char __user *buf, size_t count,
998 asmlinkage long sys_memfd_create(const char __user *uname_ptr, unsigned int flags);
999 asmlinkage long sys_bpf(int cmd, union bpf_attr *attr, unsigned int size);
1000 asmlinkage long sys_execveat(int dfd, const char __user *filename,
1003 asmlinkage long sys_userfaultfd(int flags);
1004 asmlinkage long sys_membarrier(int cmd, unsigned int flags, int cpu_id);
1005 asmlinkage long sys_mlock2(unsigned long start, size_t len, int flags);
1006 asmlinkage long sys_copy_file_range(int fd_in, loff_t __user *off_in,
1009 asmlinkage long sys_preadv2(unsigned long fd, const struct iovec __user *vec,
1010 unsigned long vlen, unsigned long pos_l, unsigned long pos_h,
1012 asmlinkage long sys_pwritev2(unsigned long fd, const struct iovec __user *vec,
1013 unsigned long vlen, unsigned long pos_l, unsigned long pos_h,
1015 asmlinkage long sys_pkey_mprotect(unsigned long start, size_t len,
1016 unsigned long prot, int pkey);
1017 asmlinkage long sys_pkey_alloc(unsigned long flags, unsigned long init_val);
1018 asmlinkage long sys_pkey_free(int pkey);
1019 asmlinkage long sys_statx(int dfd, const char __user *path, unsigned flags,
1021 asmlinkage long sys_rseq(struct rseq __user *rseq, uint32_t rseq_len,
1023 asmlinkage long sys_open_tree(int dfd, const char __user *path, unsigned flags);
1024 asmlinkage long sys_move_mount(int from_dfd, const char __user *from_path,
1027 asmlinkage long sys_fsopen(const char __user *fs_name, unsigned int flags);
1028 asmlinkage long sys_fsconfig(int fs_fd, unsigned int cmd, const char __user *key,
1030 asmlinkage long sys_fsmount(int fs_fd, unsigned int flags, unsigned int ms_flags);
1031 asmlinkage long sys_fspick(int dfd, const char __user *path, unsigned int flags);
1032 asmlinkage long sys_pidfd_send_signal(int pidfd, int sig,
1035 asmlinkage long sys_pidfd_getfd(int pidfd, int fd, unsigned int flags);
1042 asmlinkage long sys_ioperm(unsigned long from, unsigned long num, int on);
1045 asmlinkage long sys_pciconfig_read(unsigned long bus, unsigned long dfn,
1046 unsigned long off, unsigned long len,
1048 asmlinkage long sys_pciconfig_write(unsigned long bus, unsigned long dfn,
1049 unsigned long off, unsigned long len,
1051 asmlinkage long sys_pciconfig_iobase(long which, unsigned long bus, unsigned long devfn);
1054 asmlinkage long sys_spu_run(int fd, __u32 __user *unpc,
1056 asmlinkage long sys_spu_create(const char __user *name,
1066 asmlinkage long sys_open(const char __user *filename,
1068 asmlinkage long sys_link(const char __user *oldname,
1070 asmlinkage long sys_unlink(const char __user *pathname);
1071 asmlinkage long sys_mknod(const char __user *filename, umode_t mode,
1073 asmlinkage long sys_chmod(const char __user *filename, umode_t mode);
1074 asmlinkage long sys_chown(const char __user *filename,
1076 asmlinkage long sys_mkdir(const char __user *pathname, umode_t mode);
1077 asmlinkage long sys_rmdir(const char __user *pathname);
1078 asmlinkage long sys_lchown(const char __user *filename,
1080 asmlinkage long sys_access(const char __user *filename, int mode);
1081 asmlinkage long sys_rename(const char __user *oldname,
1083 asmlinkage long sys_symlink(const char __user *old, const char __user *new);
1085 asmlinkage long sys_stat64(const char __user *filename,
1087 asmlinkage long sys_lstat64(const char __user *filename,
1092 asmlinkage long sys_pipe(int __user *fildes);
1093 asmlinkage long sys_dup2(unsigned int oldfd, unsigned int newfd);
1094 asmlinkage long sys_epoll_create(int size);
1095 asmlinkage long sys_inotify_init(void);
1096 asmlinkage long sys_eventfd(unsigned int count);
1097 asmlinkage long sys_signalfd(int ufd, sigset_t __user *user_mask, size_t sizemask);
1100 asmlinkage long sys_sendfile(int out_fd, int in_fd,
1102 asmlinkage long sys_newstat(const char __user *filename,
1104 asmlinkage long sys_newlstat(const char __user *filename,
1106 asmlinkage long sys_fadvise64(int fd, loff_t offset, size_t len, int advice);
1109 asmlinkage long sys_alarm(unsigned int seconds);
1110 asmlinkage long sys_getpgrp(void);
1111 asmlinkage long sys_pause(void);
1112 asmlinkage long sys_time(__kernel_old_time_t __user *tloc);
1113 asmlinkage long sys_time32(old_time32_t __user *tloc);
1115 asmlinkage long sys_utime(char __user *filename,
1117 asmlinkage long sys_utimes(char __user *filename,
1119 asmlinkage long sys_futimesat(int dfd, const char __user *filename,
1122 asmlinkage long sys_futimesat_time32(unsigned int dfd,
1125 asmlinkage long sys_utime32(const char __user *filename,
1127 asmlinkage long sys_utimes_time32(const char __user *filename,
1129 asmlinkage long sys_creat(const char __user *pathname, umode_t mode);
1130 asmlinkage long sys_getdents(unsigned int fd,
1133 asmlinkage long sys_select(int n, fd_set __user *inp, fd_set __user *outp,
1135 asmlinkage long sys_poll(struct pollfd __user *ufds, unsigned int nfds,
1137 asmlinkage long sys_epoll_wait(int epfd, struct epoll_event __user *events,
1139 asmlinkage long sys_ustat(unsigned dev, struct ustat __user *ubuf);
1140 asmlinkage long sys_vfork(void);
1141 asmlinkage long sys_recv(int, void __user *, size_t, unsigned);
1142 asmlinkage long sys_send(int, void __user *, size_t, unsigned);
1143 asmlinkage long sys_bdflush(int func, long data);
1144 asmlinkage long sys_oldumount(char __user *name);
1145 asmlinkage long sys_uselib(const char __user *library);
1146 asmlinkage long sys_sysfs(int option,
1147 unsigned long arg1, unsigned long arg2);
1148 asmlinkage long sys_fork(void);
1151 asmlinkage long sys_stime(__kernel_old_time_t __user *tptr);
1152 asmlinkage long sys_stime32(old_time32_t __user *tptr);
1155 asmlinkage long sys_sigpending(old_sigset_t __user *uset);
1156 asmlinkage long sys_sigprocmask(int how, old_sigset_t __user *set,
1159 asmlinkage long sys_sigsuspend(old_sigset_t mask);
1163 asmlinkage long sys_sigsuspend(int unused1, int unused2, old_sigset_t mask);
1167 asmlinkage long sys_sigaction(int, const struct old_sigaction __user *,
1170 asmlinkage long sys_sgetmask(void);
1171 asmlinkage long sys_ssetmask(int newmask);
1172 asmlinkage long sys_signal(int sig, __sighandler_t handler);
1175 asmlinkage long sys_nice(int increment);
1178 asmlinkage long sys_kexec_file_load(int kernel_fd, int initrd_fd,
1179 unsigned long cmdline_len,
1181 unsigned long flags);
1184 asmlinkage long sys_waitpid(pid_t pid, int __user *stat_addr, int options);
1188 asmlinkage long sys_chown16(const char __user *filename,
1190 asmlinkage long sys_lchown16(const char __user *filename,
1192 asmlinkage long sys_fchown16(unsigned int fd, old_uid_t user, old_gid_t group);
1193 asmlinkage long sys_setregid16(old_gid_t rgid, old_gid_t egid);
1194 asmlinkage long sys_setgid16(old_gid_t gid);
1195 asmlinkage long sys_setreuid16(old_uid_t ruid, old_uid_t euid);
1196 asmlinkage long sys_setuid16(old_uid_t uid);
1197 asmlinkage long sys_setresuid16(old_uid_t ruid, old_uid_t euid, old_uid_t suid);
1198 asmlinkage long sys_getresuid16(old_uid_t __user *ruid,
1200 asmlinkage long sys_setresgid16(old_gid_t rgid, old_gid_t egid, old_gid_t sgid);
1201 asmlinkage long sys_getresgid16(old_gid_t __user *rgid,
1203 asmlinkage long sys_setfsuid16(old_uid_t uid);
1204 asmlinkage long sys_setfsgid16(old_gid_t gid);
1205 asmlinkage long sys_getgroups16(int gidsetsize, old_gid_t __user *grouplist);
1206 asmlinkage long sys_setgroups16(int gidsetsize, old_gid_t __user *grouplist);
1207 asmlinkage long sys_getuid16(void);
1208 asmlinkage long sys_geteuid16(void);
1209 asmlinkage long sys_getgid16(void);
1210 asmlinkage long sys_getegid16(void);
1214 asmlinkage long sys_socketcall(int call, unsigned long __user *args);
1217 asmlinkage long sys_stat(const char __user *filename,
1219 asmlinkage long sys_lstat(const char __user *filename,
1221 asmlinkage long sys_fstat(unsigned int fd,
1223 asmlinkage long sys_readlink(const char __user *path,
1227 asmlinkage long sys_old_select(struct sel_arg_struct __user *arg);
1230 asmlinkage long sys_old_readdir(unsigned int, struct old_linux_dirent __user *, unsigned int);
1233 asmlinkage long sys_gethostname(char __user *name, int len);
1234 asmlinkage long sys_uname(struct old_utsname __user *);
1235 asmlinkage long sys_olduname(struct oldold_utsname __user *);
1237 asmlinkage long sys_old_getrlimit(unsigned int resource, struct rlimit __user *rlim);
1241 asmlinkage long sys_ipc(unsigned int call, int first, unsigned long second,
1242 unsigned long third, void __user *ptr, long fifth);
1245 asmlinkage long sys_mmap_pgoff(unsigned long addr, unsigned long len,
1246 unsigned long prot, unsigned long flags,
1247 unsigned long fd, unsigned long pgoff);
1248 asmlinkage long sys_old_mmap(struct mmap_arg_struct __user *arg);
1255 asmlinkage long sys_ni_syscall(void);
1269 int ksys_unshare(unsigned long unshare_flags);
1287 unsigned long ksys_mmap_pgoff(unsigned long addr, unsigned long len,
1288 unsigned long prot, unsigned long flags,
1289 unsigned long fd, unsigned long pgoff);
1291 int ksys_ipc(unsigned int call, int first, unsigned long second,
1292 unsigned long third, void __user * ptr, long fifth);
1303 static inline long ksys_chown(const char __user *filename, uid_t user, in ksys_chown()
1309 static inline long ksys_lchown(const char __user *filename, uid_t user, in ksys_lchown()
1316 extern long do_sys_ftruncate(unsigned int fd, loff_t length, int small);
1318 static inline long ksys_ftruncate(unsigned int fd, loff_t length) in ksys_ftruncate()
1335 extern long do_sys_truncate(const char __user *pathname, loff_t length);
1337 static inline long ksys_truncate(const char __user *pathname, loff_t length) in ksys_truncate()
1353 long ksys_semtimedop(int semid, struct sembuf __user *tsops,
1356 long ksys_semget(key_t key, int nsems, int semflg);
1357 long ksys_old_semctl(int semid, int semnum, int cmd, unsigned long arg);
1358 long ksys_msgget(key_t key, int msgflg);
1359 long ksys_old_msgctl(int msqid, int cmd, struct msqid_ds __user *buf);
1360 long ksys_msgrcv(int msqid, struct msgbuf __user *msgp, size_t msgsz,
1361 long msgtyp, int msgflg);
1362 long ksys_msgsnd(int msqid, struct msgbuf __user *msgp, size_t msgsz,
1364 long ksys_shmget(key_t key, size_t size, int shmflg);
1365 long ksys_shmdt(char __user *shmaddr);
1366 long ksys_old_shmctl(int shmid, int cmd, struct shmid_ds __user *buf);
1367 long compat_ksys_semtimedop(int semid, struct sembuf __user *tsems,