projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f644bc4
)
quota: finish disable quotactl_path syscall
author
Marcin Juszkiewicz
<marcin@juszkiewicz.com.pl>
Mon, 14 Jun 2021 15:37:12 +0000
(17:37 +0200)
committer
Jan Kara
<jack@suse.cz>
Tue, 15 Jun 2021 09:22:45 +0000
(11:22 +0200)
In commit
5b9fedb31e47
("quota: Disable quotactl_path syscall") Jan Kara
disabled quotactl_path syscall on several architectures.
This commit disables it on all architectures using unified list of
system calls:
- arm64
- arc
- csky
- h8300
- hexagon
- nds32
- nios2
- openrisc
- riscv (32/64)
CC: Jan Kara <jack@suse.cz>
CC: Christian Brauner <christian.brauner@ubuntu.com>
CC: Sascha Hauer <s.hauer@pengutronix.de>
Link:
https://lore.kernel.org/lkml/20210512153621.n5u43jsytbik4yze@wittgenstein
Link:
https://lore.kernel.org/r/20210614153712.313707-1-marcin@juszkiewicz.com.pl
Fixes: 5b9fedb31e47 ("quota: Disable quotactl_path syscall")
Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
Signed-off-by: Jan Kara <jack@suse.cz>
include/uapi/asm-generic/unistd.h
patch
|
blob
|
history
diff --git
a/include/uapi/asm-generic/unistd.h
b/include/uapi/asm-generic/unistd.h
index 6de5a7fc066b8fd4ca47dd276e0b899fad1658cf..d2a942086fcb6ef408de172395cdabf52dc5ad0b 100644
(file)
--- a/
include/uapi/asm-generic/unistd.h
+++ b/
include/uapi/asm-generic/unistd.h
@@
-863,8
+863,7
@@
__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)
+/* 443 is reserved for quotactl_path */
#define __NR_landlock_create_ruleset 444
__SYSCALL(__NR_landlock_create_ruleset, sys_landlock_create_ruleset)