mirror of https://github.com/mkerrisk/man-pages
pkey_alloc.2: Switch to glibc prototype in SYNOPSIS
In the kernel, the type of the arguments to pkey_alloc() is "unsigned long" and that's what the page documented until now. Now that glibc support is added for pkey_alloc(), switch to the glibc prototype, which uses "unsigned int". Reported-by: Szabolcs Nagy <szabolcs.nagy@arm.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
f9d9ad2163
commit
6a4c997189
|
@ -29,7 +29,7 @@ pkey_alloc, pkey_free \- allocate or free a protection key
|
|||
.nf
|
||||
.B #include <sys/mman.h>
|
||||
.PP
|
||||
.BI "int pkey_alloc(unsigned long " flags ", unsigned long " access_rights ");"
|
||||
.BI "int pkey_alloc(unsigned int " flags ", unsigned int " access_rights ");"
|
||||
.BI "int pkey_free(int " pkey ");"
|
||||
.fi
|
||||
.SH DESCRIPTION
|
||||
|
|
Loading…
Reference in New Issue