summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/chroot.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2005-08-15 22:18:26 +0000
committerEric Andersen <andersen@codepoet.org>2005-08-15 22:18:26 +0000
commit8b995a0e60df749e43af032cc9570ee55b918105 (patch)
tree1eb51a1c86118a4b6039d823f549f01afc56d5f2 /libc/sysdeps/linux/common/chroot.c
parent5833ba3946c09cf5af0ccf5bc61626f1f4a60825 (diff)
For current kernels, we just use the getcwd() syscall. For old 2.0 linux
kernels, we need this bit to make the non-syscall version that recurses up the directory path work properly. Thanks go to Harald Kuethe for sorting this out.
Diffstat (limited to 'libc/sysdeps/linux/common/chroot.c')
0 files changed, 0 insertions, 0 deletions