freebsd-dev/sys/cddl/compat/opensolaris/kern
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_kmem.c Try to stabilize ZFS with regard to memory consumption: 2007-04-10 02:35:57 +00:00
opensolaris_kobj.c Extend kobj compatibility KPI to support operating on files before and 2007-04-08 23:57:08 +00:00
opensolaris_kstat.c
opensolaris_misc.c
opensolaris_policy.c
opensolaris_string.c strchr() and strrchr() are already present in the kernel, but with less 2007-04-10 21:42:12 +00:00
opensolaris_vfs.c MFp4: Fix automatic snapshot mount when unprivileged user does lookup 2007-04-18 15:24:48 +00:00
opensolaris_zone.c