HomeFreeBSD

fusefs: enforce -onoallow_other even beneath the mountpoint

Description

fusefs: enforce -onoallow_other even beneath the mountpoint

When -o allow_other is not in use, fusefs is supposed to prevent access to
the filesystem by any user other than the one who owns the daemon. Our
fusefs implementation was only enforcing that restriction at the mountpoint
itself. That was usually good enough because lookup usually descends from
the mountpoint. However, there are cases when it doesn't, such as when
using openat relative to a file beneath the mountpoint.

PR: 237052
Sponsored by: The FreeBSD Foundation

Details

Provenance
asomersAuthored on
Parents
rS345957: bhyve: Fix NVMe data structure copy to guest
Branches
Unknown
Tags
Unknown