summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_getcwd.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove some includes include-what-you-use claims don'tjsg2015-03-141-2/+1
| | | | | | | have any direct symbols used. Tested for indirect use by compiling amd64/i386/sparc64 kernels. ok tedu@ deraadt@
* primary change: move uvm_vnode out of vnode, keeping only a pointer.tedu2014-12-161-1/+2
| | | | | | objective: vnode.h doesn't include uvm_extern.h anymore. followup changes: include uvm_extern.h or lock.h where necessary. ok and help from deraadt
* pass size argument to free()deraadt2014-11-031-3/+3
| | | | ok doug tedu
* add a size argument to free. will be used soon, but for now default to 0.tedu2014-07-121-3/+3
| | | | after discussions with beck deraadt kettenis.
* Switch time_t, ino_t, clock_t, and struct kevent's ident and dataguenther2013-08-131-4/+3
| | | | | | | | | | | | | | | | | | | | members to 64bit types. Assign new syscall numbers for (almost all) the syscalls that involve the affected types, including anything with time_t, timeval, itimerval, timespec, rusage, dirent, stat, or kevent arguments. Add a d_off member to struct dirent and replace getdirentries() with getdents(), thus immensely simplifying and accelerating telldir/seekdir. Build perl with -DBIG_TIME. Bump the major on every single base library: the compat bits included here are only good enough to make the transition; the T32 compat option will be burned as soon as we've reached the new world are are happy with the snapshots for all architectures. DANGER: ABI incompatibility. Updating to this kernel requires extra work or you won't be able to login: install a snapshot instead. Much assistance in fixing userland issues from deraadt@ and tedu@ and build assistance from todd@ and otto@
* arguments to bcopy/memmove are reversed. put on thinking cap, then commit.tedu2013-06-091-2/+2
|
* change a bcopy to memmove (mainly to catch platforms that don't offer it)tedu2013-06-091-2/+2
|
* Add new KERN_PROC_CWD sysctl to get the current working directory of a process.nicm2011-12-091-3/+1
| | | | ok guenther deraadt
* clean up a few things that where left to rot after bob's vfs cache work.thib2010-05-191-2/+1
| | | | | | | sync a few comments to reality (or remove them), remove the cn_hash member from struct componentname, spacing. ok beck@
* fix typos in comments, no code changes;schwarze2010-01-141-2/+2
| | | | | from Brad Tilley <brad at 16systems dot com>; ok oga@
* Remove the VREF() macro and replaces all instances with a call to verf(),thib2009-07-091-4/+4
| | | | | | | | | | | which is exactly what the macro does. Macro's that are nothing more then: #define FUNCTION(arg) function(arg) are almost always pointless and should go away. OK blambert@ Agreed by many.
* Remove unused function proc_isunder()blambert2009-04-171-17/+1
| | | | "go for it" tedu@
* First pass at removing clauses 3 and 4 from NetBSD licenses.ray2008-06-261-8/+1
| | | | | | | | | Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
* fix the "double-path" errors seen with getcwd by saving the orignalthib2007-08-071-2/+6
| | | | | | | | | buffer position in vfs_getcwd_getcache() and restoring it on error. Use u_int32_t for the componentname hash, use the same type in the diagnostic code in relookup() to prevent unsigned vs signed errors. help, testing & ok kurt@ ok millert@, art@
* back out vfs change - todd fries has seen afs issues, and I'm suspiciousbeck2007-05-301-8/+8
| | | | this can cause other problems.
* Step one of some vnode improvements - change getnewvnode tobeck2007-05-291-8/+8
| | | | | | | | actually allocate "desiredvnodes" - add a vdrop to un-hold a vnode held with vhold, and change the name cache to make use of vhold/vdrop, while keeping track of which vnodes are referred to by which cache entries to correctly hold/drop vnodes when the cache uses them. ok thib@, tedu@, art@
* Don't cast malloc()pedro2006-05-171-3/+3
|
* Move vn_isunder() to vfs_vnops.c, that's the place for vn_* functionspedro2006-05-011-15/+1
|
* Rename functions and move prototypes aroundpedro2006-05-011-16/+8
|
* Make static functions global so DDB can see thempedro2006-05-011-10/+11
|
* Prune remaining of the code, no binary changepedro2006-04-301-122/+53
|
* Prune getcwd_common() and vn_isunder(), no binary changepedro2006-04-301-47/+41
|
* Prune proc_isunder() and sys___getcwd(), no binary changepedro2006-04-301-33/+18
|
* KNF bitspedro2006-04-291-14/+14
|
* Instrumentation for an in-kernel getcwd() implementation.pedro2006-04-281-0/+560
Not yet activated. Diff by marius@ long ago, from NetBSD. Okay miod@ and krw@.