diff options
Diffstat (limited to 'include/linux/syscalls.h')
-rw-r--r-- | include/linux/syscalls.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h index 86a24b1166d1..515669fa3c1d 100644 --- a/include/linux/syscalls.h +++ b/include/linux/syscalls.h | |||
@@ -475,7 +475,7 @@ asmlinkage long sys_mincore(unsigned long start, size_t len, | |||
475 | asmlinkage long sys_pivot_root(const char __user *new_root, | 475 | asmlinkage long sys_pivot_root(const char __user *new_root, |
476 | const char __user *put_old); | 476 | const char __user *put_old); |
477 | asmlinkage long sys_chroot(const char __user *filename); | 477 | asmlinkage long sys_chroot(const char __user *filename); |
478 | asmlinkage long sys_mknod(const char __user *filename, int mode, | 478 | asmlinkage long sys_mknod(const char __user *filename, umode_t mode, |
479 | unsigned dev); | 479 | unsigned dev); |
480 | asmlinkage long sys_link(const char __user *oldname, | 480 | asmlinkage long sys_link(const char __user *oldname, |
481 | const char __user *newname); | 481 | const char __user *newname); |
@@ -483,8 +483,8 @@ asmlinkage long sys_symlink(const char __user *old, const char __user *new); | |||
483 | asmlinkage long sys_unlink(const char __user *pathname); | 483 | asmlinkage long sys_unlink(const char __user *pathname); |
484 | asmlinkage long sys_rename(const char __user *oldname, | 484 | asmlinkage long sys_rename(const char __user *oldname, |
485 | const char __user *newname); | 485 | const char __user *newname); |
486 | asmlinkage long sys_chmod(const char __user *filename, mode_t mode); | 486 | asmlinkage long sys_chmod(const char __user *filename, umode_t mode); |
487 | asmlinkage long sys_fchmod(unsigned int fd, mode_t mode); | 487 | asmlinkage long sys_fchmod(unsigned int fd, umode_t mode); |
488 | 488 | ||
489 | asmlinkage long sys_fcntl(unsigned int fd, unsigned int cmd, unsigned long arg); | 489 | asmlinkage long sys_fcntl(unsigned int fd, unsigned int cmd, unsigned long arg); |
490 | #if BITS_PER_LONG == 32 | 490 | #if BITS_PER_LONG == 32 |
@@ -517,9 +517,9 @@ asmlinkage long sys_sendfile64(int out_fd, int in_fd, | |||
517 | loff_t __user *offset, size_t count); | 517 | loff_t __user *offset, size_t count); |
518 | asmlinkage long sys_readlink(const char __user *path, | 518 | asmlinkage long sys_readlink(const char __user *path, |
519 | char __user *buf, int bufsiz); | 519 | char __user *buf, int bufsiz); |
520 | asmlinkage long sys_creat(const char __user *pathname, int mode); | 520 | asmlinkage long sys_creat(const char __user *pathname, umode_t mode); |
521 | asmlinkage long sys_open(const char __user *filename, | 521 | asmlinkage long sys_open(const char __user *filename, |
522 | int flags, int mode); | 522 | int flags, umode_t mode); |
523 | asmlinkage long sys_close(unsigned int fd); | 523 | asmlinkage long sys_close(unsigned int fd); |
524 | asmlinkage long sys_access(const char __user *filename, int mode); | 524 | asmlinkage long sys_access(const char __user *filename, int mode); |
525 | asmlinkage long sys_vhangup(void); | 525 | asmlinkage long sys_vhangup(void); |
@@ -582,7 +582,7 @@ asmlinkage long sys_preadv(unsigned long fd, const struct iovec __user *vec, | |||
582 | asmlinkage long sys_pwritev(unsigned long fd, const struct iovec __user *vec, | 582 | asmlinkage long sys_pwritev(unsigned long fd, const struct iovec __user *vec, |
583 | unsigned long vlen, unsigned long pos_l, unsigned long pos_h); | 583 | unsigned long vlen, unsigned long pos_l, unsigned long pos_h); |
584 | asmlinkage long sys_getcwd(char __user *buf, unsigned long size); | 584 | asmlinkage long sys_getcwd(char __user *buf, unsigned long size); |
585 | asmlinkage long sys_mkdir(const char __user *pathname, int mode); | 585 | asmlinkage long sys_mkdir(const char __user *pathname, umode_t mode); |
586 | asmlinkage long sys_chdir(const char __user *filename); | 586 | asmlinkage long sys_chdir(const char __user *filename); |
587 | asmlinkage long sys_fchdir(unsigned int fd); | 587 | asmlinkage long sys_fchdir(unsigned int fd); |
588 | asmlinkage long sys_rmdir(const char __user *pathname); | 588 | asmlinkage long sys_rmdir(const char __user *pathname); |
@@ -679,7 +679,7 @@ asmlinkage long sys_shmctl(int shmid, int cmd, struct shmid_ds __user *buf); | |||
679 | asmlinkage long sys_ipc(unsigned int call, int first, unsigned long second, | 679 | asmlinkage long sys_ipc(unsigned int call, int first, unsigned long second, |
680 | unsigned long third, void __user *ptr, long fifth); | 680 | unsigned long third, void __user *ptr, long fifth); |
681 | 681 | ||
682 | asmlinkage long sys_mq_open(const char __user *name, int oflag, mode_t mode, struct mq_attr __user *attr); | 682 | asmlinkage long sys_mq_open(const char __user *name, int oflag, umode_t mode, struct mq_attr __user *attr); |
683 | asmlinkage long sys_mq_unlink(const char __user *name); | 683 | asmlinkage long sys_mq_unlink(const char __user *name); |
684 | asmlinkage long sys_mq_timedsend(mqd_t mqdes, const char __user *msg_ptr, size_t msg_len, unsigned int msg_prio, const struct timespec __user *abs_timeout); | 684 | asmlinkage long sys_mq_timedsend(mqd_t mqdes, const char __user *msg_ptr, size_t msg_len, unsigned int msg_prio, const struct timespec __user *abs_timeout); |
685 | asmlinkage long sys_mq_timedreceive(mqd_t mqdes, char __user *msg_ptr, size_t msg_len, unsigned int __user *msg_prio, const struct timespec __user *abs_timeout); | 685 | asmlinkage long sys_mq_timedreceive(mqd_t mqdes, char __user *msg_ptr, size_t msg_len, unsigned int __user *msg_prio, const struct timespec __user *abs_timeout); |
@@ -753,11 +753,11 @@ asmlinkage long sys_inotify_rm_watch(int fd, __s32 wd); | |||
753 | asmlinkage long sys_spu_run(int fd, __u32 __user *unpc, | 753 | asmlinkage long sys_spu_run(int fd, __u32 __user *unpc, |
754 | __u32 __user *ustatus); | 754 | __u32 __user *ustatus); |
755 | asmlinkage long sys_spu_create(const char __user *name, | 755 | asmlinkage long sys_spu_create(const char __user *name, |
756 | unsigned int flags, mode_t mode, int fd); | 756 | unsigned int flags, umode_t mode, int fd); |
757 | 757 | ||
758 | asmlinkage long sys_mknodat(int dfd, const char __user * filename, int mode, | 758 | asmlinkage long sys_mknodat(int dfd, const char __user * filename, umode_t mode, |
759 | unsigned dev); | 759 | unsigned dev); |
760 | asmlinkage long sys_mkdirat(int dfd, const char __user * pathname, int mode); | 760 | asmlinkage long sys_mkdirat(int dfd, const char __user * pathname, umode_t mode); |
761 | asmlinkage long sys_unlinkat(int dfd, const char __user * pathname, int flag); | 761 | asmlinkage long sys_unlinkat(int dfd, const char __user * pathname, int flag); |
762 | asmlinkage long sys_symlinkat(const char __user * oldname, | 762 | asmlinkage long sys_symlinkat(const char __user * oldname, |
763 | int newdfd, const char __user * newname); | 763 | int newdfd, const char __user * newname); |
@@ -769,11 +769,11 @@ asmlinkage long sys_futimesat(int dfd, const char __user *filename, | |||
769 | struct timeval __user *utimes); | 769 | struct timeval __user *utimes); |
770 | asmlinkage long sys_faccessat(int dfd, const char __user *filename, int mode); | 770 | asmlinkage long sys_faccessat(int dfd, const char __user *filename, int mode); |
771 | asmlinkage long sys_fchmodat(int dfd, const char __user * filename, | 771 | asmlinkage long sys_fchmodat(int dfd, const char __user * filename, |
772 | mode_t mode); | 772 | umode_t mode); |
773 | asmlinkage long sys_fchownat(int dfd, const char __user *filename, uid_t user, | 773 | asmlinkage long sys_fchownat(int dfd, const char __user *filename, uid_t user, |
774 | gid_t group, int flag); | 774 | gid_t group, int flag); |
775 | asmlinkage long sys_openat(int dfd, const char __user *filename, int flags, | 775 | asmlinkage long sys_openat(int dfd, const char __user *filename, int flags, |
776 | int mode); | 776 | umode_t mode); |
777 | asmlinkage long sys_newfstatat(int dfd, const char __user *filename, | 777 | asmlinkage long sys_newfstatat(int dfd, const char __user *filename, |
778 | struct stat __user *statbuf, int flag); | 778 | struct stat __user *statbuf, int flag); |
779 | asmlinkage long sys_fstatat64(int dfd, const char __user *filename, | 779 | asmlinkage long sys_fstatat64(int dfd, const char __user *filename, |