shmop.2: Document SHM_EXEC

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-04-28 10:22:18 +02:00
parent 2b9b829d52
commit 4aaf987efc
1 changed files with 5 additions and 1 deletions

View File

@ -37,7 +37,7 @@
.\" of segments marked for destruction
.\"
.\" FIXME . Add an example program to this page.
.\" FIXME Linux 2.6.9 added SHM_EXEC, which should be documented
.\"
.TH SHMOP 2 2014-04-28 "Linux" "Linux Programmer's Manual"
.SH NAME
shmat, shmdt \- System V shared memory operations
@ -88,6 +88,10 @@ the following flags may be specified in the
.I shmflg
bit-mask argument:
.TP
.BR SHM_EXEC " (Linux-specific; since Linux 2.6.9)"
Allow the contents of the segment to be executed.
The caller must have execute permission on the segment.
.TP
.BR SHM_RDONLY
Attach the segment read-only access.
The process must have read permission for the segment.