summaryrefslogtreecommitdiff
path: root/sys/nfs
AgeCommit message (Expand)Author
2019-01-22The kernel interpreted bogus lengths in RPC calls during NFS boot.Alexander Bluhm
2019-01-21Introduce a dedicated entry point data structure for file locks. This new dataanton
2019-01-19Move boottime into the timehands.cheloha
2019-01-18Check for negative length in NFS strings. This affects both, theAlexander Bluhm
2019-01-18Check for negative length integers in NFS server. A maliciousAlexander Bluhm
2019-01-18Check for negative length integers in NFS client. A maliciousAlexander Bluhm
2018-11-30Switch MH_ALIGN to m_align which is the same.Claudio Jeker
2018-11-09M_LEADINGSPACE() and M_TRAILINGSPACE() are just wrappers forClaudio Jeker
2018-09-10Instead of calculating the mbuf packet header length here and there,Alexander Bluhm
2018-07-30Use FNONBLOCK instead of SS_NBIO to check/indicate that the I/O modeMartin Pieuchot
2018-07-09Nuke unused define 'nfsm_writereply()'.Kenneth R Westerback
2018-07-02Use more list macros for v_dirtyblkhd.Alexander Bluhm
2018-06-21Drop redundant "node == parent node" checks from VOP_RMDIR()Visa Hankala
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-06-06Pass the socket to sounlock(), this prepare the terrain for per-socketMartin Pieuchot
2018-05-27Drop unnecessary `p' parameter from vget(9).Visa Hankala
2018-05-05Implement proper locking for NFS nodes.Martin Pieuchot
2018-05-04After unmount nfs_timer() could access the freed memory of structAlexander Bluhm
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
2018-04-25Fix use of unreferenced vnode by decrementing the vnode's referenceVisa Hankala
2018-04-17Prepare vnops to be locked.Martin Pieuchot
2018-04-09Change the representation of an NFS mount point by caching the rootMartin Pieuchot
2018-03-28Check for possible race after sleeping instead of using a rwlock toMartin Pieuchot
2018-02-19Remove almost unused `flags' argument of suser().Martin Pieuchot
2018-02-10Syncronize filesystems to disk when suspending. Each mountpoint's vnodesTheo de Raadt
2018-01-31Use FREF() instead of rolling our own.Martin Pieuchot
2017-12-30Delete unnecessary <sys/file.h> includesPhilip Guenther
2017-12-11In uvm Chuck decided backing store would not be allocated proactivelyTheo de Raadt
2017-11-14Push the NET_LOCK into ifioctl() and use the NET_RLOCK in ifioctl_get().Theo Buehler
2017-09-07nfs_connect() returns EINVAL at the beginning if nm_sotype isAlexander Bluhm
2017-09-05Preallocate option mbufs in order to reduce solock()/sounlock() dances.Martin Pieuchot
2017-09-01Change sosetopt() to no longer free the mbuf it receives and changeMartin Pieuchot
2017-08-29Remove old deactivated pledge path code. A replacement mechanism isTheo de Raadt
2017-08-14knf to fix tab/space mismatches that make it hard to tell what's insideTed Unangst
2017-08-14drop seriously lacking support for SEQPACKET.Ted Unangst
2017-08-11Remove NET_LOCK()'s argument.Martin Pieuchot
2017-08-10Move the solock()/sounlock() dance outside of sobind().Martin Pieuchot
2017-08-09Move the socket lock "above" sosetopt(), sogetopt() and sosplice().Martin Pieuchot
2017-07-24Extend the scope of the socket lock to protect `so_state' in connect(2).Martin Pieuchot
2017-07-19If second xdr_string_encode() fails in bp_getfile() m_freem() m sinceClaudio Jeker
2017-06-27Add missing solock()/sounlock() dances around sbreserve().Martin Pieuchot
2017-06-26Assert that the corresponding socket is locked when manipulating socketMartin Pieuchot
2017-06-19When dealing with mbuf pointers passed down as function parameters,Alexander Bluhm
2017-05-17Remove useless splsoftnet().Martin Pieuchot
2017-05-08Sync nfs_connect() w/ sys_connect().Martin Pieuchot
2017-03-03Prevent a recursion in the socket layer.Martin Pieuchot
2017-02-22Keep local definitions local.Martin Pieuchot
2016-12-19Introduce the NET_LOCK() a rwlock used to serialize accesses to the partsMartin Pieuchot