]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
Since 2.6.20, access() honours the MS_NOEXEC mount flag.
authorMichael Kerrisk <mtk.manpages@gmail.com>
Mon, 26 Feb 2007 14:30:21 +0000 (14:30 +0000)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Mon, 26 Feb 2007 14:30:21 +0000 (14:30 +0000)
man2/access.2

index f4d2bd9526b07964c6fee2e0c04b7e26db48bb88..3fdeb888decd0297d62f0f4c8f76038daad97c69 100644 (file)
@@ -153,6 +153,17 @@ Insufficient kernel memory was available.
 .B ETXTBSY
 Write access was requested to an executable which is being
 executed.
+.SH "LINUX NOTES"
+In kernels before 2.6.20,
+.BR access ()
+ignored the effect of the 
+.B MS_NOEXEC
+flag if it was used to
+.BR mount (2)
+the underlying file system.
+Since kernel 2.6.20,
+.BR access ()
+honours this flag.
 .SH RESTRICTIONS
 .BR access ()
 returns an error if any of the access types in the requested call