]> Git Repo - linux.git/commitdiff
quota: wire up quotactl_path
authorSascha Hauer <[email protected]>
Thu, 4 Mar 2021 12:35:40 +0000 (13:35 +0100)
committerJan Kara <[email protected]>
Wed, 17 Mar 2021 14:51:17 +0000 (15:51 +0100)
Wire up the quotactl_path syscall added in the previous patch.

Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sascha Hauer <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
21 files changed:
arch/alpha/kernel/syscalls/syscall.tbl
arch/arm/tools/syscall.tbl
arch/arm64/include/asm/unistd.h
arch/arm64/include/asm/unistd32.h
arch/ia64/kernel/syscalls/syscall.tbl
arch/m68k/kernel/syscalls/syscall.tbl
arch/microblaze/kernel/syscalls/syscall.tbl
arch/mips/kernel/syscalls/syscall_n32.tbl
arch/mips/kernel/syscalls/syscall_n64.tbl
arch/mips/kernel/syscalls/syscall_o32.tbl
arch/parisc/kernel/syscalls/syscall.tbl
arch/powerpc/kernel/syscalls/syscall.tbl
arch/s390/kernel/syscalls/syscall.tbl
arch/sh/kernel/syscalls/syscall.tbl
arch/sparc/kernel/syscalls/syscall.tbl
arch/x86/entry/syscalls/syscall_32.tbl
arch/x86/entry/syscalls/syscall_64.tbl
arch/xtensa/kernel/syscalls/syscall.tbl
include/linux/syscalls.h
include/uapi/asm-generic/unistd.h
kernel/sys_ni.c

index 02f0244e005c67f5544dc09e2a7a71d67fc916d0..c5f7e595adab48d44a59e21fdfaf81d35434883a 100644 (file)
 550    common  process_madvise                 sys_process_madvise
 551    common  epoll_pwait2                    sys_epoll_pwait2
 552    common  mount_setattr                   sys_mount_setattr
+553    common  quotactl_path                   sys_quotactl_path
index dcc1191291a225509693b769ecee3be417403a34..90cbe207cf3e7160b5ab12ff418efb760c48cdfb 100644 (file)
 440    common  process_madvise                 sys_process_madvise
 441    common  epoll_pwait2                    sys_epoll_pwait2
 442    common  mount_setattr                   sys_mount_setattr
+443    common  quotactl_path                   sys_quotactl_path
index 949788f5ba4007049d0e92b55895ef738c1949fa..d1f7d35f986ea71f3fbd1f8aa9828eb656c451f6 100644 (file)
@@ -38,7 +38,7 @@
 #define __ARM_NR_compat_set_tls                (__ARM_NR_COMPAT_BASE + 5)
 #define __ARM_NR_COMPAT_END            (__ARM_NR_COMPAT_BASE + 0x800)
 
-#define __NR_compat_syscalls           443
+#define __NR_compat_syscalls           444
 #endif
 
 #define __ARCH_WANT_SYS_CLONE
index 3d874f624056b15b7e948d4c6821261f3907d4f5..8361c5138e5f975cf5683a1546b4ca7ea5413539 100644 (file)
@@ -893,6 +893,8 @@ __SYSCALL(__NR_process_madvise, sys_process_madvise)
 __SYSCALL(__NR_epoll_pwait2, compat_sys_epoll_pwait2)
 #define __NR_mount_setattr 442
 __SYSCALL(__NR_mount_setattr, sys_mount_setattr)
