summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_lookup.c
AgeCommit message (Collapse)Author
2004-05-14use pool for namei pathbuf. testing ok millert@ tdeval@Ted Unangst
2003-10-08originally from cb@netbsd.org, adapted by provosNikolay Sturm
itojun@ ok fix a race condition between path resolution in userland and the subsequent namei(): inform the kernel portion of valid filenames and then disallow symlink lookups for those filenames by means of a hook in namei(). with suggestions from provos@ also, add (currently unused) seqnr field to struct systrace_replace, from provos@
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-06avoid doing a lookup on no longer mounted directories.Ted Unangst
fixes a crash with forced unmounts. from netbsd
2003-05-04remove unused var docache from relookup. from netbsdTed Unangst
2003-01-31File system locking fixups, mostly from NetBSD:Artur Grabowski
- cache_lookup move common code from various fs's here always return with vnode and parent locked adjust return codes - PDIRUNLOCK - new flag set if lookup couldn't lock parent vnode - kernfs and procfs lock vnode in get_root don't unlock (again) in kernfs_freevp fix memory leak in procfs From tedu@stanford.edu deraadt@ and various other ok
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
ok art@ costa@
2001-06-22KNFTheo de Raadt
2000-11-10Change the ktrace interface functions from taking the trace vnode to taking theArtur Grabowski
traced proc. The vnode is in the proc and all functions need the proc.
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
1998-08-07Fix portal FS & PR #556Constantine Sapuntzakis
Basically, if file system consumes the slashes at the end of a component, don't require that the component is a directory.
1998-01-09A better fix for the mkdir ("path/") bug. This fix strips the trailing slashesConstantine Sapuntzakis
(except in the case where the path is just /////) in the following three cases: 1) The path in mkdir 2) The destination path in rename if the source was a directory 3) The destination path in link if the source was a directory Note #3 isn't strictly necessary since most of our file systems don't support hard links of directories anyway.
1998-01-09Back out changes to lookup( ). This breaks a whole bunch of other systemConstantine Sapuntzakis
calls (like open, rename, link, symlink). Problem should probably be fixed other ways.
1998-01-09Fix for mkdir ("path/") problemConstantine Sapuntzakis
1997-11-06Updates for VFS Lite 2 + soft update.Constantine Sapuntzakis
1997-10-06back out vfs lite2 till after 2.2Theo de Raadt
1997-10-06VFS Lite2 ChangesConstantine Sapuntzakis
1997-06-18Switch to the NetBSD implementation of null path handling; by kleink@NetBSD.orgThorsten Lockert
1997-05-21Use vrele() if the vnode was not locked, not vput()Thorsten Lockert
1997-03-01Don't dereference a vnode pointer that is NULLThorsten Lockert
1996-11-06Get vnode locking right when verifying pathnames ending in '/' are directoriesThorsten Lockert
1996-11-06Temporarily disable special-case for trailing '/' in pathname lookupsThorsten Lockert
1996-10-28Disallow null strings ("") as path names; ignore trailing / on path names,Thorsten Lockert
but make sure the last element of such a path is a directory
1996-03-03From NetBSD: 960217 mergeNiklas Hallqvist
1995-10-18initial import of NetBSD treeTheo de Raadt