freebsd-dev/sys/compat/opensolaris
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
..
kern MFp4: Fix automatic snapshot mount when unprivileged user does lookup 2007-04-18 15:24:48 +00:00
machine
rpc
sys strchr() and strrchr() are already present in the kernel, but with less 2007-04-10 21:42:12 +00:00