linux/include
Alessio Balsini 37314b838d ANDROID: fuse/passthrough: API V2 with __u32 open argument
The initial FUSE passthrough interface has the issue of introducing an
ioctl which receives as a parameter a data structure containing a
pointer. What happens is that, depending on the architecture, the size
of this struct might change, and especially for 32-bit userspace running
on 64-bit kernel, the size mismatch results into different a single
ioctl the behavior of which depends on the data that is passed (e.g.,
with an enum). This is just a poor ioctl design as mentioned by Arnd
Bergmann [1].

Introduce the new FUSE_PASSTHROUGH_OPEN ioctl which only gets the fd of
the lower file system, which is a fixed-size __u32, dropping the
confusing fuse_passthrough_out data structure.

[1] https://lore.kernel.org/lkml/CAK8P3a2K2FzPvqBYL9W=Yut58SFXyetXwU4Fz50G5O3TsS0pPQ@mail.gmail.com/

Bug: 175195837
Signed-off-by: Alessio Balsini <balsini@google.com>
Change-Id: I486d71cbe20f3c0c87544fa75da4e2704fe57c7c
2021-05-27 14:40:29 +01:00
..
acpi Merge branches 'acpi-cppc', 'acpi-video' and 'acpi-utils' 2021-04-26 17:04:27 +02:00
asm-generic mm: remove xlate_dev_kmem_ptr() 2021-05-07 00:26:34 -07:00
clocksource ARM: platform support for Apple M1 2021-04-26 12:30:36 -07:00
crypto
drm Revert "FROMLIST: drm/prime: add support for virtio exported objects" 2021-05-27 13:04:53 +01:00
dt-bindings Merge d0034a7a4a Merge branch 'next' into for-linus into android-mainline 2021-05-13 12:37:29 +01:00
keys integrity-v5.13 2021-05-01 15:32:18 -07:00
kunit
kvm
linux Revert "BACKPORT: FROMLIST: pwm: Add support for different PWM output types" 2021-05-27 13:04:54 +01:00
math-emu
media Merge 16b3d0cf5b Merge tag 'sched-core-2021-04-28' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip into android-mainline 2021-05-10 10:28:52 +01:00
memory
misc
net Linux 5.13-rc2 2021-05-17 09:23:36 +02:00
pcmcia
ras
rdma
scsi SCSI misc on 20210428 2021-04-28 17:22:10 -07:00
soc Networking changes for 5.13. 2021-04-29 11:57:23 -07:00
sound Merge d652502ef4 Merge tag 'ovl-update-5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs into android-mainline 2021-05-12 15:54:32 +01:00
target
trace ANDROID: Improve OWNERS file definitions 2021-05-21 14:25:12 +00:00
uapi ANDROID: fuse/passthrough: API V2 with __u32 open argument 2021-05-27 14:40:29 +01:00
vdso
video
xen xen/arm: move xen_swiotlb_detect to arm/swiotlb-xen.h 2021-05-14 15:52:05 +02:00
OWNERS ANDROID: Improve OWNERS file definitions 2021-05-21 14:25:12 +00:00