+#define __NR_quotactl_path 443
+__SYSCALL(__NR_quotactl_path, sys_quotactl_path)
 
 /*
  * Please add new compat syscalls above this comment and update
index d89231166e19efbdae049f28da2194e34969da58..c072cd459bb5472ac621096d45e2fd1a6f46e66d 100644 (file)
 440    common  process_madvise                 sys_process_madvise
 441    common  epoll_pwait2                    sys_epoll_pwait2
 442    common  mount_setattr                   sys_mount_setattr
+443    common  quotactl_path                   sys_quotactl_path
index 72bde6707dd33c311b5f239542279cc554bccb2b..5e9f81073ff4f1bdb6e1d964594ff4e982867c8b 100644 (file)
 440    common  process_madvise                 sys_process_madvise
 441    common  epoll_pwait2                    sys_epoll_pwait2
 442    common  mount_setattr                   sys_mount_setattr
+443    common  quotactl_path                   sys_quotactl_path
index d603a5ec933865b1876267e6e1bf5e57e0044137..8e74d690c64d248d421d958884baeba798c865c9 100644 (file)
 440    common  process_madvise                 sys_process_madvise
 441    common  epoll_pwait2                    sys_epoll_pwait2
 442    common  mount_setattr                   sys_mount_setattr
+443    common  quotactl_path                   sys_quotactl_path
index 8fd8c1790941c66048d8f90763dc29f9bdd74571..6f397e56926f196e61d3b56fb9afb488a32d59f0 100644 (file)
 440    n32     process_madvise                 sys_process_madvise
 441    n32     epoll_pwait2                    compat_sys_epoll_pwait2
 442    n32     mount_setattr                   sys_mount_setattr
+443    n32     quotactl_path                   sys_quotactl_path
index 169f21438065b58d0722445fb1f4afe16ff16a27..ab85a357c4fa6db6670e50f3d699ccebf9354f25 100644 (file)
 440    n64     process_madvise                 sys_process_madvise
 441    n64     epoll_pwait2                    sys_epoll_pwait2
 442    n64     mount_setattr                   sys_mount_setattr
+443    n64     quotactl_path                   sys_quotactl_path
index 090d29ca80ff8fefb7ef4f962f69371189c3ae61..9c4cd2b40b38393f6a51ba94cd1d58fbf6797a1a 100644 (file)
 440    o32     process_madvise                 sys_process_madvise
 441    o32     epoll_pwait2                    sys_epoll_pwait2                compat_sys_epoll_pwait2
 442    o32     mount_setattr                   sys_mount_setattr
+443    o32     quotactl_path                   sys_quotactl_path
index 271a9251968345de67e53a2f2f9ad1ba5aa855dd..80fba3f7d47b2868e71f22b2c9ff53e59c8f429a 100644 (file)
 440    common  process_madvise                 sys_process_madvise
 441    common  epoll_pwait2                    sys_epoll_pwait2                compat_sys_epoll_pwait2
 442    common  mount_setattr                   sys_mount_setattr
+443    common  quotactl_path                   sys_quotactl_path
index 0b2480cf3e4793bdedf18942696d8b2f118aa564..f66f9c9b9d6cf4b7af7029e6da1710bd5efd8e21 100644 (file)
 440    common  process_madvise                 sys_process_madvise
 441    common  epoll_pwait2                    sys_epoll_pwait2                compat_sys_epoll_pwait2
 442    common  mount_setattr                   sys_mount_setattr
+443    common  quotactl_path                   sys_quotactl_path
index 3abef2144dac79b69b25852ce28ffb2e5b284afe..a421905c36e884a47e33e6877255961e7e6adf42 100644 (file)
 440  common    process_madvise         sys_process_madvise             sys_process_madvise
 441  common    epoll_pwait2            sys_epoll_pwait2                compat_sys_epoll_pwait2
 442  common    mount_setattr           sys_mount_setattr               sys_mount_setattr
+443  common    quotactl_path           sys_quotactl_path               sys_quotactl_path
index d08eebad6b7f394cf3bd10a469a179edd14368e3..f68517aaa4f1866d131848bf22572ba04f53fbd0 100644 (file)
 440    common  process_madvise                 sys_process_madvise
 441    common  epoll_pwait2                    sys_epoll_pwait2
 442    common  mount_setattr                   sys_mount_setattr
+443    common  quotactl_path                   sys_quotactl_path
index 84403a99039c819c1c43b3600105b5b7cd87a49f..3ee82321504d3995283d6d6ee8495f946b9454f8 100644 (file)
 440    common  process_madvise                 sys_process_madvise
 441    common  epoll_pwait2                    sys_epoll_pwait2                compat_sys_epoll_pwait2
 442    common  mount_setattr                   sys_mount_setattr
+443    common  quotactl_path                   sys_quotactl_path
index a1c9f496fca6a2bfb44e761b2c5a18199b57d1c7..f52a443eede017558604e78487a673b489cce723 100644 (file)
 440    i386    process_madvise         sys_process_madvise
 441    i386    epoll_pwait2            sys_epoll_pwait2                compat_sys_epoll_pwait2
 442    i386    mount_setattr           sys_mount_setattr
+443    i386    quotactl_path           sys_quotactl_path
index 7bf01cbe582f03bc26adb4092bb9023384ec217f..7eb007b8cab5978b11ada91581954ea214c25768 100644 (file)
 440    common  process_madvise         sys_process_madvise
 441    common  epoll_pwait2            sys_epoll_pwait2
 442    common  mount_setattr           sys_mount_setattr
+443    common  quotactl_path           sys_quotactl_path
 
 #
 # Due to a historical design error, certain syscalls are numbered differently
index 365a9b84922482f194962e6744be37a9a82990bd..c71cc45633deca15654abdfeae378429b503adca 100644 (file)
 440    common  process_madvise                 sys_process_madvise
 441    common  epoll_pwait2                    sys_epoll_pwait2
 442    common  mount_setattr                   sys_mount_setattr
+443    common  quotactl_path                   sys_quotactl_path
index 2839dc9a7c01ac9b1e952851f0143ee5c03052c2..a672bbe28577058b29f8849c5789632b5ce971fb 100644 (file)
@@ -483,6 +483,8 @@ asmlinkage long sys_pipe2(int __user *fildes, int flags);
 /* fs/quota.c */
 asmlinkage long sys_quotactl(unsigned int cmd, const char __user *special,
                                qid_t id, void __user *addr);
+asmlinkage long sys_quotactl_path(unsigned int cmd, const char __user *mountpoint,
+                                 qid_t id, void __user *addr);
 
 /* fs/readdir.c */
 asmlinkage long sys_getdents64(unsigned int fd,
index ce58cff99b66530a02e2bc85c7264b236f5b343d..739c839d28fef3500d02a2b8f3bfec1f3f1d5eef 100644 (file)
@@ -863,9 +863,11 @@ __SYSCALL(__NR_process_madvise, sys_process_madvise)
 __SC_COMP(__NR_epoll_pwait2, sys_epoll_pwait2, compat_sys_epoll_pwait2)
 #define __NR_mount_setattr 442
 __SYSCALL(__NR_mount_setattr, sys_mount_setattr)
+#define __NR_quotactl_path 443
+__SYSCALL(__NR_quotactl_path, sys_quotactl_path)
 
 #undef __NR_syscalls
-#define __NR_syscalls 443
+#define __NR_syscalls 444
 
 /*
  * 32 bit systems traditionally used different
index 19aa806890d52f62aff18e151ec659448fae0ca9..d2443178241403e7c8fcf9175aa6fca5acf9fe49 100644 (file)
@@ -99,6 +99,7 @@ COND_SYSCALL(flock);
 
 /* fs/quota.c */
 COND_SYSCALL(quotactl);
+COND_SYSCALL(quotactl_path);
 
 /* fs/readdir.c */
 
This page took 0.142878 seconds and 4 git commands to generate.