Skip to contentSkip to conversation

quota: finish disable quotactl_path syscall

PATCH In review Marcin Juszkiewicz 4 participants 6 messages Jun 14, 2021 – Jun 15, 2021 Generic include/asm header files

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 quota: finish disable quotactl_path syscall

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)

---
 include/uapi/asm-generic/unistd.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
include/uapi/asm-generic/unistd.h +1 -2
index 6de5a7fc066b..d2a942086fcb 100644
@@ -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)
Signature · 1 line
2.31.1
#1 lore raw
Quoted 16 lines · Marcin Juszkiewicz

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)

Quoted 6 lines

Aha, I've missed that one. Thanks for catching this. Arnd, will you take this patch or should I take it through my tree?

Honza

Quoted 21 lines
---
 include/uapi/asm-generic/unistd.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
include/uapi/asm-generic/unistd.h +1 -2
index 6de5a7fc066b..d2a942086fcb 100644
@@ -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)
Signature · 1 line
2.31.1
Signature · 2 lines
Jan Kara <[email protected]>
SUSE Labs, CR
#2 lore raw
Quoted 22 lines · Jan Kara
Quoted 21 lines · Marcin Juszkiewicz

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)

Quoted 4 lines
Quoted 1 line

Aha, I've missed that one. Thanks for catching this. Arnd, will you take this patch or should I take it through my tree?

OK, I want this to make it for rc7 so I've pulled this patch to my tree and will push it to Linus in a few days.

Honza

Quoted 20 lines
Quoted 17 lines
include/uapi/asm-generic/unistd.h +1 -2
index 6de5a7fc066b..d2a942086fcb 100644
@@ -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)
Signature · 1 line
2.31.1
Signature · 2 lines
Jan Kara <[email protected]>
SUSE Labs, CR
Signature · 2 lines
Jan Kara <[email protected]>
SUSE Labs, CR
#3 lore raw
Quoted 23 lines · Jan Kara
Quoted 22 lines · Jan Kara
Quoted 21 lines · Marcin Juszkiewicz

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)

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

Aha, I've missed that one. Thanks for catching this. Arnd, will you take this patch or should I take it through my tree?

OK, I want this to make it for rc7 so I've pulled this patch to my tree and will push it to Linus in a few days.

Looks good, thanks!

Quoted 26 lines

Honza

Quoted 20 lines
Quoted 17 lines
include/uapi/asm-generic/unistd.h +1 -2
index 6de5a7fc066b..d2a942086fcb 100644
@@ -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)
Signature · 1 line
2.31.1
Signature · 2 lines
Jan Kara <[email protected]>
SUSE Labs, CR
Signature · 2 lines
Jan Kara <[email protected]>
SUSE Labs, CR
maintainer
#4 lore raw
In reply to Jan Kara
Quoted 23 lines · Jan Kara
Quoted 21 lines · Marcin Juszkiewicz

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)

Quoted 4 lines
Quoted 1 line

Aha, I've missed that one. Thanks for catching this. Arnd, will you take this patch or should I take it through my tree?

I don't have any other fixes for 5.13 at the moment, so I would prefer it if you could pick it up.

Arnd

#5 lore raw
Quoted 24 lines · Arnd Bergmann
Quoted 23 lines · Jan Kara
Quoted 21 lines · Marcin Juszkiewicz

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)

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

Aha, I've missed that one. Thanks for catching this. Arnd, will you take this patch or should I take it through my tree?

I don't have any other fixes for 5.13 at the moment, so I would prefer it if you could pick it up.

OK, thanks for letting me know. I've picked it up.

Honza

Signature · 2 lines
Jan Kara <[email protected]>
SUSE Labs, CR