mirror of https://github.com/mkerrisk/man-pages
Since 2.6.20, access() honours the MS_NOEXEC mount flag.
This commit is contained in:
parent
926b6e378b
commit
dc0b1e23b6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue