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:
Michael Kerrisk 2010-06-19 05:39:31 +02:00
parent ec92bd800a
commit c3b9aac8a5
1 changed files with 8 additions and 1 deletions

View File

@ -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