From owner-cvs-all Wed Aug 30 6:23:22 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id CB36037B43E; Wed, 30 Aug 2000 06:23:19 -0700 (PDT) Received: (from rwatson@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id GAA07228; Wed, 30 Aug 2000 06:23:19 -0700 (PDT) (envelope-from rwatson@FreeBSD.org) Message-Id: <200008301323.GAA07228@freefall.freebsd.org> From: Robert Watson Date: Wed, 30 Aug 2000 06:23:19 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/linux/linprocfs linprocfs_vnops.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG rwatson 2000/08/30 06:23:19 PDT Modified files: sys/i386/linux/linprocfs linprocfs_vnops.c Log: o Update linprocfs to include similar changes as those in procfs, fixing the build (oops!): replace calls to p_trespass() and PRISON_CHECK() with p_can(..., {P_CAN_SEE, P_CAN_DEBUG}, NULL) o Remove volatile usage from procfs_readdir() to remove warnings o Apply bp's CREATE fix to linprocfs, causing EROFS to be returned on CREATE calls to procfs_lookup() o Some further synchronization still needs to occur: only existing access checks were replaced, to fix the build--the new ones were not added. I'll do this later today, this is a "fix the build quickly" commit. This means that, in the interim, some information leakage can still occur via linprocfs when using jail or kern.ps_showallprocs Submitted by: knu Approved by: des Obtained from: TrustedBSD Project Revision Changes Path 1.4 +10 -9 src/sys/i386/linux/linprocfs/linprocfs_vnops.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message