Commit Graph

51 Commits

Author SHA1 Message Date
cgd 8f62c773e8 don't assume the f_fsnamelen is nul-truncated or longer than MFSNAMELEN 1995-06-18 14:45:14 +00:00
cgd 13f5026553 fix timeval vs. timespec warnings 1995-04-15 01:56:43 +00:00
briggs 6efcd1b6d4 KERNEL -> _KERNEL 1995-03-29 21:57:43 +00:00
mycroft 2f805fa51b copy*str() should use size_t. 1995-03-09 12:05:21 +00:00
cgd aac6b08302 use u_long for copyin* 1995-03-08 01:33:20 +00:00
mycroft 597bdad3df Return EROFS rather than ENOENT in many cases. Also some cosmetic cleanup. 1995-02-03 16:18:46 +00:00
mycroft e9017fd132 Clean up the code to frob mnt_stat a (tiny) bit. 1995-01-18 09:34:24 +00:00
mycroft 609063ce2b Format police. 1994-12-27 19:05:12 +00:00
ws 2f0fb8ee09 Implement and use a common access checking routine 1994-12-24 16:44:12 +00:00
mycroft 814ba0fc30 Call foo_statfs() from a common place when mounting. 1994-12-15 20:00:14 +00:00
mycroft 7276c4ed44 Remove a_fp. 1994-12-14 18:45:21 +00:00
mycroft 1056700333 Make sure averunnable.fscale is filled before using it. 1994-12-01 10:16:53 +00:00
christos 8cdc99a059 fixed struct comment 1994-11-14 06:04:31 +00:00
cgd 6b86130410 update for new syscall args description mechanism 1994-10-20 04:22:35 +00:00
mycroft cab4d25c24 stat the file system at mount time, for `df -n', et al. 1994-09-15 03:42:37 +00:00
mycroft 41761064b8 Implement /kern/msgbuf. 1994-07-21 10:22:20 +00:00
cgd cf92afd66e New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD' 1994-06-29 06:29:24 +00:00
mycroft 117527f322 Minor update from JSP after merging my changes. 1994-06-15 22:54:38 +00:00
mycroft 76ee6346df Deal with silly DIAGNOSTIC check. 1994-06-15 17:52:32 +00:00
mycroft 7162b2c482 Use vget() for devices. 1994-06-15 03:30:44 +00:00
mycroft 2e6e470fba Fix a bug in finding the raw root device. 1994-06-15 03:05:26 +00:00
mycroft cde1d47595 Update to 4.4-Lite fs code, with local changes. 1994-06-08 11:33:09 +00:00
mycroft 3f3d8b3889 Really fix the file size problem. 1994-05-17 06:59:17 +00:00
cgd fa475bdca1 actually set va_size! 1994-05-17 04:10:29 +00:00
cgd 4917d8beec make fs types consistent over new kernels. also, some proto foo. 1994-04-23 07:54:38 +00:00
cgd 3dda0064a5 Convert mount, vnode, and buf structs to use <sys/queue.h>. Also,
some knf and structure frobbing to do along with it.
1994-04-21 07:47:31 +00:00
cgd 93159ea799 fs types are names now. 1994-04-14 04:05:45 +00:00
ws 1df94d108f Add .. entry to /kern 1994-02-14 19:46:18 +00:00
cgd b41fd90fdc don't give bogus return code from read() 1994-02-11 01:01:51 +00:00
cgd d43a0f37b1 don't panic if user does 'cat /kern', though result is dubious. 1994-02-09 06:32:17 +00:00
mycroft 1e5c7f966b Clean up deleted files. 1994-01-05 11:05:17 +00:00
cgd 87693669dd update with latest kernfs file system from jsp@sequent.com 1994-01-05 11:04:54 +00:00
cgd ae30022085 fix return type of vnode print routine 1993-12-22 13:14:10 +00:00
cgd 86f960201b pull load average and misc changes down from magnum 1993-12-20 12:39:10 +00:00
mycroft 0560892d34 Canonicalize all #includes. 1993-12-18 03:48:27 +00:00
cgd 2b3cb4657d #ifdef out /kern/root at theo's request 1993-11-20 01:57:07 +00:00
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
cgd 4543c1ebfd changes from 0.9-ALPHA2 to 0.9-BETA 1993-08-23 04:59:38 +00:00
mycroft b4d9151681 Make kernfs_print have a return type of void. 1993-08-02 23:00:57 +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 868a2c5982 header cleanup 1993-05-20 04:01:30 +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
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