OpenCloudOS-Kernel/fs/fuse
Alessio Balsini f8425c9396 fuse: 32-bit user space ioctl compat for fuse device
With a 64-bit kernel build the FUSE device cannot handle ioctl requests
coming from 32-bit user space.  This is due to the ioctl command
translation that generates different command identifiers that thus cannot
be used for direct comparisons without proper manipulation.

Explicitly extract type and number from the ioctl command to enable 32-bit
user space compatibility on 64-bit kernel builds.

Signed-off-by: Alessio Balsini <balsini@android.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
2021-03-16 15:20:16 +01:00
..
Kconfig virtiofs: implement dax read/write operations 2020-09-10 11:39:23 +02:00
Makefile virtiofs: add a mount option to enable dax 2020-09-10 11:39:22 +02:00
acl.c fs: make helpers idmap mount aware 2021-01-24 14:27:20 +01:00
control.c fuse: split fuse_mount off of fuse_conn 2020-09-18 15:17:41 +02:00
cuse.c fuse: split fuse_mount off of fuse_conn 2020-09-18 15:17:41 +02:00
dax.c fuse: split fuse_mount off of fuse_conn 2020-09-18 15:17:41 +02:00
dev.c fuse: 32-bit user space ioctl compat for fuse device 2021-03-16 15:20:16 +01:00
dir.c fs: make helpers idmap mount aware 2021-01-24 14:27:20 +01:00
file.c fuse: fix bad inode 2020-12-10 15:33:14 +01:00
fuse_i.h fuse: fix live lock in fuse_iget() 2021-03-04 13:36:46 +01:00
inode.c fuse: fix bad inode 2020-12-10 15:33:14 +01:00
readdir.c fuse: fix bad inode 2020-12-10 15:33:14 +01:00
virtio_fs.c virtiofs: Fail dax mount if device does not support it 2021-03-05 15:46:47 +01:00
xattr.c acl: handle idmapped mounts 2021-01-24 14:27:17 +01:00