Date: Sun, 14 Sep 1997 09:51:33 -0700 (PDT) From: Poul-Henning Kamp <phk@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/kern init_sysent.c syscalls.c syscalls.master vfs_syscalls.c src/sys/sys syscall-hide.h syscall.h sysproto.h Message-ID: <199709141651.JAA07658@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
phk 1997/09/14 09:51:33 PDT Modified files: sys/kern init_sysent.c syscalls.c syscalls.master vfs_syscalls.c sys/sys syscall-hide.h syscall.h sysproto.h Log: Add a __getcwd() syscall. This is intentionally undocumented, but all it does is to try to figure the pwd out from the vfs namecache, and return a reversed string to it. libc:getcwd() is responsible for flipping it back. Revision Changes Path 1.49 +1 -0 src/sys/kern/init_sysent.c 1.44 +1 -0 src/sys/kern/syscalls.c 1.43 +2 -1 src/sys/kern/syscalls.master 1.68 +50 -1 src/sys/kern/vfs_syscalls.c 1.38 +1 -0 src/sys/sys/syscall-hide.h 1.42 +2 -1 src/sys/sys/syscall.h 1.28 +5 -0 src/sys/sys/sysproto.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709141651.JAA07658>