summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_vnops.c
AgeCommit message (Expand)Author
2018-08-20Reorder checks in the read/write(2) family of syscalls to prepare makingMartin Pieuchot
2018-08-15Grab the KERNEL_LOCK() in MP-unsafe fo_close routines. This preventsVisa Hankala
2018-07-03Add a new so_seek member to "struct file" such that we can have seekableMark Kettenis
2018-07-03Avoid NULL pointer deref in vn_writechk() when calling ftruncate() on a fileanton
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
2018-04-10Convert 'struct fileops' definitions to C99.Martin Pieuchot
2018-01-02Stop assuming <sys/file.h> will pull in fcntl.h when _KERNEL is defined.Philip Guenther
2017-08-13Nuke trailing whitespaceBob Beck
2016-09-30Drop a now unneeded variable initialization; spotted by bluhm@Jeremie Courreges-Anglas
2016-09-30Make read(2) return EISDIR on directories.Jeremie Courreges-Anglas
2016-06-19Remove the lockmgr() API. It is only used by filesystems, where it is aMartin Natano
2016-03-19Remove the unused flags argument from VOP_UNLOCK().natano
2016-01-06remove unnecessary casts where the incoming type is void *.Ted Unangst
2015-05-01Pass fflag to VOP_POLL so vfs fifo functions can get at the fileTodd C. Miller
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-03include sys/unistd.h where needed instead of indirect reliance. ok jsgTed Unangst
2014-07-13pass the size to free in some of the obvious casesTed 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-01-24Copy timespecs member by member in fo_stat callback functions, to avoidPhilip Guenther
2013-09-14Correct the handling of I/O of >=2^32 bytes and the ktracing there ofPhilip Guenther
2013-06-05Move FHASLOCK from f_flag to f_iflags, freeing up a bit for passingPhilip Guenther
2013-03-30vrele() is a tricky beast. it can sleep if the refcount hits zero,Ted Unangst
2012-07-11If the current offset is strictly less than the process filesizePhilip Guenthe
2011-11-27When checking for offset wrap around in vn_read(), compare againstPhilip Guenthe
2011-11-07Make pwrite/pwritev ignore the O_APPEND flag.Philip Guenthe
2011-07-09Add support for the O_CLOEXEC and O_DIRECTORY flags introduced inMatthew Dempsky
2011-07-06Minor turd polishing: hold the vnode lock in vn_rdwr() only whileMatthew Dempsky
2011-07-04move the specfs code to a place people can see it; ok guenther thib krwTheo de Raadt
2010-07-26Correct the links between threads, processes, pgrps, and sessions,Philip Guenthe
2010-01-08As advertised in the man page, make open(2) return ELOOP (insteadStefan Sperling
2009-07-09Remove the VREF() macro and replaces all instances with a call to verf(),Thordur I. Bjornsson
2009-01-29Switch struct stat's timespec members to the names standardized inPhilip Guenthe
2009-01-24propagate the O_EXCL flag down to the file systems, by settingThordur I. Bjornsson
2008-09-19Fix a bunch of problems and races with posix file locking.Artur Grabowski
2008-04-08bring cloning up too date; Munge it so it will work with atleastThordur I. Bjornsson
2007-06-14Forgotten hackton diff: bounds check for seek on special devicesOtto Moerbeek
2007-06-01FIBMAP is used by nothing; checked by miod and pvalchevTheo de Raadt
2007-05-05vn_access hasn't been used for ages and it's just a wrapper withArtur Grabowski
2007-03-21Remove the v_interlock simplelock from the vnode structure.Thordur I. Bjornsson
2007-01-16Retire VOP_LEASE(); It was a bit for NQNFS and hasThordur I. Bjornsson
2006-06-02Add a clonable devices implementation. Hacked along with thib@, inputPedro Martelletto
2006-05-01Move vn_isunder() to vfs_vnops.c, that's the place for vn_* functionsPedro Martelletto
2006-04-23'fall into' -> FALLTHROUGHPedro Martelletto
2006-04-23Remove unnecessary ARGSUSED commentPedro Martelletto
2006-04-23KNFPedro Martelletto
2005-12-04Add vn_access(), discussed with and okay uwe@Pedro Martelletto