mirror of
https://github.com/rwinkhart/sys.git
synced 2026-09-06 00:57:18 -04:00
unix: add UMOUNT_NOFOLLOW constant
Add the UMOUNT_NOFOLLOW on Linux, available since Linux 2.6.34. See http://man7.org/linux/man-pages/man2/umount.2.html and https://github.com/torvalds/linux/commit/db1f05bb85d796 Fixes golang/go#18316 Change-Id: I5c7dafdbb311f287b6cf290aa8a0eaf2940b9834 Reviewed-on: https://go-review.googlesource.com/46771 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
committed by
Matt Layher
parent
f7928cfef4
commit
90796e5a05
+1
-1
@@ -376,7 +376,7 @@ ccflags="$@"
|
||||
$2 == "IFNAMSIZ" ||
|
||||
$2 ~ /^CTL_(MAXNAME|NET|QUERY)$/ ||
|
||||
$2 ~ /^SYSCTL_VERS/ ||
|
||||
$2 ~ /^(MS|MNT)_/ ||
|
||||
$2 ~ /^(MS|MNT|UMOUNT)_/ ||
|
||||
$2 ~ /^TUN(SET|GET|ATTACH|DETACH)/ ||
|
||||
$2 ~ /^(O|F|E?FD|NAME|S|PTRACE|PT)_/ ||
|
||||
$2 ~ /^LINUX_REBOOT_CMD_/ ||
|
||||
|
||||
Reference in New Issue
Block a user