Re: [PATCH v4 3/5] arch: Register fchmodat2, usually as syscall 452
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Christian Brauner <brauner@xxxxxxxxxx>
- Subject: Re: [PATCH v4 3/5] arch: Register fchmodat2, usually as syscall 452
- From: Aleksa Sarai <cyphar@xxxxxxxxxx>
- Date: Fri, 28 Jul 2023 03:42:22 +1000
- Cc: Alexey Gladkov <legion@xxxxxxxxxx>, LKML <linux-kernel@xxxxxxxxxxxxxxx>, Arnd Bergmann <arnd@xxxxxxxx>, linux-api@xxxxxxxxxxxxxxx, linux-fsdevel@xxxxxxxxxxxxxxx, viro@xxxxxxxxxxxxxxxxxx, Palmer Dabbelt <palmer@xxxxxxxxxx>, James.Bottomley@xxxxxxxxxxxxxxxxxxxxx, acme@xxxxxxxxxx, alexander.shishkin@xxxxxxxxxxxxxxx, axboe@xxxxxxxxx, benh@xxxxxxxxxxxxxxxxxxx, borntraeger@xxxxxxxxxx, bp@xxxxxxxxx, catalin.marinas@xxxxxxx, christian@xxxxxxxxxx, dalias@xxxxxxxx, davem@xxxxxxxxxxxxx, deepa.kernel@xxxxxxxxx, deller@xxxxxx, dhowells@xxxxxxxxxx, fenghua.yu@xxxxxxxxx, fweimer@xxxxxxxxxx, geert@xxxxxxxxxxxxxx, glebfm@xxxxxxxxxxxx, gor@xxxxxxxxxxxxx, hare@xxxxxxxx, hpa@xxxxxxxxx, ink@xxxxxxxxxxxxxxxxxxxx, jhogan@xxxxxxxxxx, kim.phillips@xxxxxxx, ldv@xxxxxxxxxxxx, linux-alpha@xxxxxxxxxxxxxxx, linux-arch@xxxxxxxxxxxxxxx, linux-ia64@xxxxxxxxxxxxxxx, linux-m68k@xxxxxxxxxxxxxxx, linux-mips@xxxxxxxxxxxxxxx, linux-parisc@xxxxxxxxxxxxxxx, linux-s390@xxxxxxxxxxxxxxx, linux-sh@xxxxxxxxxxxxxxx, linux@xxxxxxxxxxxxxxx, linuxppc-dev@xxxxxxxxxxxxxxxx, luto@xxxxxxxxxx, mattst88@xxxxxxxxx, mingo@xxxxxxxxxx, monstr@xxxxxxxxx, mpe@xxxxxxxxxxxxxx, namhyung@xxxxxxxxxx, paulus@xxxxxxxxx, peterz@xxxxxxxxxxxxx, ralf@xxxxxxxxxxxxxx, sparclinux@xxxxxxxxxxxxxxx, stefan@xxxxxxxx, tglx@xxxxxxxxxxxxx, tony.luck@xxxxxxxxx, tycho@xxxxxxxx, will@xxxxxxxxxx, x86@xxxxxxxxxx, ysato@xxxxxxxxxxxxx
- In-reply-to: <20230727-fangen-olympiade-85fcbdaf03d7@brauner>
- References: <cover.1689074739.git.legion@kernel.org> <cover.1689092120.git.legion@kernel.org> <a677d521f048e4ca439e7080a5328f21eb8e960e.1689092120.git.legion@kernel.org> <nbtxxotfsotuiepm7r4tegc4hy5qxe4dfjuqq7rm6qkkevooxh@4hacgjwit4or> <20230727-fangen-olympiade-85fcbdaf03d7@brauner>
On 2023-07-27, Christian Brauner <brauner@xxxxxxxxxx> wrote:
> On Wed, Jul 26, 2023 at 02:43:41AM +1000, Aleksa Sarai wrote:
> > On 2023-07-11, Alexey Gladkov <legion@xxxxxxxxxx> wrote:
> > > From: Palmer Dabbelt <palmer@xxxxxxxxxx>
> > >
> > > This registers the new fchmodat2 syscall in most places as nuber 452,
> > > with alpha being the exception where it's 562. I found all these sites
> > > by grepping for fspick, which I assume has found me everything.
> >
> > Shouldn't this patch be squashed with the patch that adds the syscall?
> > At least, that's how I've usually seen it done...
>
> Depends. Iirc, someone said they'd prefer for doing it in one patch
> in some circumstances on some system call we added years ago. But otoh,
> having the syscall wiring done separately makes it easy for arch
> maintainers to ack only the wiring up part. Both ways are valid imho.
> (cachestat() did it for x86 and then all the others separately. So
> really it seems a bit all over the place depending on the scenario.)
Fair enough!
--
Aleksa Sarai
Senior Software Engineer (Containers)
SUSE Linux GmbH
<https://www.cyphar.com/>
Attachment:
signature.asc
Description: PGP signature
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]