summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authorgallatin <gallatin@FreeBSD.org>2001-08-29 19:05:27 +0000
committergallatin <gallatin@FreeBSD.org>2001-08-29 19:05:27 +0000
commita0087e29ad992a054c2ff01b4580d329e9895ae8 (patch)
tree321c0e2ac2e1da13c1280eed8530c7060711bcd2 /sys/modules
parentadf3e081dc1f4765226294de1b614e3f0ddbb5e5 (diff)
downloadFreeBSD-src-a0087e29ad992a054c2ff01b4580d329e9895ae8.zip
FreeBSD-src-a0087e29ad992a054c2ff01b4580d329e9895ae8.tar.gz
Fix linux_getcwd() so that if the cwd isn't cached (__getcwd() fails),
the cwd is looked up inside the kernel. The native getcwd() in libc handles this in userland if __getcwd() fails. Obtained from: NetBSD via OpenBSD Tested by: Chris Casey <chriss@phys.ksu.edu>, Markus Holmberg <markush@acc.umu.se> Reviewed by: Darrell Anderson <anderson@cs.duke.edu> PR: kern/24315
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/linux/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/modules/linux/Makefile b/sys/modules/linux/Makefile
index c510b94..3360a40 100644
--- a/sys/modules/linux/Makefile
+++ b/sys/modules/linux/Makefile
@@ -5,8 +5,8 @@ MAINTAINER= marcel@FreeBSD.org
.PATH: ${.CURDIR}/../../compat/linux ${.CURDIR}/../../${MACHINE_ARCH}/linux
KMOD= linux
-SRCS= linux_file.c linux_ioctl.c linux_ipc.c linux_machdep.c linux_misc.c \
- linux_signal.c linux_socket.c linux_stats.c linux_mib.c \
+SRCS= linux_file.c linux_getcwd.c linux_ioctl.c linux_ipc.c linux_machdep.c \
+ linux_misc.c linux_signal.c linux_socket.c linux_stats.c linux_mib.c \
linux_dummy.c linux_sysent.c linux_sysvec.c linux_util.c \
opt_compat.h opt_linux.h opt_vmpage.h vnode_if.h
OBJS= linux_locore.o
OpenPOWER on IntegriCloud