summaryrefslogtreecommitdiffstats
path: root/sys/dev/diskmap.c
AgeCommit message (Expand)AuthorFilesLines
2019-08-06Resolve some minor nits in diskmapioctl():anton1-7/+9
2019-08-05Favor vn_close() in the error path of diskmapioctl() since side-effectsanton1-4/+2
2018-08-20Make fnew() return a new file with only one reference. This makesvisa1-2/+1
2018-08-05Decouple unveil from the pledge flags, by adding dedicated unveil flagsbeck1-1/+2
2018-07-04Do not try to unlock the fdplock() in an error path if it isn't held.mpi1-3/+3
2018-07-03Instead of overwriting `f_data' replace the 'struct file' with a new one.mpi1-36/+45
2018-05-09Mark `f_ops' as immutable.mpi1-5/+7
2018-05-02Remove proc from the parameters of vn_lock(). The parameter isvisa1-2/+2
2018-04-28Clean up the parameters of VOP_LOCK() and VOP_UNLOCK(). It is alwaysvisa1-2/+2
2018-01-02Stop assuming <sys/file.h> will pull in fcntl.h when _KERNEL is defined.guenther1-1/+2
2017-09-08If you use sys/param.h, you don't need sys/types.hderaadt1-2/+1
2016-04-29Fix some gibbering horrors due to uninitialized struct nameidata'sbeck1-5/+3
2016-03-19Remove the unused flags argument from VOP_UNLOCK().natano1-2/+2
2015-11-20Add pledge "disklabel", which allows sysctl kern.rawpartition, aderaadt1-1/+3
2015-08-30size for free(); ok krwderaadt1-3/+3
2015-05-07Pass a thread pointer instead of its file descriptor table to getvnode(9).mpi1-4/+4
2015-03-14Remove some includes include-what-you-use claims don'tjsg1-2/+1
2014-12-16primary change: move uvm_vnode out of vnode, keeping only a pointer.tedu1-1/+2
2014-07-12add a size argument to free. will be used soon, but for now default to 0.tedu1-3/+3
2012-04-22Add struct proc * argument to FRELE() and FILE_SET_MATURE() inguenther1-3/+3
2011-07-07Add new syscall entries to support the openat(2) family of functionsmatthew1-1/+2
2011-07-02Use getvnode() instead of implementing our own file descriptor handlingjsing1-11/+7
2011-04-07Do not use NULL in integer comparisons. No functional change.miod1-2/+2
2011-01-12Only init the nameidata parts that are strictly needed insteadthib1-4/+4
2010-06-14plug a memleak, free the devname when we succeed withthib1-3/+3
2010-06-08Introduce a diskmap pseudo device which allows userland to open a diskjsing1-0/+152