diff options
Diffstat (limited to 'fs/open.c')
-rw-r--r-- | fs/open.c | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -447,7 +447,7 @@ SYSCALL_ALIAS(sys_fallocate, SyS_fallocate); | |||
447 | * We do this by temporarily clearing all FS-related capabilities and | 447 | * We do this by temporarily clearing all FS-related capabilities and |
448 | * switching the fsuid/fsgid around to the real ones. | 448 | * switching the fsuid/fsgid around to the real ones. |
449 | */ | 449 | */ |
450 | asmlinkage long sys_faccessat(int dfd, const char __user *filename, int mode) | 450 | SYSCALL_DEFINE3(faccessat, int, dfd, const char __user *, filename, int, mode) |
451 | { | 451 | { |
452 | const struct cred *old_cred; | 452 | const struct cred *old_cred; |
453 | struct cred *override_cred; | 453 | struct cred *override_cred; |
@@ -628,8 +628,7 @@ out: | |||
628 | return err; | 628 | return err; |
629 | } | 629 | } |
630 | 630 | ||
631 | asmlinkage long sys_fchmodat(int dfd, const char __user *filename, | 631 | SYSCALL_DEFINE3(fchmodat, int, dfd, const char __user *, filename, mode_t, mode) |
632 | mode_t mode) | ||
633 | { | 632 | { |
634 | struct path path; | 633 | struct path path; |
635 | struct inode *inode; | 634 | struct inode *inode; |
@@ -707,8 +706,8 @@ out: | |||
707 | return error; | 706 | return error; |
708 | } | 707 | } |
709 | 708 | ||
710 | asmlinkage long sys_fchownat(int dfd, const char __user *filename, uid_t user, | 709 | SYSCALL_DEFINE5(fchownat, int, dfd, const char __user *, filename, uid_t, user, |
711 | gid_t group, int flag) | 710 | gid_t, group, int, flag) |
712 | { | 711 | { |
713 | struct path path; | 712 | struct path path; |
714 | int error = -EINVAL; | 713 | int error = -EINVAL; |
@@ -1060,8 +1059,8 @@ SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, int, mode) | |||
1060 | return ret; | 1059 | return ret; |
1061 | } | 1060 | } |
1062 | 1061 | ||
1063 | asmlinkage long sys_openat(int dfd, const char __user *filename, int flags, | 1062 | SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags, |
1064 | int mode) | 1063 | int, mode) |
1065 | { | 1064 | { |
1066 | long ret; | 1065 | long ret; |
1067 | 1066 | ||