From c3b9aac8a59761a14ea1201fcc7154dc29d26c10 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sat, 19 Jun 2010 05:39:31 +0200 Subject: [PATCH] umount.2: Document UMOUNT_NOFOLLOW New in Linux 2.6.34. Signed-off-by: Michael Kerrisk --- man2/umount.2 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/man2/umount.2 b/man2/umount.2 index d65ba194c..e0758f4e6 100644 --- a/man2/umount.2 +++ b/man2/umount.2 @@ -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