cvs commit: src/sys/compat/opensolaris/kern opensolaris_vfs.c

Pawel Jakub Dawidek pjd at
Wed Apr 18 15:24:48 UTC 2007

pjd         2007-04-18 15:24:48 UTC

  FreeBSD src repository

  Modified files:
    sys/compat/opensolaris/kern opensolaris_vfs.c 
  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
  Revision  Changes    Path
  1.3       +9 -8      src/sys/compat/opensolaris/kern/opensolaris_vfs.c

More information about the cvs-src mailing list