mirror of https://github.com/mkerrisk/man-pages
getcwd.3: Add kernel version/commit details to Jann Horn's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
de0dd42776
commit
2b1f1a35b5
|
@ -81,9 +81,11 @@ The pathname is returned as the function result and via the argument
|
|||
if present.
|
||||
|
||||
If the current directory is not below the root directory of the current
|
||||
process (e.g. because the process set a new filesystem root using
|
||||
process (e.g., because the process set a new filesystem root using
|
||||
.BR chroot (2)
|
||||
without changing its current directory into the new root),
|
||||
then, since Linux 2.6.36,
|
||||
.\" commit 8df9d1a4142311c084ffeeacb67cd34d190eff74
|
||||
the returned path will be prefixed with the string "(unreachable)".
|
||||
Such behavior can also be caused by an unprivileged user by changing
|
||||
the current directory into another mount namespace.
|
||||
|
|
Loading…
Reference in New Issue