Commit Graph

687 Commits

Author SHA1 Message Date
ws 053f138dae Changes to VFS readdir semantics
NFS changes for better cookie support
ISOFS changes for better Rockridge support and support for generation numbers
1993-09-07 15:40:14 +00:00
pk dd119ec84b Implement setattr: mode for process entries; mode + uid/gid for the
PROCFS root directory.
Fixed omission in pfs_root() which came to light as a result of the above:
hold on to vnode for root dir.
1993-08-26 19:01:00 +00:00
mycroft ac815031d0 Um, last change was wrong. Instead, add 3 to the number of inodes (forget
about the root directory, too).
1993-08-25 14:41:19 +00:00
mycroft b3f22bcdcc Subtract to from the free count for `.' and `..', to maintain the fiction that
this is a real file system.
1993-08-25 14:35:20 +00:00
pk 1e37ac6db4 Fixed improperly initialized nfsnode in pfs_lookup() 1993-08-25 09:28:39 +00:00
pk 8dc35fb5d6 Fill inode fields in procfs_statfs(), in stead of block fields 1993-08-24 17:49:16 +00:00
pk 834a44f21f copyright update. 1993-08-24 16:47:23 +00:00
pk 0cbe77737a Rcs Id added. 1993-08-24 16:25:07 +00:00
pk 498189f379 Initial version of a proc filesystem. 1993-08-24 12:59:09 +00:00
mycroft 742dcd5655 RLIMIT_OFILE --> RLIMIT_NOFILE 1993-08-23 16:01:56 +00:00
cgd 4543c1ebfd changes from 0.9-ALPHA2 to 0.9-BETA 1993-08-23 04:59:38 +00:00
mycroft daa27b3c30 Make fdesc_print have a return type of void. 1993-08-02 23:01:49 +00:00
mycroft b4d9151681 Make kernfs_print have a return type of void. 1993-08-02 23:00:57 +00:00
mycroft 4862b84c92 Add RCS identifiers (this time on the correct side of the branch), and
incorporate recent changes in netbsd-0-9 branch.
1993-08-01 19:22:24 +00:00
andrew 0e6cb953ea ANSIfications - removed all implicit function return types and argument
definitions.  Ensured that all files include "systm.h" to gain access to
general prototypes.  Casts where necessary.
1993-06-27 06:01:27 +00:00
andrew 7b40766e79 ANSIfications - lots of function prototyping. 1993-06-27 05:58:59 +00:00
cgd c88530d318 give various filesystems their own vnode types 1993-06-07 05:25:16 +00:00
cgd c2bdec030c give miscfs filesystems their own mount structure malloc type. 1993-06-07 04:56:35 +00:00
cgd 6b5412e4fa add some more functionality: a setattr which supports chmod+chown+chgrp,
and the various support elsewhere to deal with it.
1993-05-28 16:47:02 +00:00
cgd 84a68c1180 add kernfs_access function, to kill kernfs security hole 1993-05-28 14:12:17 +00:00
cgd 7cef199976 make the sleeps on socket open interruptable. 1993-05-27 15:38:18 +00:00
cgd cd1bcbc8ca add rcs ids as necessary, and also clean up headers 1993-05-20 16:21:42 +00:00
cgd 868a2c5982 header cleanup 1993-05-20 04:01:30 +00:00
cgd 230dcf0d05 add $Id$ strings, and clean up file headers where necessary 1993-05-20 02:54:09 +00:00
cgd 6e88da586a fix several off-by-one errors in hostname setting/reading 1993-04-27 10:06:10 +00:00
mycroft 484e228599 Use EPERM when write permission is denied, not EBADF. 1993-04-27 07:21:37 +00:00
mycroft bcbf85df19 Add consistent multiple-inclusion protection. 1993-04-19 01:22:17 +00:00
cgd b02974b037 Jay Fenlason <hack@datacube.com>:
1: the fi_readers and fi_writers fields of the fifoinfo structure were not
being initialized to 0.  This caused the driver to not sleep the first
process to open the fifo--it thought there was already another process to
talk to (most of the time.)

2: fifo_open() was calling tsleep() without unlocking the inode of the fifo
file.  This caused *any* subsequent access to the file (even an ls (!)) to
hang forever.  Note that this bug was usually masked by bug #1 above.
1993-04-02 20:19:48 +00:00
cgd d7743f6ac4 added . and .. 1993-03-30 05:16:56 +00:00
cgd 91a1e3ca32 added cdevvp (after taking it out of vfs_subr.c) because realized
that it was only needed here.
1993-03-27 02:00:45 +00:00
cgd b9a4c9fc69 added ".." and support for "rrootdev" 1993-03-27 00:37:08 +00:00
cgd 7c02b7340b fixed problem where you couldn't unmount after looking... 1993-03-25 17:34:52 +00:00
cgd 320661fc58 changed copyright notice thanks to following statement:
Return-Path: jsp@compnews.co.uk
Received: from ben.uknet.ac.uk by postgres.Berkeley.EDU (5.61/1.29)
	id AA25983; Thu, 25 Mar 93 05:37:37 -0800
Received: from fennel.compnews.co.uk by ben.uknet.ac.uk via UKIP with SMTP (PP)
          id <g.05640-0@ben.uknet.ac.uk>; Thu, 25 Mar 1993 13:37:19 +0000
Received: from sage.compnews.co.uk by fennel.compnews.co.uk;
          Thu, 25 Mar 93 13:37:08 GMT
Message-Id: <28109.9303251337@sage.compnews.co.uk>
From: jsp@compnews.co.uk (Jan-Simon Pendry)
Date: Thu, 25 Mar 1993 13:37:05 +0100
In-Reply-To: cgd@postgres.berkeley.edu's message as of Mar 25, 5:32am.
Phone-Number-1: +44 430 432450
Phone-Number-2: +44 430 432480 x20
Fax-Number: +44 430 432022
X-Mailer: Mail User's Shell (7.2.5 10/14/92)
To: cgd@postgres.berkeley.edu
Subject: Re: fdesc/kernfs/etc code...

You may put this copyright message on the source code:

/*
 * Copyright (c) 1990, 1992 Jan-Simon Pendry
 * All rights reserved.
 *
 * This code is derived from software contributed to Berkeley by
 * Jan-Simon Pendry.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in the
 *    documentation and/or other materials provided with the distribution.
 * 3. All advertising materials mentioning features or use of this software
 *    must display the following acknowledgement:
 *      This product includes software developed by the University of
 *      California, Berkeley and its contributors.
 * 4. Neither the name of the University nor the names of its contributors
 *    may be used to endorse or promote products derived from this software
 *    without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 * SUCH DAMAGE.
 *
 */
1993-03-25 06:00:17 +00:00
cgd fa8ba8a3eb files which implement the kern filesystem. from Jan-Simon Pendry,
pendry@vangogh.cs.berkeley.edu
1993-03-23 23:56:50 +00:00
cgd e603545328 files which implement the fdesc filesystem. from Jan-Simon Pendry,
pendry@vangogh.cs.berkeley.edu
1993-03-23 23:56:31 +00:00
cgd e541169ce2 after 0.2.2 "stable" patches applied 1993-03-21 18:04:42 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00