summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_lookup.c
AgeCommit message (Expand)Author
2019-07-29When setting immutable flags on directories with chflags(1), callingAlexander Bluhm
2019-07-27Move unveil prototypes from vfs_lookup.c to namei.h for functionsAlexander Bluhm
2019-07-18Fix unveiling nonexistent files on read-only filesystemskn
2019-07-15Make realpath posixly correct by changing the kernel implementationBob Beck
2019-07-08When an unlink failed due to unveil, the use count of the inode wasAlexander Bluhm
2019-05-13Add a kernel implementation of realpath() as __realpath().Bob Beck
2019-01-03Fix a collection of covering unveil bugs that prevent unveil's of upperBob Beck
2018-10-28Correctly deal with upper level unveil's by keeping track of the coveringBob Beck
2018-08-13More clear version of previous namei/pledge/chroot solution. namei flagTheo de Raadt
2018-08-02Fix panic when we attempt to mess with "." but have a flags mismatchBob Beck
2018-07-30Allow for us to do a CREATE style lookup on a read only filesystemBob Beck
2018-07-13Unveiling unveil(2).Bob Beck
2018-07-05Plug a vnode leak in namei(). If the file system is unmountedAlexander 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-27Move FREF() inside fd_getfile().Martin Pieuchot
2018-04-09Do a FREF()/FRELE() dance after fd_getfile() and before calling vref(9)Martin Pieuchot
2017-08-29Remove old deactivated pledge path code. A replacement mechanism isTheo de Raadt
2017-08-15remove parens that were copied from ndinit's previous life as a macroTed Unangst
2016-04-29Fix some gibbering horrors due to uninitialized struct nameidata'sBob Beck
2016-04-281) Split pledge whitelist path handling out of pledge_namei() and intoBob Beck
2016-04-25boom goes the dynamiteTed Unangst
2016-03-19Remove the unused flags argument from VOP_UNLOCK().natano
2015-11-02move the pledgenote annotation from `struct proc' to `struct nameidata'Sebastien Marie
2015-11-01refactor pledge_*_check and pledge_fail functionsSebastien Marie
2015-10-09Rename tame() to pledge(). This fairly interface has evolved to be moreTheo de Raadt
2015-09-11Only include <sys/tame.h> in the .c files that need itPhilip Guenther
2015-08-22Move to tame(int flags, char *paths[]) API/ABI.Theo de Raadt
2015-07-19tame(2) is a subsystem which restricts programs into a "reduced featureTheo de Raadt
2015-04-23avoid an uneeded derefJonathan Gray
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2015-01-19SYMLOOP_MAX == MAXSYMLINKS, so use SYMLOOP_MAXTheo de Raadt
2014-12-16primary change: move uvm_vnode out of vnode, keeping only a pointer.Ted Unangst
2014-12-10convert bcopy to memcpy. ok millertTed Unangst
2014-12-03stale header: this code hasn't used hash.h in a whileTed Unangst
2014-03-25As long as we're pulling in "systrace.h", might as well conditionalizePhilip Guenther
2013-03-30Return ENOTDIR if an *at() syscall is passed a relative path and aPhilip Guenther
2011-07-22Doh, fix a memory leak when an invalid file descriptor is passed to aMatthew Dempsky
2011-07-07Add new syscall entries to support the openat(2) family of functionsMatthew Dempsky
2010-09-09Rename lookup/relookup to vfs_lookup/vfs_relookup.Thordur I. Bjornsson
2010-05-20Don't dereference cp to shut gcc4 up (the intent anyway).Marco Peereboom
2010-05-19clean up a few things that where left to rot after bob's vfs cache work.Thordur I. Bjornsson
2009-07-09Remove the VREF() macro and replaces all instances with a call to verf(),Thordur I. Bjornsson
2009-03-09Clarify comment in namei(): the code commented doesn't check if theBret Lambert
2008-03-04Do not permit insertion of a "" symbolic link translation into the pathTheo de Raadt
2007-09-08Sync description of lookup() a bit more to reality.Hans-Joerg Hoexer
2007-08-07fix the "double-path" errors seen with getcwd by saving the orignalThordur I. Bjornsson
2006-06-25rename vfs_busy() flags VB_UMIGNORE/VB_UMWAIT to VB_NOWAIT/VB_WAITNikolay Sturm
2006-06-23namei() only returns locked vnodes if LOCKLEAF is set, be more clearNikolay Sturm
2006-06-14move vfs_busy() to rwlocks and properly hide the locking api from vfsNikolay Sturm