mirror of https://github.com/mkerrisk/man-pages
umount.2: Document UMOUNT_NOFOLLOW
New in Linux 2.6.34. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
ec92bd800a
commit
c3b9aac8a5
|
@ -27,7 +27,7 @@
|
|||
.\" 2008-10-06, mtk: Created this as a new page by splitting
|
||||
.\" umount/umount2 material out of mount.2
|
||||
.\"
|
||||
.TH UMOUNT 2 2009-09-03 "Linux" "Linux Programmer's Manual"
|
||||
.TH UMOUNT 2 2010-06-19 "Linux" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
umount, umount2 \- unmount file system
|
||||
.SH SYNOPSIS
|
||||
|
@ -88,6 +88,13 @@ This flag cannot be specified with either
|
|||
.B MNT_FORCE
|
||||
or
|
||||
.BR MNT_DETACH .
|
||||
.TP
|
||||
.BR UMOUNT_NOFOLLOW " (since Linux 2.6.34)"
|
||||
Don't dereference
|
||||
.I target
|
||||
if it is a symbolic link.
|
||||
This flag allows security problems to be avoided in in set-user-ID-\fIroot\fP
|
||||
programs that allow unprivileged users to unmount file systems.
|
||||
.SH "RETURN VALUE"
|
||||
On success, zero is returned.
|
||||
On error, \-1 is returned, and
|
||||
|
|
Loading…
Reference in New Issue