Commit Graph

259 Commits

Author SHA1 Message Date
glass 9f7fed2901 make panic string unique 1994-03-31 05:44:49 +00:00
cgd d7ce0b81a2 expand uid_t/gid_t/off_t 1994-03-27 09:09:21 +00:00
cgd 2beaff5c30 fix rcs id 1994-03-12 01:31:32 +00:00
ws ec20310be9 Oops. Bug fix for nfs server. Reported by Theo. 1994-03-10 16:56:14 +00:00
ws ce516ff13d Make FFS optional 1994-03-09 21:21:37 +00:00
pk 4013a20ab3 Enable nfs_lock(); useful when IO_APPEND'ing. 1994-03-01 20:31:09 +00:00
glass b4b437e1c3 remove some warnings 1994-03-01 08:00:02 +00:00
mycroft bc47f533d5 Macros bite again. 1994-02-15 21:43:09 +00:00
mycroft 28abb89625 Format police. 1994-02-15 21:26:01 +00:00
pk e85a637bca Update {a,m}time vnode attributes on special files a la ufs_vnode.c,
but make it a non-urgent operation, to leave us some performance.
1994-02-15 21:07:10 +00:00
cgd 489bece05f be more intelligent with credentials, so nfsd's don't inherit
strange credentials.  This doesn't actually have any effect on
performance, because the remote cred is used for all operations,
anyway.  however, it makes "ps" et al. look normal, because the
proc's ucred is no longer clobbered.
1994-02-14 05:58:29 +00:00
mycroft 805c52eecb Eliminate some more uses of b_actl. 1994-02-06 11:28:37 +00:00
brezak ae0948f33c Include nfs_hack_mountroot() in NFSDISKLESS_HARDWIRE 1994-01-18 01:35:15 +00:00
pk acc0f12ec0 reparations... 1994-01-10 13:29:26 +00:00
pk 36655da823 Don't deny unlink()s of files with the "silly" bit on, but still have > 1 links,
but avoid doing gratuitous (possibly expensive) get_attr() calls.
1994-01-10 09:37:05 +00:00
cgd 2c5c3a2774 add support for union and loopback mounts, from jsp 1994-01-04 14:10:48 +00:00
cgd 953dee1999 fix nfs_print, add cross-device link checking (From jsp) 1993-12-22 13:03:22 +00:00
cgd 929c86a29b change return type of nfs_print back to int 1993-12-22 13:00:36 +00:00
cgd de2aefd4b8 minor cleanup 1993-12-22 04:13:50 +00:00
cgd ed9fe288db oops; fix last 1993-12-21 08:07:09 +00:00
cgd 6aa0cb00c6 from jsp: Changed to get attributes of root node and
generate correct type, rather than assuming it's a directory.
This allows Amd direct mounts to work correctly.
1993-12-21 07:49:30 +00:00
mycroft 95b048b53a Canonicalize all #includes. 1993-12-18 00:40:47 +00:00
pk 011f7efb3a Avoid dereferencing NULL pointer in nfs_doio() when B_PHYS is on.
Remove comment talking about nfsiomaps that we don't have.
Always use credentials that are in the buffer header, in stead of trying
to get them from pageproc, which may once have been necessary to push pages
to swap (cannot imaging anyone having exercised this over NFS though).
1993-12-16 16:43:36 +00:00
pk 0499563755 Exclusive access when manipulating flag field in mount structure. 1993-12-07 23:37:43 +00:00
pk f98138858c Don't allow the NFS_LOCKBITS to be set or reset from user land.
Allow other flags (SOFT,HARD,SPONGY, etc) to be altered by `mount -u'.
1993-12-07 23:29:27 +00:00
cgd 5c50cb4631 fix a goof that i made; return *before* nfs_lock() is called... 1993-12-07 04:47:41 +00:00
pk 0d3fa06d24 Allow changing of various NFS parameters by using `mount -u ...'. 1993-12-06 23:38:14 +00:00
ws 226a277da1 Bug fixes to ISOFS 1993-11-26 19:56:51 +00:00
cgd facd69a0ee do something better with lookup return values; suggested by BSDI's msdosfs mod 1993-11-20 09:40:32 +00:00
cgd 5838270f1e patch from Ukai Fumitoshi <ukai@kmc.kyoto-u.ac.jp>
to do the right thing with NFS fsid's and getnewfsid()
1993-11-19 02:31:23 +00:00
cgd 76dbc1192b new specfs.h and fifo.h locations 1993-11-12 05:54:12 +00:00
glass 392149b053 this is the disgusting temporary hack to assist people booting over nfs via
hacked structures until netboot works.

