[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210615084728.GG29751@quack2.suse.cz>
Date: Tue, 15 Jun 2021 10:47:28 +0200
From: Jan Kara <jack@...e.cz>
To: Marcin Juszkiewicz <marcin@...zkiewicz.com.pl>
Cc: Arnd Bergmann <arnd@...db.de>, linux-kernel@...r.kernel.org,
Jan Kara <jack@...e.cz>,
Christian Brauner <christian.brauner@...ntu.com>,
Sascha Hauer <s.hauer@...gutronix.de>,
linux-arch@...r.kernel.org
Subject: Re: [PATCH] quota: finish disable quotactl_path syscall
On Mon 14-06-21 18:44:54, Jan Kara wrote:
> On Mon 14-06-21 17:37:12, Marcin Juszkiewicz wrote:
> > 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@...e.cz>
> > CC: Christian Brauner <christian.brauner@...ntu.com>
> > CC: Sascha Hauer <s.hauer@...gutronix.de>
> > Link: https://lore.kernel.org/lkml/20210512153621.n5u43jsytbik4yze@wittgenstein
> >
> > Signed-off-by: Marcin Juszkiewicz <marcin@...zkiewicz.com.pl>
>
> 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
> > diff --git a/include/uapi/asm-generic/unistd.h b/include/uapi/asm-generic/unistd.h
> > index 6de5a7fc066b..d2a942086fcb 100644
> > --- 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)
> > --
> > 2.31.1
> >
> --
> Jan Kara <jack@...e.com>
> SUSE Labs, CR
--
Jan Kara <jack@...e.com>
SUSE Labs, CR
Powered by blists - more mailing lists