freebsd-skq/sys/cddl/compat
Pawel Jakub Dawidek 32371d2025 MFp4: Fix automatic snapshot mount when unprivileged user does lookup
on a snapshot directory:
- Remove PRIV_VFS_MOUNT check - regular users can mount snapshots
  via lookups on snapshot directory.
- Reset mount credential to kcred, so user won't be able to unmount
  the snapshot.
- Reset owner uid.
- Unlock vnode in case of a failure.

Reported by:	simokawa
2007-04-18 15:24:48 +00:00
..
opensolaris MFp4: Fix automatic snapshot mount when unprivileged user does lookup 2007-04-18 15:24:48 +00:00