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 .\" of segments marked for destruction
.\" .\"
.\" FIXME . Add an example program to this page. .\" 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" .TH SHMOP 2 2014-04-28 "Linux" "Linux Programmer's Manual"
.SH NAME .SH NAME
shmat, shmdt \- System V shared memory operations shmat, shmdt \- System V shared memory operations
@ -88,6 +88,10 @@ the following flags may be specified in the
.I shmflg .I shmflg
bit-mask argument: bit-mask argument:
.TP .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 .BR SHM_RDONLY
Attach the segment read-only access. Attach the segment read-only access.
The process must have read permission for the segment. The process must have read permission for the segment.