diff options
author | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2010-09-06 23:44:12 +0000 |
---|---|---|
committer | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2010-09-06 23:44:12 +0000 |
commit | 87f3d58d3064a78c9b29faa668f1d98225f01e71 (patch) | |
tree | bbc6c4fb3c1748ac72b8b1b8bab76b4e91896fd0 /sys/kern/Makefile | |
parent | a41bd31e53cce764c5bc6861ce6be4074cc59551 (diff) |
End the VOP experiment. Instead of the ridicolusly complicated operation
vector setup that has questionable features (that have, as far as I can
tell never been used in practice, atleast not in OpenBSD), remove all
the gunk and favor a simple struct full of function pointers that get
set directly by each of the filesystems.
Removes gobs of ugly code and makes things simpler by a magnitude.
The only downside of this is that we loose the vnoperate feature so
the spec/fifo operations of the filesystems need to be kept in sync
with specfs and fifofs, this is no big deal as the API it self is pretty
static.
Many thanks to armani@ who pulled an earlier version of this diff to
current after c2k10 and Gabriel Kihlman on tech@ for testing.
Liked by many. "come on, find your balls" deraadt@.
Diffstat (limited to 'sys/kern/Makefile')
-rw-r--r-- | sys/kern/Makefile | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/kern/Makefile b/sys/kern/Makefile index 5c22814b01f..c4e910b2918 100644 --- a/sys/kern/Makefile +++ b/sys/kern/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.24 2010/07/01 17:30:25 tedu Exp $ +# $OpenBSD: Makefile,v 1.25 2010/09/06 23:44:10 thib Exp $ # Makefile for kernel tags files, init_sysent, etc. @@ -8,16 +8,12 @@ ARCH= alpha amd64 armish aviion beagle hp300 \ mvme88k mvmeppc palm sgi socppc \ solbourne sparc sparc64 vax zaurus -all: init_sysent.c vnode_if.c +all: init_sysent.c SYSCALLSRC = makesyscalls.sh syscalls.conf syscalls.master init_sysent.c syscalls.c ../sys/syscall.h ../sys/syscallargs.h: ${SYSCALLSRC} sh makesyscalls.sh syscalls.conf syscalls.master -VNODEIFSRC = vnode_if.sh vnode_if.src -vnode_if.c ../sys/vnode_if.h: ${VNODEIFSRC} - sh vnode_if.sh vnode_if.src - # Kernel tags: # tags files are built in the top-level directory for each architecture. # Links to the correct tags file are placed in each source directory. |