mirror of https://github.com/mkerrisk/man-pages
mprotect.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
a398e76366
commit
31e0cc4430
|
@ -86,14 +86,14 @@ and
|
||||||
The
|
The
|
||||||
.I pkey
|
.I pkey
|
||||||
argument specifies the protection key (see
|
argument specifies the protection key (see
|
||||||
.BR pkey (7))
|
.BR pkeys (7))
|
||||||
to assign to the memory.
|
to assign to the memory.
|
||||||
The protection key must be allocated with
|
The protection key must be allocated with
|
||||||
.BR pkey_alloc (2)
|
.BR pkey_alloc (2)
|
||||||
before it is passed to
|
before it is passed to
|
||||||
.BR pkey_mprotect ().
|
.BR pkey_mprotect ().
|
||||||
For an example of the use of this system call, see
|
For an example of the use of this system call, see
|
||||||
.BR pkey (7).
|
.BR pkeys (7).
|
||||||
.SH RETURN VALUE
|
.SH RETURN VALUE
|
||||||
On success,
|
On success,
|
||||||
.BR mprotect ()
|
.BR mprotect ()
|
||||||
|
@ -306,4 +306,4 @@ main(int argc, char *argv[])
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.BR mmap (2),
|
.BR mmap (2),
|
||||||
.BR sysconf (3),
|
.BR sysconf (3),
|
||||||
.BR pkey (7)
|
.BR pkeys (7)
|
||||||
|
|
Loading…
Reference in New Issue