summaryrefslogtreecommitdiff
path: root/fs/fuse/virtio_fs.c
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@redhat.com>2020-05-19 15:50:37 +0300
committerMiklos Szeredi <mszeredi@redhat.com>2020-05-19 15:50:37 +0300
commit5157da2ca42cbeca01709e29ce7b797cffed2432 (patch)
tree6d46fbd5faea1d2a8c5bff2d14c1be1535d7bd86 /fs/fuse/virtio_fs.c
parent614c026e8a46636198da93ec30719f93975bb26a (diff)
downloadlinux-5157da2ca42cbeca01709e29ce7b797cffed2432.tar.xz
fuse: always allow query of st_dev
Fuse mounts without "allow_other" are off-limits to all non-owners. Yet it makes sense to allow querying st_dev on the root, since this value is provided by the kernel, not the userspace filesystem. Allow statx(2) with a zero request mask to succeed on a fuse mounts for all users. Reported-by: Nikolaus Rath <Nikolaus@rath.org> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/fuse/virtio_fs.c')
0 files changed, 0 insertions, 0 deletions