From owner-cvs-sys Fri May 9 06:20:16 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id GAA00950 for cvs-sys-outgoing; Fri, 9 May 1997 06:20:16 -0700 (PDT) Received: from freefall.freebsd.org (freefall.cdrom.com [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id GAA00660; Fri, 9 May 1997 06:19:02 -0700 (PDT) From: Doug Rabson Received: (from dfr@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id GAA07325; Fri, 9 May 1997 06:18:42 -0700 (PDT) Date: Fri, 9 May 1997 06:18:42 -0700 (PDT) Message-Id: <199705091318.GAA07325@freefall.freebsd.org> To: CVS-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/nfs nfs_vnops.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dfr 97/05/09 06:18:42 Modified: sys/nfs nfs_vnops.c Log: Prevent a mapped root which appears on the server as e.g. nobody from accessing files which it shouldn't be able to. This required a better approximation of VOP_ACCESS for NFSv2 (NFSv3 already has an ACCESS rpc which is a better solution) and adding a call to VOP_ACCESS from VOP_LOOKUP. PR: kern/876, kern/2635 Submitted by: David Malone (for kern/2635) Revision Changes Path 1.48 +47 -3 src/sys/nfs/nfs_vnops.c