This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
glibc and linux-man disagrees about pkey_alloc
- From: Szabolcs Nagy <szabolcs dot nagy at arm dot com>
- To: mtk dot manpages at gmail dot com
- Cc: nd at arm dot com, linux-man at vger dot kernel dot org, GNU C Library <libc-alpha at sourceware dot org>, Rich Felker <dalias at libc dot org>
- Date: Wed, 16 May 2018 12:10:40 +0100
- Subject: glibc and linux-man disagrees about pkey_alloc
- Nodisclaimer: True
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
glibc sysdeps/unix/sysv/linux/bits/mman-shared.h:
int pkey_alloc (unsigned int __flags, unsigned int __access_rights) __THROW;
linux-man http://man7.org/linux/man-pages/man2/pkey_alloc.2.html :
int pkey_alloc(unsigned long flags, unsigned long access_rights);
i assume the documentation should be fixed (as the glibc
code is already in use)