From owner-cvs-all@FreeBSD.ORG Wed Apr 18 15:24:48 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CCF0916A400; Wed, 18 Apr 2007 15:24:48 +0000 (UTC) (envelope-from pjd@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id A5CA013C46E; Wed, 18 Apr 2007 15:24:48 +0000 (UTC) (envelope-from pjd@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l3IFOmOb075135; Wed, 18 Apr 2007 15:24:48 GMT (envelope-from pjd@repoman.freebsd.org) Received: (from pjd@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l3IFOm6m075134; Wed, 18 Apr 2007 15:24:48 GMT (envelope-from pjd) Message-Id: <200704181524.l3IFOm6m075134@repoman.freebsd.org> From: Pawel Jakub Dawidek Date: Wed, 18 Apr 2007 15:24:48 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/compat/opensolaris/kern opensolaris_vfs.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Apr 2007 15:24:48 -0000 pjd 2007-04-18 15:24:48 UTC FreeBSD src repository Modified files: sys/compat/opensolaris/kern opensolaris_vfs.c Log: 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