summaryrefslogtreecommitdiff
path: root/arch/arm64/include/asm/unistd32.h
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2021-05-17 14:39:56 +0200
committerJan Kara <jack@suse.cz>2021-05-17 14:39:56 +0200
commit5b9fedb31e476693c90d8ee040e7d4c51b3e7cc4 (patch)
tree60d2a9c9b90ea7c01f75a289e77422a6188f5baf /arch/arm64/include/asm/unistd32.h
parent8c721cb0f742f9a01f2f1985b274b544f89904f4 (diff)
quota: Disable quotactl_path syscall
In commit fa8b90070a80 ("quota: wire up quotactl_path") we have wired up new quotactl_path syscall. However some people in LWN discussion have objected that the path based syscall is missing dirfd and flags argument which is mostly standard for contemporary path based syscalls. Indeed they have a point and after a discussion with Christian Brauner and Sascha Hauer I've decided to disable the syscall for now and update its API. Since there is no userspace currently using that syscall and it hasn't been released in any major release, we should be fine. CC: Christian Brauner <christian.brauner@ubuntu.com> CC: Sascha Hauer <s.hauer@pengutronix.de> Link: https://lore.kernel.org/lkml/20210512153621.n5u43jsytbik4yze@wittgenstein Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'arch/arm64/include/asm/unistd32.h')
-rw-r--r--arch/arm64/include/asm/unistd32.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm64/include/asm/unistd32.h b/arch/arm64/include/asm/unistd32.h
index 7859749d6628..5dab69d2c22b 100644
--- a/arch/arm64/include/asm/unistd32.h
+++ b/arch/arm64/include/asm/unistd32.h
@@ -893,8 +893,7 @@ __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)
+/* 443 is reserved for quotactl_path */
#define __NR_landlock_create_ruleset 444
__SYSCALL(__NR_landlock_create_ruleset, sys_landlock_create_ruleset)
#define __NR_landlock_add_rule 445