Bug 48169 - [PATCH] merge of linux_getcwd() and kern___getcwd()
Summary: [PATCH] merge of linux_getcwd() and kern___getcwd()
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 5.0-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-11 09:20 UTC by James Whitwell
Modified: 2003-03-17 12:21 UTC (History)
0 users

See Also:


Attachments
getcwd.patch.gz (7.87 KB, text/plain)
2003-02-11 09:20 UTC, James Whitwell
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description James Whitwell 2003-02-11 09:20:11 UTC
This is a patch to move the common parts of linux_getcwd() back into
kern/vfs_cache.c so that the standard FreeBSD libc getcwd() can use it's
extended functionality.  The linux syscall linux_getcwd() in
compat/linux/linux_getcwd.c has been rewritten to use it too.  It should
be possible to simplify libc's getcwd() after this.  No doubt this code
needs some cleaning up, since I've left in the sysctl variables I used
for debugging.
Comment 1 Poul-Henning Kamp freebsd_committer freebsd_triage 2003-03-17 12:21:25 UTC
State Changed
From-To: open->closed

Committed, thanks.