aboutsummaryrefslogtreecommitdiffstats
path: root/fs/open.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/open.c')
-rw-r--r--fs/open.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/fs/open.c b/fs/open.c
index bc49e3c388d9..a3a78ceb2a2b 100644
--- a/fs/open.c
+++ b/fs/open.c
@@ -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 */
450asmlinkage long sys_faccessat(int dfd, const char __user *filename, int mode) 450SYSCALL_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
631asmlinkage long sys_fchmodat(int dfd, const char __user *filename, 631SYSCALL_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
710asmlinkage long sys_fchownat(int dfd, const char __user *filename, uid_t user, 709SYSCALL_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
1063asmlinkage long sys_openat(int dfd, const char __user *filename, int flags, 1062SYSCALL_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