summaryrefslogtreecommitdiff
path: root/sys/dev/diskmap.c
AgeCommit message (Expand)Author
2023-04-13remove duplicate includesJonathan Gray
2019-08-06Resolve some minor nits in diskmapioctl():anton
2019-08-05Favor vn_close() in the error path of diskmapioctl() since side-effectsanton
2018-08-20Make fnew() return a new file with only one reference. This makesVisa Hankala
2018-08-05Decouple unveil from the pledge flags, by adding dedicated unveil flagsBob Beck
2018-07-04Do not try to unlock the fdplock() in an error path if it isn't held.Martin Pieuchot
2018-07-03Instead of overwriting `f_data' replace the 'struct file' with a new one.Martin Pieuchot
2018-05-09Mark `f_ops' as immutable.Martin Pieuchot
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-01-02Stop assuming <sys/file.h> will pull in fcntl.h when _KERNEL is defined.Philip Guenther
2017-09-08If you use sys/param.h, you don't need sys/types.hTheo de Raadt
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-11-20Add pledge "disklabel", which allows sysctl kern.rawpartition, aTheo de Raadt
2015-08-30size for free(); ok krwTheo de Raadt
2015-05-07Pass a thread pointer instead of its file descriptor table to getvnode(9).Martin Pieuchot
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-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2012-04-22Add struct proc * argument to FRELE() and FILE_SET_MATURE() inPhilip Guenthe
2011-07-07Add new syscall entries to support the openat(2) family of functionsMatthew Dempsky
2011-07-02Use getvnode() instead of implementing our own file descriptor handlingJoel Sing
2011-04-07Do not use NULL in integer comparisons. No functional change.Miod Vallat
2011-01-12Only init the nameidata parts that are strictly needed insteadThordur I. Bjornsson
2010-06-14plug a memleak, free the devname when we succeed withThordur I. Bjornsson
2010-06-08Introduce a diskmap pseudo device which allows userland to open a diskJoel Sing