From: Bruno Haible <bruno@clisp.org> Date: Mon, 10 Jun 2019 12:08:38 +0000 (+0200) Subject: doc: Mention pkey_alloc, pkey_set, pkey_get, pkey_free, pkey_mprotect. X-Git-Tag: v1.0~4901 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=b0bde85a55d793792057873f4f2daf4ba8dd4b84;p=gnulib.git doc: Mention pkey_alloc, pkey_set, pkey_get, pkey_free, pkey_mprotect. * doc/glibc-functions/pkey_alloc.texi: New file. * doc/glibc-functions/pkey_set.texi: New file. * doc/glibc-functions/pkey_get.texi: New file. * doc/glibc-functions/pkey_free.texi: New file. * doc/glibc-functions/pkey_mprotect.texi: New file. * doc/gnulib.texi (Glibc sys/mman.h): Include them. --- diff --git a/doc/glibc-functions/pkey_alloc.texi b/doc/glibc-functions/pkey_alloc.texi new file mode 100644 index 0000000000..f6c454f0b3 --- /dev/null +++ b/doc/glibc-functions/pkey_alloc.texi @@ -0,0 +1,29 @@ +@node pkey_alloc +@subsection @code{pkey_alloc} +@findex pkey_alloc + +Documentation: +@itemize +@item +@ifinfo +@ref{Memory Protection,,Memory Protection,libc}, +@end ifinfo +@ifnotinfo +@url{https://www.gnu.org/software/libc/manual/html_node/Memory-Protection.html}, +@end ifnotinfo +@item +@uref{https://www.kernel.org/doc/man-pages/online/pages/man2/pkey_alloc.2.html,,man pkey_alloc}. +@end itemize + +Gnulib module: --- + +Portability problems fixed by Gnulib: +@itemize +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +This function is missing on all non-glibc platforms: +glibc 2.26, Mac OS X 10.5, FreeBSD 12.0, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, AIX 7.1, HP-UX 11.31, IRIX 6.5, OSF/1 5.1, Solaris 11.4, Cygwin, mingw, MSVC 14, Interix 3.5, BeOS, Android 9.0. +@end itemize diff --git a/doc/glibc-functions/pkey_free.texi b/doc/glibc-functions/pkey_free.texi new file mode 100644 index 0000000000..e5bb228f7d --- /dev/null +++ b/doc/glibc-functions/pkey_free.texi @@ -0,0 +1,29 @@ +@node pkey_free +@subsection @code{pkey_free} +@findex pkey_free + +Documentation: +@itemize +@item +@ifinfo +@ref{Memory Protection,,Memory Protection,libc}, +@end ifinfo +@ifnotinfo +@url{https://www.gnu.org/software/libc/manual/html_node/Memory-Protection.html}, +@end ifnotinfo +@item +@uref{https://www.kernel.org/doc/man-pages/online/pages/man2/pkey_free.2.html,,man pkey_free}. +@end itemize + +Gnulib module: --- + +Portability problems fixed by Gnulib: +@itemize +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +This function is missing on all non-glibc platforms: +glibc 2.26, Mac OS X 10.5, FreeBSD 12.0, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, AIX 7.1, HP-UX 11.31, IRIX 6.5, OSF/1 5.1, Solaris 11.4, Cygwin, mingw, MSVC 14, Interix 3.5, BeOS, Android 9.0. +@end itemize diff --git a/doc/glibc-functions/pkey_get.texi b/doc/glibc-functions/pkey_get.texi new file mode 100644 index 0000000000..93b50b5ea2 --- /dev/null +++ b/doc/glibc-functions/pkey_get.texi @@ -0,0 +1,24 @@ +@node pkey_get +@subsection @code{pkey_get} +@findex pkey_get + +Documentation:@* +@ifinfo +@ref{Memory Protection,,Memory Protection,libc}. +@end ifinfo +@ifnotinfo +@url{https://www.gnu.org/software/libc/manual/html_node/Memory-Protection.html}. +@end ifnotinfo + +Gnulib module: --- + +Portability problems fixed by Gnulib: +@itemize +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +This function is missing on all non-glibc platforms: +glibc 2.26, Mac OS X 10.5, FreeBSD 12.0, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, AIX 7.1, HP-UX 11.31, IRIX 6.5, OSF/1 5.1, Solaris 11.4, Cygwin, mingw, MSVC 14, Interix 3.5, BeOS, Android 9.0. +@end itemize diff --git a/doc/glibc-functions/pkey_mprotect.texi b/doc/glibc-functions/pkey_mprotect.texi new file mode 100644 index 0000000000..62d44fad0b --- /dev/null +++ b/doc/glibc-functions/pkey_mprotect.texi @@ -0,0 +1,29 @@ +@node pkey_mprotect +@subsection @code{pkey_mprotect} +@findex pkey_mprotect + +Documentation: +@itemize +@item +@ifinfo +@ref{Memory Protection,,Memory Protection,libc}, +@end ifinfo +@ifnotinfo +@url{https://www.gnu.org/software/libc/manual/html_node/Memory-Protection.html}, +@end ifnotinfo +@item +@uref{https://www.kernel.org/doc/man-pages/online/pages/man2/pkey_mprotect.2.html,,man pkey_mprotect}. +@end itemize + +Gnulib module: --- + +Portability problems fixed by Gnulib: +@itemize +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +This function is missing on all non-glibc platforms: +glibc 2.26, Mac OS X 10.5, FreeBSD 12.0, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, AIX 7.1, HP-UX 11.31, IRIX 6.5, OSF/1 5.1, Solaris 11.4, Cygwin, mingw, MSVC 14, Interix 3.5, BeOS, Android 9.0. +@end itemize diff --git a/doc/glibc-functions/pkey_set.texi b/doc/glibc-functions/pkey_set.texi new file mode 100644 index 0000000000..e140d38ed3 --- /dev/null +++ b/doc/glibc-functions/pkey_set.texi @@ -0,0 +1,24 @@ +@node pkey_set +@subsection @code{pkey_set} +@findex pkey_set + +Documentation:@* +@ifinfo +@ref{Memory Protection,,Memory Protection,libc}. +@end ifinfo +@ifnotinfo +@url{https://www.gnu.org/software/libc/manual/html_node/Memory-Protection.html}. +@end ifnotinfo + +Gnulib module: --- + +Portability problems fixed by Gnulib: +@itemize +@end itemize + +Portability problems not fixed by Gnulib: +@itemize +@item +This function is missing on all non-glibc platforms: +glibc 2.26, Mac OS X 10.5, FreeBSD 12.0, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, AIX 7.1, HP-UX 11.31, IRIX 6.5, OSF/1 5.1, Solaris 11.4, Cygwin, mingw, MSVC 14, Interix 3.5, BeOS, Android 9.0. +@end itemize diff --git a/doc/gnulib.texi b/doc/gnulib.texi index 0795917175..c559046e04 100644 --- a/doc/gnulib.texi +++ b/doc/gnulib.texi @@ -5844,6 +5844,11 @@ This list of functions is sorted according to the header that declares them. * mincore:: * mlock2:: * mremap:: +* pkey_alloc:: +* pkey_free:: +* pkey_get:: +* pkey_mprotect:: +* pkey_set:: * remap_file_pages:: @end menu @@ -5852,6 +5857,11 @@ This list of functions is sorted according to the header that declares them. @include glibc-functions/mincore.texi @include glibc-functions/mlock2.texi @include glibc-functions/mremap.texi +@include glibc-functions/pkey_alloc.texi +@include glibc-functions/pkey_free.texi +@include glibc-functions/pkey_get.texi +@include glibc-functions/pkey_mprotect.texi +@include glibc-functions/pkey_set.texi @include glibc-functions/remap_file_pages.texi @node Glibc sys/mount.h