kleink
f20fdd6f65
Define 2 flags to be passed in the `flags' argument of the fsync vnode
...
operator:
* FSYNC_WAIT, which requests the synchronization operation to not return
until completition,
* FSYNC_DATAONLY, which is a hint: if possible, synchronize file data
only. If it's not feasible for a file system implementation to omit
file status synchronization when synchronizing file data, this is ignored.
1998-06-05 19:47:00 +00:00
ross
97251024c0
Compile post-lite2 when #ifndef DIAGNOSTIC
1998-03-01 09:35:52 +00:00
fvdl
e5bc90f40c
Merge with Lite2 + local changes
1998-03-01 02:20:01 +00:00
mrg
d90485202c
- add defopt's for UVM, UVMHIST and PMAP_NEW.
...
- remove unnecessary UVMHIST_DECL's.
1998-02-10 14:08:44 +00:00
mrg
1a8c7604f4
initial import of the new virtual memory system, UVM, into -current.
...
UVM was written by chuck cranor <chuck@maria.wustl.edu>, with some
minor portions derived from the old Mach code. i provided some help
getting swap and paging working, and other bug fixes/ideas. chuck
silvers <chuq@chuq.com> also provided some other fixes.
this is the rest of the MI portion changes.
this will be KNF'd shortly. :-)
1998-02-05 07:59:28 +00:00
christos
f950c44a69
make va_mode and va_link mode_t and link_t
1997-10-16 23:35:36 +00:00
fvdl
fa2348ae01
Add cookie field to buffer structure to be able to store 64bit offsets.
...
Redo NFS mounting flags; split flags into internal and public, having
2 seperate fields in the NFS mount structure. Add prototype for
vn_readdir to vnode.h
1997-10-10 02:12:21 +00:00
bouyer
276676cfbb
Support ext2fs.
1997-06-11 10:40:16 +00:00
mycroft
e3f99a9397
Pass the vnode type to vaccess(), and use it when checking VEXEC. Make sure
...
that the mode bits passed to vaccess() and returned by foo_getattr() contain
only permission bits.
1997-05-08 16:19:43 +00:00
mycroft
8f5978a181
GC VS[UG]ID and VSVTX, and add a new VLOOKUP, since the semantics are now
...
different from VEXEC.
1997-05-08 10:21:35 +00:00
mikel
6bd4a3a75f
add multiple inclusion protection
1997-01-22 07:09:04 +00:00
mycroft
2bc736661a
Implement poll(2).
1996-09-07 12:40:22 +00:00
cgd
3d67685d36
Do not build vnode_if.[ch] for each kernel. Build them once, like the
...
various syscall sources/headers, and just compile them. From PR 2142, OK'd
by mycroft.
1996-02-29 20:54:58 +00:00
christos
22ca27a01d
Filesystem prototype changes
1996-02-09 18:24:59 +00:00
christos
7da3571dc9
Fix some missing/wrong prototypes so that kern/* compiles again
1996-02-04 02:12:07 +00:00
mycroft
0ee5fee27f
Fix #includes.
1996-02-02 21:05:10 +00:00
mycroft
bb7cccd06d
Do the previous change a little differently.
1996-02-02 07:49:52 +00:00
mycroft
99686e0059
Add a vnode** argument to getvnode(), prototype it, and make it return
...
EBADF if the file descriptor has been revoked.
1996-01-30 20:05:33 +00:00
jtc
7c04233887
KERNEL -> _KERNEL
1995-03-26 20:23:52 +00:00
cgd
d3999d0125
light cleanup, related to spacing...
1995-01-08 22:53:28 +00:00
ws
2f0fb8ee09
Implement and use a common access checking routine
1994-12-24 16:44:12 +00:00
mycroft
080e194e58
Remove extra arg to vn_open().
1994-12-14 19:03:13 +00:00
mycroft
527b796ff5
Turn lease_check() into a vnode op, per CSRG.
1994-12-13 20:14:30 +00:00
christos
1b76292bf9
added extra argument to vn_open
1994-11-14 06:02:03 +00:00
cgd
6ac2bbfc35
be more careful with types, also pull in headers where necessary.
1994-10-30 21:43:03 +00:00
cgd
2fcbfa09c2
u_long to dev_t, for va_rdev
1994-07-04 22:26:38 +00:00
cgd
fccfa11af5
New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
1994-06-29 06:39:25 +00:00
cgd
f21254981e
new standard, minimally intrusive ID format
1994-06-27 19:27:39 +00:00
mycroft
28f7af34be
Update to 4.4-Lite fs code, with local changes.
1994-06-08 11:38:34 +00:00
cgd
f5c65595f6
dummy lease-related macros
1994-05-20 06:38:11 +00:00
cgd
21a03cca53
mostly-machine-indepedent switch, and changes to match. also, hack init_main
1994-05-18 05:12:10 +00:00
chopps
cdad699946
add support for adosfs.
1994-05-11 18:50:36 +00:00
cgd
d071d1cf05
some prototype cleanup, eliminate/replace bogus types (e.g. quad and
...
u_quad) -> use better types (e.g. quad_t & u_quad_t in inodes),
some cleanup.
1994-04-25 03:49:27 +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
b7e76677c6
expand uid_t/gid_t/off_t
1994-03-27 09:09:57 +00:00
deraadt
1f04c4937c
sparc needs structures double aligned
1994-02-01 02:41:26 +00:00
cgd
5a87cb9c50
VOP_PRINT should return int; this should not have been changed (yet?)
1993-12-22 12:51:31 +00:00
cgd
7d57774e7e
fix typo
1993-12-21 07:02:18 +00:00
cgd
41682141d7
clean up vtype and vtagtype, and more
1993-12-21 05:41:52 +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
pk
cc64019e82
Added support for proc filesystem.
1993-08-24 12:53:50 +00:00
cgd
4543c1ebfd
changes from 0.9-ALPHA2 to 0.9-BETA
1993-08-23 04:59:38 +00:00
mycroft
0940a6873b
Change di_urdev and va_rdev back to u_longs for now.
...
(NOTE: You must completely rebuild your kernel!)
1993-08-08 12:10:05 +00:00
cgd
cd56dd1638
merge in changes from netbsd-0-9-ALPHA2
1993-08-07 07:53: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
cd1bcbc8ca
add rcs ids as necessary, and also clean up headers
1993-05-20 16:21:42 +00:00
mycroft
bcbf85df19
Add consistent multiple-inclusion protection.
1993-04-19 01:22:17 +00:00
cgd
5cc382fc66
add support for PCFS, the MSDOS filesystem.
...
written by Paul Popelka (paulp@uts.amdahl.com ) (patch 129)
invoke w/"options PCFS" in kernel config file.
1993-04-09 19:37:49 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00