freebsd-skq/sys/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
..
freebsd32 Regen. 2006-12-20 19:39:10 +00:00
ia32 Move some declaration of 32-bit signal structures into file 2006-10-05 01:56:11 +00:00
linprocfs Whitespace cleanup. 2007-04-15 17:02:03 +00:00
linsysfs Add a pn_destroy field to pfs_node. This field points to a destructor 2007-03-12 12:16:52 +00:00
linux Some Linux applications (ping) pass a non-NULL msg_control argument to 2007-04-14 10:35:09 +00:00
ndis We have strcasecmp() in libkern now. 2007-04-06 11:18:57 +00:00
netbsd Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
opensolaris MFp4: Fix automatic snapshot mount when unprivileged user does lookup 2007-04-18 15:24:48 +00:00
pecoff remove dead code 2005-02-22 01:26:48 +00:00
svr4 Replace custom file descriptor array sleep lock constructed using a mutex 2007-04-04 09:11:34 +00:00