summaryrefslogtreecommitdiff
path: root/sys/nfs
AgeCommit message (Expand)Author
2019-12-31Use C99 designated initializers with struct filterops. In addition,Visa Hankala
2019-12-26Convert struct vfsops initializer to C99 style.Alexander Bluhm
2019-12-25Use FOREACH macro to iterate over mnt_vnodelist.Alexander Bluhm
2019-12-05Convert infinite sleeps to tsleep_nsec(9).Martin Pieuchot
2019-08-05Allow concurrent reads of the f_offset field of struct file byanton
2019-07-25vinvalbuf(9): tlseep -> tsleep_nsec(9); ok millert@cheloha
2019-07-19vwaitforio(9): tsleep(9) -> tsleep_nsec(9); ok visa@cheloha
2019-07-19getblk(9): tsleep(9) -> tsleep_nsec(9); ok visa@cheloha
2019-07-12Revert anton@ changes about read/write unlockingsolene
2019-07-10Make read/write of the f_offset field belonging to struct file MP-safe;anton
2019-05-13When killing a process, the signal is handled by any thread thatAlexander Bluhm
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