summaryrefslogtreecommitdiff
path: root/sys/nfs
AgeCommit message (Collapse)Author
1999-06-10Fill in mount_info in nfs_decode_argsTodd C. Miller
o that way zero fields in nfs_args get filled in o changes via mount -u become visible
1999-05-31New struct statfs with mount options. NOTE: this replaces statfs(2),Todd C. Miller
fstatfs(2), and getfsstat(2) so you will need to build a new kernel before doing a "make build" or you will get "unimplemented syscall" errors. The new struct statfs has the following featuires: o Has a u_int32_t flags field--now softdep can have a real flag. o Uses u_int32_t instead of longs (nicer on the alpha). Note: the man page used to lie about setting invalid/unused fields to -1. SunOS does that but our code never has. o Gets rid of f_type completely. It hasn't been used since NetBSD 0.9 and having it there but always 0 is confusing. It is conceivable that this may cause some old code to not compile but that is better than silently breaking. o Adds a mount_info union that contains the FSTYPE_args struct. This means that "mount" can now tell you all the options a filesystem was mounted with. This is especially nice for NFS. Other changes: o The linux statfs emulation didn't convert between BSD fs names and linux f_type numbers. Now it does, since the BSD f_type number is useless to linux apps (and has been removed anyway) o FreeBSD's struct statfs is different from our (both old and new) and thus needs conversion. Previously, the OpenBSD syscalls were used without any real translation. o mount(8) will now show extra info when invoked with no arguments. However, to see *everything* you need to use the -v (verbose) flag.
1999-04-28zap the newhashinit hack.Artur Grabowski
Add an extra flag to hashinit telling if it should wait in malloc. update all calls to hashinit.
1999-03-15do not call nfsm_adj() with negative values; dmTheo de Raadt
1999-03-02When an NFS3 server replies with NFS3ERR_JUKEBOX, currently, itTodd C. Miller
panics the kernel, because the kernel tries to reuse a freed mbuf; dm@reeducation-labor.lcs.mit.edu
1999-02-26compatibility with uvm vnode pagerArtur Grabowski
1999-02-06Use bitwise operations to extract high and low words from the quadTodd C. Miller
in txdr_hyper. This should be more portable than casting to an array of ints and pulling out the two 32-bit words (this produced incorrect results on alpha for the high word for filesystems < 4gig). As a side effect, txdr_hyper now takes a u_quad_t as its first arg, not u_quad_t *.
1999-02-01non-root users can mkfifo over NFS; mrg@netbsd.orgTodd C. Miller
1999-01-16Do not lose st_blocks on NFSv2 mounts when files>2GBNiklas Hallqvist
1999-01-10Fix for creating files on a Solaris 7 server with NFSv3 (the request wasTodd C. Miller
slightly garbled but older servers seemed to understand it); dfr@freebsd.org
1999-01-03print addresses using inet_ntoa ( )Theo de Raadt
1998-12-28Fix fxdr_hyper macro. The cast to signed int caused incorrect behavior in ↵Todd C. Miller
the shift. This only seems to have affected big endian machines.
1998-08-21Fix malloc race in nfs_node.cConstantine Sapuntzakis
1998-08-19Change fxdr_hyper to return a u_quad_t. This minimizes the evil clobberingConstantine Sapuntzakis
of lvalues that ANSI abhors. And it fixes df on NFS version 3 mounts on Sparcs.
1998-08-06Rename vop_revoke, vn_bwrite, vop_noislocked, vop_nolock, vop_nounlockConstantine Sapuntzakis
to be vop_generic_revoke, vop_generic_bwrite, vop_generic_islocked, vop_generic_lock and vop_generic_unlock. Create vop_generic_abortop and propogate change to all file systems. Fix PR/371. Get rid of locking in NULLFS (should be mostly unnecessary now except for forced unmounts).
1998-05-25nd_procnum should be unsigned; ovg@nusun.jinr.ruTheo de Raadt
1998-05-11compile if iov_base is void *Theo de Raadt
1998-02-28krpc_call() should use random reserved portsTheo de Raadt
1998-02-23do not copy from past end of mbuf; found by ivanTheo de Raadt
1998-02-22Changes made for GCC 2.8 -Wall pleasuresNiklas Hallqvist
1998-02-08Updates to match type changes in syscall tablesThorsten Lockert
1997-12-02More splbio()'s added so that reassignbuf can do its thing.Constantine Sapuntzakis
1997-11-11Make diskless machines boot again. remove staticsNiklas Hallqvist
1997-11-06Updates for VFS Lite 2 + soft update.Constantine Sapuntzakis
1997-10-06back out vfs lite2 till after 2.2Theo de Raadt
1997-10-06VFS Lite2 ChangesConstantine Sapuntzakis
1997-09-06fix #endif; David.Sainty@MCS.VUW.AC.NZTheo de Raadt
1997-07-28allocate random portsTheo de Raadt
1997-04-28indentTheo de Raadt
1997-04-28Previous patch didn't make much sense. We now set the initial NFS xidAngelos D. Keromytis
(for requests) to some random value, and then increase that by a small (1-255) random value for each requests.
1997-04-27Random/unique NFS xids.Angelos D. Keromytis
1997-04-27Randomize RPC xid.Angelos D. Keromytis
1997-04-25require reserved ports. avoid ftp bounce.Theo de Raadt
1997-04-25XXX should do reserved portsTheo de Raadt
1997-04-18oopsTheo de Raadt
1997-04-18cleanup -WallTheo de Raadt
1997-04-18Don't set sillyrename field to 0 for directories, as it's in a union withTheo de Raadt
the head of the cookie list. Fixes PR 3215, fix supplied by Hiroshi Tezuka <tezuka@trc.rwcp.or.jp>. Should also fix M_NFSDIROFF memory leak; fvdl
1997-04-18Fix some bugs in NQNFS (malformed RPC requests, no directory lease eviction);Theo de Raadt
fvdl
1997-04-18avoid possible *NULL; fvdlTheo de Raadt
1997-04-18indentTheo de Raadt
1997-04-18new socket required if changing NOCONN; fvdlTheo de Raadt
1997-04-18ensure nfs_mountroot device is a network device; from who-knows-who atTheo de Raadt
netbsd but who-can-tell because they don't make their cvs tree available so that people can check and give proper credit.
1997-04-18indentTheo de Raadt
1997-04-08chflags not permittedTheo de Raadt
1997-03-30ifdef out some vars used only w/ NFSCLIENT definedMichael Shalayeff
1997-02-24OpenBSD tagNiklas Hallqvist
1997-01-31do not sillyrename directories; from freebsdTheo de Raadt
1997-01-31do not walk off the end of a directory info buffer; netbsd pr#3170, ↵Theo de Raadt
mhitch@gemini.oscs.montana.edu
1997-01-28Put back lost VOP_GETATTR call, but in a better placeNiklas Hallqvist
1997-01-22get the ethernet/fddi issue half right. This needs to be fixed betterTheo de Raadt