summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_lookup.c
AgeCommit message (Expand)Author
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
2006-04-30remove the simplelock argument from vfs_busy() which is currently notNikolay Sturm
2005-11-30No need for vfs_busy() and vfs_unbusy() to take a process pointerPedro Martelletto
2005-11-08Use ANSI function declarations and deregister, no binary changePedro Martelletto
2005-05-26RIP stackable filesystems, ok marius@ tedu@, discussed with deraadt@Pedro Martelletto
2004-07-11save an (eventually existent) namei process context when going overPedro Martelletto
2004-05-14use pool for namei pathbuf. testing ok millert@ tdeval@Ted Unangst
2003-10-08originally from cb@netbsd.org, adapted by provosNikolay Sturm
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-05-06avoid doing a lookup on no longer mounted directories.Ted Unangst
2003-05-04remove unused var docache from relookup. from netbsdTed Unangst
2003-01-31File system locking fixups, mostly from NetBSD:Artur Grabowski
2002-08-27call ktrnamei() later, after cnp->cn_pnbuf has been made proper; art@ okMichael Shalayeff
2002-07-02use hash.h for nfs_hash as well as namei's hashEric Jackson
2001-06-22KNFTheo de Raadt
2000-11-10Change the ktrace interface functions from taking the trace vnode to taking theArtur Grabowski
1999-04-16ln bug fixTheo de Raadt
1999-01-11panic prints a newline for you, don't do it in the panic stringTodd C. Miller