the word "abortion" comes to mind.
1993-10-14 03:05:02 +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
mycroft 58f1a7c3cd Make nfs_timer() return void. 1993-09-06 21:25:20 +00:00
jtc f1fd37d722 Include systm.h to get prototypes (and possibly inlines) of *max functions. 1993-09-03 23:57:21 +00:00
mycroft 781aeda1e7 Make return type of nfs_print be a void, not an int. 1993-08-02 23:12:31 +00:00
mycroft 6518b0ac4a Make bpos arg to nfsm_reqh a caddr_t*, not a caddr_t**, as that's what it
is actually passed.
1993-08-02 23:11:14 +00:00
cgd 7b2afa7fe6 incorporate changes from 0-9-base to 0-9-ALPHA 1993-07-28 02:20:34 +00:00
mycroft ad087b06a0 Finish moving struct definitions outside of function declarations. 1993-07-17 15:56:59 +00:00
cgd e9cca0d58c ANSI mods.
(originally committed by andrew on 1993/06/27 06:58:35)
1993-07-16 00:52:50 +00:00
cgd 481792a7ff fix for macklem's bogus use of the va_flags field, supplied by
John Woods, jfwfrom: @ksr.com.  also, fixes the following problems:
the va_gen field is in a similar position
(Suns are going to be reporting the change-date microseconds as their
"generation"), I've supplied my own set of diffs below for your inspection.
Note these aren't even compiled, but they're pretty similar to what I had
to do to our older version of OSF/1 here.  (There's also an unrelated change
supplied for xdr_subs.h; the pointer types supplied to the fxdr_time() and
txdr_time() macros are not, in fact, both struct timevals.  That turns out
to be one of many tips-of-the-iceberg facing those porting the (old) Berkeley
NFS code to 64-bit machines...)
(originally committed by cgd on 1993/06/03 01:12:42)
1993-07-16 00:51:55 +00:00
cgd fbc8939fde more rcs id adding and header cleanup. i like vi macros!
(originally committed by cgd on 1993/05/20 03:18:44)
1993-07-16 00:50:30 +00:00
cgd 7ecbd4b92d get rid of some more bogus changes from a week ago 1993-07-13 10:50:04 +00:00
cgd a70246c1fa bpos is really a caddr_t **. doesn't really make a diff to the code
generated...
1993-07-13 10:40:07 +00:00
cgd c58c7e0a97 diskless changes made last time were hosed; were using NULL for
"no credentials" rather than NOCRED.
1993-07-13 10:04:26 +00:00
cgd 0b1df311fc changes from ws to support diskless booting... these are "OK" on inspection
and after testing...  (actually, currently, none of the changed
code is even used...)
1993-07-07 12:06:32 +00:00
andrew 112b578662 Paul Kranenburg's VM deadlock fixes. (patchkit patch 00147, part 2) 1993-06-30 03:35:07 +00:00
cgd a92f51ffcb fix for macklem's bogus use of the va_flags field, supplied by
John Woods, jfwfrom: @ksr.com.  also, fixes the following problems:
the va_gen field is in a similar position
(Suns are going to be reporting the change-date microseconds as their
"generation"), I've supplied my own set of diffs below for your inspection.
Note these aren't even compiled, but they're pretty similar to what I had
to do to our older version of OSF/1 here.  (There's also an unrelated change
supplied for xdr_subs.h; the pointer types supplied to the fxdr_time() and
txdr_time() macros are not, in fact, both struct timevals.  That turns out
to be one of many tips-of-the-iceberg facing those porting the (old) Berkeley
NFS code to 64-bit machines...)
1993-06-03 01:12:44 +00:00
cgd fe1802950b add include of select.h if necessary for protos, or delete if extraneous 1993-05-22 11:40:42 +00:00
cgd d2ee066f71 add Yuval Yarom's changes (originally for BSD/386) for advisory record
locking on NFS files.  Note that this DOES NOT support network locking,
only local advisory locks.
1993-05-22 09:00:49 +00:00
cgd 769818382a add rcsid again; fix RCS+crash fuckup 1993-05-21 07:31:58 +00:00
cgd f4b489f71c more rcs id adding and header cleanup. i like vi macros! 1993-05-20 03:18:35 +00:00
cgd 8d6c77881c make kernel select interface be one-stop shopping & clean it all up. 1993-05-18 18:18:40 +00:00
mycroft 08621a22d8 Add consistent multiple-inclusion protection (repeat). 1993-04-20 11:44:36 +00:00
mycroft 266a376b2a Restore files lost during crash. 1993-04-20 11:20:47 +00:00
cgd 6bd0af9a08 re-merged include file changes which got eaten by crash 1993-04-20 01:00:44 +00:00
glass 24e91b0789 migrated code to make split possible 1993-04-10 20:19:19 +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