Thread (4 messages) flat view 4 messages, 3 authors, 2023-01-31

Re: [PATCH v4] fcntl: Add 32bit filesystem mode

From: Linus Walleij <hidden>
Date: 2022-05-19 21:02:13
Also in: linux-ext4, linux-fsdevel, qemu-devel

On Thu, May 19, 2022 at 4:23 PM Icenowy Zheng [off-list ref] wrote:
在 2020-11-18星期三的 00:39 +0100,Linus Walleij写道:
quoted
It was brought to my attention that this bug from 2018 was
still unresolved: 32 bit emulators like QEMU were given
64 bit hashes when running 32 bit emulation on 64 bit systems.
Sorry for replying such an old mail, but I found that using 32-bit file
syscalls in 32-bit QEMU user on 64-bit hosts are still broken today,
and google sent me here.
Yeah the bug was 2 years old when I started patching it and now it
is 4 years old...
This mail does not get any reply according to linux-ext4 patchwork, so
could I ping it?
I suppose, I think the patch is authored according to the maintainer
requirements, but I'm happy to revise and resend it if it no longer
applies.

Arnd and others suggested to maybe use F_SETFL instead:
https://lore.kernel.org/linux-fsdevel/CAK8P3a2SN2zeK=dj01Br-m86rJmK8mOyH=gHAidwSPgKAEthVw@mail.gmail.com/ (local)

I am happy to do it either way by need to have some input from the
maintainer (Ted). Maybe someone else on the fsdevel list want to
chime in? Maybe any FS maintainer can actually apply this?

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help