From owner-cvs-all Fri Sep 28 17:49:33 2001 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 AA94D37B40D; Fri, 28 Sep 2001 17:49:29 -0700 (PDT) Received: (from des@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f8T0nT532156; Fri, 28 Sep 2001 17:49:29 -0700 (PDT) (envelope-from des) Message-Id: <200109290049.f8T0nT532156@freefall.freebsd.org> From: Dag-Erling Smorgrav Date: Fri, 28 Sep 2001 17:49:29 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/fs/pseudofs pseudofs.c pseudofs.h pseudofs_vnops.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG des 2001/09/28 17:49:29 PDT Modified files: sys/fs/pseudofs pseudofs.c pseudofs.h pseudofs_vnops.c Log: Pseudofs take 2: - Remove hardcoded uid, gid, mode from struct pfs_node; make pfs_getattr() smart enough to get it right most of the time, and allow for callbacks to handle the remaining cases. Rework the definition macros to match. - Add lots of (conditional) debugging output. - Fix a long-standing bug inherited from procfs: don't pretend to be a read-only file system. Instead, return EOPNOTSUPP for operations we truly can't support and allow others to fail silently. In particular, pfs_lookup() now treats CREATE as LOOKUP. This may need more work. - In pfs_lookup(), if the parent node is process-dependent, check that the process in question still exists. - Implement pfs_open() - its only current function is to check that the process opening the file can see the process it belongs to. - Finish adding support for writeable nodes. - Bump module version number. - Introduce lots of new bugs. Revision Changes Path 1.5 +2 -2 src/sys/fs/pseudofs/pseudofs.c 1.8 +35 -23 src/sys/fs/pseudofs/pseudofs.h 1.12 +136 -32 src/sys/fs/pseudofs/pseudofs_vnops.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message