summaryrefslogtreecommitdiff
path: root/sys/nfs/nfs_serv.c
AgeCommit message (Expand)Author
2019-01-19Move boottime into the timehands.cheloha
2019-01-18Check for negative length integers in NFS server. A maliciousAlexander Bluhm
2018-11-09M_LEADINGSPACE() and M_TRAILINGSPACE() are just wrappers forClaudio Jeker
2018-06-13Make the VFS layer responsible for preventing the deletionVisa Hankala
2018-06-07Make callers of VOP_CREATE(9) and VOP_MKNOD(9) responsible forVisa Hankala
2018-05-02Remove proc from the parameters of vn_lock(). The parameter isVisa Hankala
2018-04-28Clean up the parameters of VOP_LOCK() and VOP_UNLOCK(). It is alwaysVisa Hankala
2017-12-30Delete unnecessary <sys/file.h> includesPhilip Guenther
2017-02-22Keep local definitions local.Martin Pieuchot
2016-09-21Fix nfsrv_symlink() indentation. No binary change.Jonathan Gray
2016-07-04Add missing vput() in error path to prevent a vnode getting stuck with aMartin Natano
2016-04-29Fix some gibbering horrors due to uninitialized struct nameidata'sBob Beck
2016-03-19Remove the unused flags argument from VOP_UNLOCK().natano
2015-08-30Keep track of a length for free() in error paths. Be careful,Theo de Raadt
2015-07-15m_freem() can handle NULL, do not check for this condition beforehands.Theo de Raadt
2015-06-11Avoid double-free in error path by cribbing the HASBUF flagBret Lambert
2015-05-06add missing bracesJonathan Gray
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2014-12-16primary change: move uvm_vnode out of vnode, keeping only a pointer.Ted Unangst
2014-11-18Reduce scope of iovec variables, use mallocarray, and record size forTed Unangst
2014-11-14bzero -> memsetTed Unangst
2014-11-03include sys/unistd.h where needed instead of indirect reliance. ok jsgTed Unangst
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-07-08decouple struct uvmexp into a new file, so that uvm_extern.h and sysctl.hTheo de Raadt
2014-04-21Back out most of v1.47 changes which mess up the block size on theseBob Beck
2013-08-13Switch time_t, ino_t, clock_t, and struct kevent's ident and dataPhilip Guenther
2013-06-03Convert some internal APIs to use timespecs instead of timevalsPhilip Guenther
2012-03-21Prevent vrele() being called with a NULL argument if nfs_namei() returns anMark Kettenis
2010-09-09Rename lookup/relookup to vfs_lookup/vfs_relookup.Thordur I. Bjornsson
2010-03-29Initialize various uninitialized variables. Found by jsg@ via Clang.Kenneth R Westerback
2009-10-19antsyJonathan Gray
2009-08-30if nfs_namei() fails, there's no ni_startdir and the pathname buffer hasThordur I. Bjornsson
2009-08-14Avoid double-release of vnodes in several functionsBret Lambert
2009-08-14Initialize len variable; found by Martynas VenckusBret Lambert
2009-08-13change version 3 post-operation attribute building function to notBret Lambert
2009-08-11Fix a few bugs in nfsrv_rename() error recovery code.Thordur I. Bjornsson
2009-08-10AnotherBret Lambert
2009-08-10Remove the v2 writegather code. It did help alot back in the 80sThordur I. Bjornsson
2009-08-09MLEN < NFS_MAXPATHLEN < MCLBYTES, so there's no need toBret Lambert
2009-08-09error = operation();Bret Lambert
2009-08-09set the mrq pointer (request) in the nfsm_reply() macro, as we can return fro...Thordur I. Bjornsson
2009-08-04group all of the on-stack variables that are uses by the nfsm_macrosThordur I. Bjornsson
2009-07-20(struct foo *)0 -> NULL, every where I could find it.Thordur I. Bjornsson
2009-07-17Initialize a variable that was previously using a mystery value inBret Lambert
2009-06-06Don't allocate an mbuf cluster without checking to see if it willBret Lambert
2009-06-06Consolidate error handling in read case.Bret Lambert
2009-06-06Consolidate error handling code. Much less atrocious than before.Bret Lambert
2009-06-05bring back rev1.70Thordur I. Bjornsson
2009-06-05revert to 1.67 to unbreak NFS writes; ok beck@ thib@Christian Weisgerber
2009-06-05EPERM from VOP_ACCESS() is always an error, so don't hide it.Thordur I. Bjornsson