Skip site navigation (1)Skip section navigation (2)

CVS log for src/sys/miscfs/fifofs/Attic/fifo_vnops.c

[BACK] Up to [FreeBSD] / src / sys / miscfs / fifofs

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.45.2.4: download - view: text, markup, annotated - select for diffs
Tue Apr 22 10:11:24 2003 UTC (8 years, 9 months ago) by bde
Branches: RELENG_4
CVS tags: RELENG_4_9_BP, RELENG_4_9_0_RELEASE, RELENG_4_9, RELENG_4_11_BP, RELENG_4_11_0_RELEASE, RELENG_4_11, RELENG_4_10_BP, RELENG_4_10_0_RELEASE, RELENG_4_10
Diff to: previous 1.45.2.3: preferred, colored; branchpoint 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45.2.3: +13 -3 lines
MFC (fs/miscfs/fifo_vnops.c 1.79+1.85: don't loop in fifo_open() waiting
for another reader or writer if one arrived and departed while we were
waiting (or a little earlier).  This should fix some races, but it is
reported to not actually fix the original problem with sendmail.

Revision 1.45.2.3: download - view: text, markup, annotated - select for diffs
Fri Jun 15 21:20:55 2001 UTC (10 years, 7 months ago) by jlemon
Branches: RELENG_4
CVS tags: RELENG_4_8_BP, RELENG_4_8_0_RELEASE, RELENG_4_8, RELENG_4_7_BP, RELENG_4_7_0_RELEASE, RELENG_4_7, RELENG_4_6_BP, RELENG_4_6_2_RELEASE, RELENG_4_6_1_RELEASE, RELENG_4_6_0_RELEASE, RELENG_4_6, RELENG_4_5_BP, RELENG_4_5_0_RELEASE, RELENG_4_5, RELENG_4_4_BP, RELENG_4_4_0_RELEASE, RELENG_4_4
Diff to: previous 1.45.2.2: preferred, colored; branchpoint 1.45: preferred, colored
Changes since revision 1.45.2.2: +12 -5 lines
MFC: r1.54; hook up kq write filter to correct socket.

Revision 1.53
Wed May 23 09:42:16 2001 UTC (10 years, 8 months ago) by ru
Branches: MAIN
CVS tags: HEAD
FILE REMOVED
Changes since revision 1.52: +1 -1 lines
- FDESC, FIFO, NULL, PORTAL, PROC, UMAP and UNION file
  systems were repo-copied from sys/miscfs to sys/fs.

- Renamed the following file systems and their modules:
  fdesc -> fdescfs, portal -> portalfs, union -> unionfs.

- Renamed corresponding kernel options:
  FDESC -> FDESCFS, PORTAL -> PORTALFS, UNION -> UNIONFS.

- Install header files for the above file systems.

- Removed bogus -I${.CURDIR}/../../sys CFLAGS from userland
  Makefiles.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Sun Apr 29 11:48:36 2001 UTC (10 years, 9 months ago) by phk
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +1 -29 lines
Add a vop_stdbmap(), and make it part of the default vop vector.

Make 7 filesystems which don't really know about VOP_BMAP rely
on the default vector, rather than more or less complete local
vop_nopbmap() implementations.

Revision 1.45.2.2: download - view: text, markup, annotated - select for diffs
Mon Feb 26 04:23:20 2001 UTC (10 years, 11 months ago) by jlemon
Branches: RELENG_4
CVS tags: RELENG_4_3_BP, RELENG_4_3_0_RELEASE, RELENG_4_3
Diff to: previous 1.45.2.1: preferred, colored; branchpoint 1.45: preferred, colored
Changes since revision 1.45.2.1: +38 -32 lines
MFC: sync kq up to current (extend to device layer, plus other fixes)

Revision 1.51: download - view: text, markup, annotated - select for diffs
Thu Feb 15 16:34:09 2001 UTC (10 years, 11 months ago) by jlemon
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +37 -31 lines
Extend kqueue down to the device layer.

Backwards compatible approach suggested by: peter

Revision 1.50: download - view: text, markup, annotated - select for diffs
Fri Aug 18 10:00:59 2000 UTC (11 years, 5 months ago) by phk
Branches: MAIN
CVS tags: PRE_SMPNG
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +2 -16 lines
Introduce vop_stdinactive() and make it the default if no vop_inactive
is declared.

Sort and prune a few vop_op[].

Revision 1.49: download - view: text, markup, annotated - select for diffs
Tue Jul 11 22:07:45 2000 UTC (11 years, 7 months ago) by mckusick
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +2 -1 lines
Add snapshots to the fast filesystem. Most of the changes support
the gating of system calls that cause modifications to the underlying
filesystem. The gating can be enabled by any filesystem that needs
to consistently suspend operations by adding the vop_stdgetwritemount
to their set of vnops. Once gating is enabled, the function
vfs_write_suspend stops all new write operations to a filesystem,
allows any filesystem modifying system calls already in progress
to complete, then sync's the filesystem to disk and returns. The
function vfs_write_resume allows the suspended write operations to
begin again. Gating is not added by default for all filesystems as
for SMP systems it adds two extra locks to such critical kernel
paths as the write system call. Thus, gating should only be added
as needed.

Details on the use and current status of snapshots in FFS can be
found in /sys/ufs/ffs/README.snapshot so for brevity and timelyness
is not included here. Unless and until you create a snapshot file,
these changes should have no effect on your system (famous last words).

Revision 1.48: download - view: text, markup, annotated - select for diffs
Fri May 26 02:04:56 2000 UTC (11 years, 8 months ago) by jake
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +3 -3 lines
Back out the previous change to the queue(3) interface.
It was not discussed and should probably not happen.

Requested by:		msmith and others

Revision 1.47: download - view: text, markup, annotated - select for diffs
Tue May 23 20:37:35 2000 UTC (11 years, 8 months ago) by jake
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +3 -3 lines
Change the way that the queue(3) structures are declared; don't assume that
the type argument to *_HEAD and *_ENTRY is a struct.

Suggested by:	phk
Reviewed by:	phk
Approved by:	mdodd

Revision 1.45.2.1: download - view: text, markup, annotated - select for diffs
Fri May 5 03:50:08 2000 UTC (11 years, 9 months ago) by jlemon
Branches: RELENG_4
CVS tags: RELENG_4_2_0_RELEASE, RELENG_4_1_1_RELEASE, RELENG_4_1_0_RELEASE
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +87 -1 lines
MFC: kqueue() and kevent()

Revision 1.46: download - view: text, markup, annotated - select for diffs
Sun Apr 16 18:53:38 2000 UTC (11 years, 9 months ago) by jlemon
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +87 -1 lines
Introduce kqueue() and kevent(), a kernel event notification facility.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Wed Dec 15 23:02:04 1999 UTC (12 years, 1 month ago) by eivind
Branches: MAIN
CVS tags: RELENG_4_BP, RELENG_4_0_0_RELEASE
Branch point for: RELENG_4
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +1 -2 lines
Introduce NDFREE (and remove VOP_ABORTOP)

Revision 1.9.4.2: download - view: text, markup, annotated - select for diffs
Sun Sep 5 08:33:19 1999 UTC (12 years, 5 months ago) by peter
Branches: RELENG_2_1_0
Diff to: previous 1.9.4.1: preferred, colored; branchpoint 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.4.1: +1 -1 lines
$Id$ -> $FreeBSD$

Revision 1.17.2.1: download - view: text, markup, annotated - select for diffs
Sun Sep 5 08:16:35 1999 UTC (12 years, 5 months ago) by peter
Branches: RELENG_2_2
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +1 -1 lines
$Id$ -> $FreeBSD$

Revision 1.43.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 29 16:26:43 1999 UTC (12 years, 5 months ago) by peter
Branches: RELENG_3
CVS tags: RELENG_3_5_0_RELEASE, RELENG_3_4_0_RELEASE, RELENG_3_3_0_RELEASE
Diff to: previous 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43: +1 -1 lines
$Id$ -> $FreeBSD$

Revision 1.44: download - view: text, markup, annotated - select for diffs
Sat Aug 28 00:46:47 1999 UTC (12 years, 5 months ago) by peter
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +1 -1 lines
$Id$ -> $FreeBSD$

Revision 1.43: download - view: text, markup, annotated - select for diffs
Fri Feb 6 12:13:36 1998 UTC (14 years ago) by eivind
Branches: MAIN
CVS tags: RELENG_3_BP, RELENG_3_2_PAO_BP, RELENG_3_2_PAO, RELENG_3_2_0_RELEASE, RELENG_3_1_0_RELEASE, RELENG_3_0_0_RELEASE, PRE_VFS_BIO_NFS_PATCH, PRE_SOFTUPDATE, PRE_SMP_VMSHARE, PRE_NOBDEV, PRE_NEWBUS, PRE_DEVFS_SLICE, POST_VFS_BIO_NFS_PATCH, POST_SOFTUPDATE, POST_SMP_VMSHARE, POST_NEWBUS, POST_DEVFS_SLICE
Branch point for: RELENG_3
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +1 -3 lines
Back out DIAGNOSTIC changes.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Wed Feb 4 22:32:45 1998 UTC (14 years ago) by eivind
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +3 -1 lines
Turn DIAGNOSTIC into a new-style option.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Fri Dec 19 18:58:14 1997 UTC (14 years, 1 month ago) by bde
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +2 -1 lines
Set the sender's low watermark to match the maximum size for atomic
writes that we advertise (PIPE_BUF = 512).

Revision 1.40: download - view: text, markup, annotated - select for diffs
Sat Dec 13 13:49:59 1997 UTC (14 years, 2 months ago) by bde
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +2 -8 lines
Fixed EOF handing.

1. SS_CANTRCVMORE was initially set on the wrong socket, so reads
when there has never been a writer on the socket did not return 0.
Note that such reads are only possible if the fifo was opened in
(O_RDONLY | O_NONBLOCK) mode.

2. SS_CANTSENDMORE was initially set on the wrong socket, but this
was harmless because the wrong socket is never sent from and there
is no need to set the flag initially on the right socket (since open
in (O_WRONLY | O_NONBLOCK) mode fails if there is no reader...).

3. SS_CANTRCVMORE was cleared when read() returns.  This broke the
case where read() returns 0 - subsequent reads are supposed to
return 0 until a writer appears.  There is no need to clear the
flag when read() returns, since it is cleared correctly when a
writer appears.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Sat Dec 13 12:58:09 1997 UTC (14 years, 2 months ago) by bde
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +32 -2 lines
Restored fifo_pathconf() from rev.1.32.  vop_stdpathconf() is too
general to be of much use.  Using it here weakened the _PC_MAX_CANON,
_PC_MAX_INPUT and _PC_VDISABLE cases.

fifo_pathconf() is not quite correct either.  _PC_CHOWN_RESTRICTED
and _PC_LINK_MAX should be handled by the host file system.  For
directories, the host file system should let us handle _PC_PIPE_BUF.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Fri Dec 5 19:55:46 1997 UTC (14 years, 2 months ago) by bde
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +2 -1 lines
Don't include <sys/lock.h> in headers when only `struct simplelock' is
required.  Fixed everything that depended on the pollution.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Mon Oct 27 15:33:04 1997 UTC (14 years, 3 months ago) by bde
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -4 lines
Use unique sleep message strings.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Mon Oct 27 13:33:39 1997 UTC (14 years, 3 months ago) by bde
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +1 -2 lines
Removed unused #includes.  The need for most of them went away with
recent changes (docluster* and vfs improvements).

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sun Oct 26 20:55:16 1997 UTC (14 years, 3 months ago) by phk
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +7 -18 lines
VFS interior redecoration.

Rename vn_default_error to vop_defaultop all over the place.
Move vn_bwrite from vfs_bio.c to vfs_default.c and call it vop_stdbwrite.
Use vop_null instead of nullop.
Move vop_nopoll from vfs_subr.c to vfs_default.c
Move vop_sharedlock from vfs_subr.c to vfs_default.c
Move vop_nolock from vfs_subr.c to vfs_default.c
Move vop_nounlock from vfs_subr.c to vfs_default.c
Move vop_noislocked from vfs_subr.c to vfs_default.c
Use vop_ebadf instead of *_ebadf.
Add vop_defaultop for getpages on master vnode in MFS.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Thu Oct 16 22:00:12 1997 UTC (14 years, 3 months ago) by phk
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +1 -4 lines
VFS clean up "hekto commit"

1.  Add defaults for more VOPs
        VOP_LOCK        vop_nolock
        VOP_ISLOCKED    vop_noislocked
        VOP_UNLOCK      vop_nounlock
    and remove direct reference in filesystems.

2.  Rename the nfsv2 vnop tables to improve sorting order.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Thu Oct 16 20:32:26 1997 UTC (14 years, 3 months ago) by phk
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -35 lines
Another VFS cleanup "kilo commit"

1.  Remove VOP_UPDATE, it is (also) an UFS/{FFS,LFS,EXT2FS,MFS}
    intereface function, and now lives in the ufsmount structure.

2.  Remove VOP_SEEK, it was unused.

3.  Add mode default vops:

    VOP_ADVLOCK          vop_einval
    VOP_CLOSE            vop_null
    VOP_FSYNC            vop_null
    VOP_IOCTL            vop_enotty
    VOP_MMAP             vop_einval
    VOP_OPEN             vop_null
    VOP_PATHCONF         vop_einval
    VOP_READLINK         vop_einval
    VOP_REALLOCBLKS      vop_eopnotsupp

    And remove identical functionality from filesystems

4.   Add vop_stdpathconf, which returns the canonical stuff.  Use
     it in the filesystems.  (XXX: It's probably wrong that specfs
     and fifofs sets this vop, shouldn't it come from the "host"
     filesystem, for instance ufs or cd9660 ?)

5.   Try to make system wide VOP functions have vop_* names.

6.   Initialize the um_* vectors in LFS.

(Recompile your LKMS!!!)

Revision 1.32: download - view: text, markup, annotated - select for diffs
Thu Oct 16 10:48:25 1997 UTC (14 years, 3 months ago) by phk
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +1 -8 lines
VFS mega cleanup commit (x/N)

1.  Add new file "sys/kern/vfs_default.c" where default actions for
    VOPs go. Implement proper defaults for ABORTOP, BWRITE, LEASE,
    POLL, REVOKE and STRATEGY.  Various stuff spread over the entire
    tree belongs here.

2.  Change VOP_BLKATOFF to a normal function in cd9660.

3.  Kill VOP_BLKATOFF, VOP_TRUNCATE, VOP_VFREE, VOP_VALLOC.  These
    are private interface functions between UFS and the underlying
    storage manager layer (FFS/LFS/MFS/EXT2FS).  The functions now
    live in struct ufsmount instead.

4.  Remove a kludge of VOP_ functions in all filesystems, that did
    nothing but obscure the simplicity and break the expandability.
    If a filesystem doesn't implement VOP_FOO, it shouldn't have an
    entry for it in its vnops table.  The system will try to DTRT
    if it is not implemented.  There are still some cruft left, but
    the bulk of it is done.

5.  Fix another VCALL in vfs_cache.c (thanks Bruce!)

Revision 1.31: download - view: text, markup, annotated - select for diffs
Wed Oct 15 13:23:12 1997 UTC (14 years, 3 months ago) by phk
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +67 -43 lines
vnops megacommit

1.  Use the default function to access all the specfs operations.
2.  Use the default function to access all the fifofs operations.
3.  Use the default function to access all the ufs operations.
4.  Fix VCALL usage in vfs_cache.c
5.  Use VOCALL to access specfs functions in devfs_vnops.c
6.  Staticize most of the spec and fifofs vnops functions.
7.  Make UFS panic if it lacks bits of the underlying storage handling.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Wed Oct 15 10:04:18 1997 UTC (14 years, 3 months ago) by phk
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +8 -8 lines
Hmm, realign the vnops into two columns.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Wed Oct 15 09:21:00 1997 UTC (14 years, 3 months ago) by phk
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +44 -45 lines
Stylistic overhaul of vnops tables.
        1. Remove comment stating the blatantly obvious.
        2. Align in two columns.
        3. Sort all but the default element alphabetically.
        4. Remove XXX comments pointing out entries not needed.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Oct 12 20:24:42 1997 UTC (14 years, 4 months ago) by phk
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -2 lines
Last major round (Unless Bruce thinks of somthing :-) of malloc changes.

Distribute all but the most fundamental malloc types.  This time I also
remembered the trick to making things static:  Put "static" in front of
them.

A couple of finer points by:	bde

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun Sep 14 02:57:53 1997 UTC (14 years, 4 months ago) by peter
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +17 -16 lines
Convert select -> poll.
Delete 'always succeed' select/poll handlers, replaced with generic call.
Flag missing vnode op table entries.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Tue Sep 2 20:06:11 1997 UTC (14 years, 5 months ago) by bde
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +1 -6 lines
Removed unused #includes.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sat Aug 16 19:15:13 1997 UTC (14 years, 5 months ago) by wollman
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +4 -3 lines
Fix all areas of the system (or at least all those in LINT) to avoid storing
socket addresses in mbufs.  (Socket buffers are the one exception.)  A number
of kernel APIs needed to get fixed in order to make this happen.  Also,
fix three protocol families which kept PCBs in mbufs to not malloc them
instead.  Delete some old compatibility cruft while we're at it, and add
some new routines in the in_cksum family.

Revision 1.24.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 2 19:53:56 1997 UTC (14 years, 7 months ago) by wollman
Branches: WOLLMAN_MBUF
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +4 -3 lines
Check in my big get-rid-of-sockaddrs-in-mbufs patch, on a private branch.

Requested by: julian

Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Mar 24 11:37:53 1997 UTC (14 years, 10 months ago) by bde
Branches: MAIN
CVS tags: pre_smp_merge, post_smp_merge, BP_WOLLMAN_MBUF
Branch point for: WOLLMAN_MBUF
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -2 lines
Don't include <sys/ioctl.h> in the kernel.  Stage 3: include
<sys/filio.h> instead of <sys/ioctl.h> in non-network non-tty files.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sun Mar 23 03:36:49 1997 UTC (14 years, 10 months ago) by bde
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -1 lines
Don't #include <sys/fcntl.h> in <sys/file.h> if KERNEL is defined.
Fixed everything that depended on getting fcntl.h stuff from the wrong
place.  Most things don't depend on file.h stuff at all.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Feb 22 09:40:17 1997 UTC (14 years, 11 months ago) by peter
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +1 -1 lines
Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$.  We are not
ready for it yet.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Feb 12 16:26:37 1997 UTC (15 years ago) by mpp
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +1 -0 lines
Rstored #include of <sys/kernel.h> so that this compiles
without warnings again.

Submitted by:	bde

Revision 1.20: download - view: text, markup, annotated - select for diffs
Mon Feb 10 02:12:32 1997 UTC (15 years ago) by dyson
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +88 -89 lines
This is the kernel Lite/2 commit.  There are some requisite userland
changes, so don't expect to be able to run the kernel as-is (very well)
without the appropriate Lite/2 userland changes.

The system boots and can mount UFS filesystems.

Untested: ext2fs, msdosfs, NFS
Known problems: Incorrect Berkeley ID strings in some files.
		Mount_std mounts will not work until the getfsent
		library routine is changed.

Reviewed by:	various people
Submitted by:	Jeffery Hsu <hsu@freebsd.org>

Revision 1.19: download - view: text, markup, annotated - select for diffs
Tue Jan 14 06:46:03 1997 UTC (15 years ago) by jkh
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +1 -1 lines
Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Thu Dec 19 18:16:28 1996 UTC (15 years, 1 month ago) by bde
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2 lines
Fixed errno for unsupported advisory locks.  The errno is now EINVAL
fcntl() and EOPNOTSUPP for flock().  POSIX specifies the weaker EINVAL
errno and the man page agrees.

Not fixed:
deadfs: always returns wrong EBADF
devfs, msdosfs: always return sometimes-wrong EINVAL
cd9660, fdesc, kernfs, portal: always return sometimes-wrong EOPNOTSUPP
procfs: always returns wrong EIO
mfs: panic?!
nfs: fudged

NetBSD uses a generic file system genfs to do return the sometimes-wrong
EOPNOTSUPP more consistently :-)(.

Found by:	NIST-PCTS

Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Sep 3 14:22:23 1996 UTC (15 years, 5 months ago) by bde
Branches: MAIN
CVS tags: RELENG_2_2_BP, RELENG_2_2_8_RELEASE, RELENG_2_2_7_RELEASE, RELENG_2_2_6_RELEASE, RELENG_2_2_5_RELEASE, RELENG_2_2_2_RELEASE, RELENG_2_2_1_RELEASE, RELENG_2_2_0_RELEASE
Branch point for: RELENG_2_2
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -1 lines
Eliminated nested include of <sys/unistd.h> in <sys/file.h> in the kernel.
Include it directly in the few places where it is used.

Reduced some #includes of <sys/file.h> to #includes of <sys/fcntl.h> or
nothing.

Revision 1.1.1.2 (vendor branch): download - view: text, markup, annotated - select for diffs
Mon Mar 11 19:28:58 1996 UTC (15 years, 11 months ago) by peter
Branches: CSRG
CVS tags: bsd_44_lite_2
Diff to: previous 1.1.1.1: preferred, colored
Changes since revision 1.1.1.1: +90 -69 lines
Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, all
files are off the vendor branch, so this should not change anything.

A "U" marker generally means that the file was not changed in between
the 4.4Lite and Lite-2 releases, and does not need a merge.  "C" generally
means that there was a change.
[two new auxillary files in miscfs/union]

Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Feb 13 18:16:23 1996 UTC (16 years ago) by wollman
Branches: MAIN
CVS tags: wollman_polling
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -3 lines
Kill XNS.
While we're at it, fix socreate() to take a process argument.  (This
was supposed to get committed days ago...)

Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Dec 14 09:53:03 1995 UTC (16 years, 2 months ago) by phk
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +12 -7 lines
Another mega commit to staticize things.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Dec 11 10:26:34 1995 UTC (16 years, 2 months ago) by phk
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +7 -7 lines
Back out this one, must have screwed up somewhere :-(

Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Dec 11 09:24:13 1995 UTC (16 years, 2 months ago) by phk
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +7 -7 lines
Staticize.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu Nov 9 08:15:27 1995 UTC (16 years, 3 months ago) by bde
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +44 -44 lines
Introduced a type `vop_t' for vnode operation functions and used
it 1138 times (:-() in casts and a few more times in declarations.
This change is null for the i386.

The type has to be `typedef int vop_t(void *)' and not `typedef
int vop_t()' because `gcc -Wstrict-prototypes' warns about the
latter.  Since vnode op functions are called with args of different
(struct pointer) types, neither of these function types is any use
for type checking of the arg, so it would be preferable not to use
the complete function type, especially since using the complete
type requires adding 1138 casts to avoid compiler warnings and
another 40+ casts to reverse the function pointer conversions before
calling the functions.

Revision 1.9.4.1: download - view: text, markup, annotated - select for diffs
Thu Sep 28 13:32:03 1995 UTC (16 years, 4 months ago) by davidg
Branches: RELENG_2_1_0
CVS tags: RELENG_2_1_7_RELEASE, RELENG_2_1_6_RELEASE, RELENG_2_1_6_1_RELEASE, RELENG_2_1_5_RELEASE, RELENG_2_1_0_RELEASE
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +29 -16 lines
Brought in changes from rev 1.10: add ability to have a fifo open for
read & write simultaneously. Needed for proper SCO support.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Sep 4 00:20:33 1995 UTC (16 years, 5 months ago) by dyson
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +5 -1 lines
Added VOP_GETPAGES/VOP_PUTPAGES and also the "backwards" block count
for VOP_BMAP.  Updated affected filesystems...

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Aug 6 16:14:21 1995 UTC (16 years, 6 months ago) by jkh
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +28 -15 lines
Allow a pipe to be opened read/write at one end, as is allowed in
SunOS and SCO.  You can then even use the pipe as a cheap fifo stack
(yuck!).  A semantic change also important (but not limited) to iBCS2
compatibility.
Submitted by:	swallace

Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue May 30 08:06:59 1995 UTC (16 years, 8 months ago) by rgrimes
Branches: MAIN
CVS tags: RELENG_2_1_0_BP, RELENG_2_0_5_RELEASE, RELENG_2_0_5_BP, RELENG_2_0_5
Branch point for: RELENG_2_1_0
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +4 -4 lines
Remove trailing whitespace.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Mar 16 18:13:13 1995 UTC (16 years, 10 months ago) by bde
Branches: MAIN
CVS tags: RELENG_2_0_5_ALPHA
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -1 lines
Add and move declarations to fix all of the warnings from `gcc -Wimplicit'
(except in netccitt, netiso and netns) and most of the warnings from
`gcc -Wnested-externs'.  Fix all the bugs found.  There were no serious
ones.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Feb 3 06:46:13 1995 UTC (17 years ago) by davidg
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -1 lines
Fixed bmap run-length brokeness.
Use bmap run-length extension when doing clustered paging.

Submitted by:	John Dyson

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Oct 2 17:48:00 1994 UTC (17 years, 4 months ago) by phk
Branches: MAIN
CVS tags: RELEASE_2_0, OLAH_TTCP, BETA_2_0, ALPHA_2_0
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +24 -20 lines
GCC cleanup.
Reviewed by:
Submitted by:
Obtained from:

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Sep 22 19:38:07 1994 UTC (17 years, 4 months ago) by wollman
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -1 lines
More loadable VFS changes:

- Make a number of filesystems work again when they are statically compiled
  (blush)

- FIFOs are no longer optional; ``options FIFO'' removed from distributed
  config files.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Sep 21 03:46:57 1994 UTC (17 years, 4 months ago) by wollman
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -1 lines
Implemented loadable VFS modules, and made most existing filesystems
loadable.  (NFS is a notable exception.)

Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Aug 2 07:44:56 1994 UTC (17 years, 6 months ago) by davidg
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -0 lines
Added $Id$

Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed May 25 09:07:23 1994 UTC (17 years, 8 months ago) by rgrimes
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +18 -0 lines
The big 4.4BSD Lite to FreeBSD 2.0.0 (Development) patch.

Reviewed by:	Rodney W. Grimes
Submitted by:	John Dyson and David Greenman

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Tue May 24 10:05:00 1994 UTC (17 years, 8 months ago) by rgrimes
Branches: CSRG
CVS tags: bsd_44_lite, REL_before_johndavid_2_0_0
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines
BSD 4.4 Lite Kernel Sources

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue May 24 10:04:59 1994 UTC (17 years, 8 months ago) by rgrimes
Branches: MAIN
Initial revision

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options