mirror of https://github.com/mkerrisk/man-pages
openat2.2: Minor tweaks to RESOLVE_IN_ROOT text
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
75cd77e3c1
commit
9e0168b018
|
@ -275,7 +275,7 @@ the caller should explicitly specify
|
|||
.BR RESOLVE_NO_MAGICLINKS .
|
||||
.TP
|
||||
.B RESOLVE_IN_ROOT
|
||||
Treat
|
||||
Treat the directory referred to by
|
||||
.I dirfd
|
||||
as the root directory while resolving
|
||||
.IR pathname .
|
||||
|
@ -295,8 +295,7 @@ However, unlike
|
|||
.BR chroot (2)
|
||||
(which changes the filesystem root permanently for a process),
|
||||
.B RESOLVE_IN_ROOT
|
||||
allows a program to efficiently restrict path resolution for selected
|
||||
open operations.
|
||||
allows a program to efficiently restrict path resolution on a per-open basis.
|
||||
.\" FIXME The next piece is unclear (to me). What kind of ".." escape
|
||||
.\" attempts does chroot() not detecct that RESOLVE_IN_ROOT does?
|
||||
The
|
||||
|
|
Loading…
Reference in New Issue