]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
process_madvise.2: Add note about missing glibc wrapper
authorAlejandro Colomar <alx.manpages@gmail.com>
Thu, 11 Feb 2021 17:44:55 +0000 (18:44 +0100)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Sat, 13 Feb 2021 15:42:18 +0000 (16:42 +0100)
Glibc bug: <https://sourceware.org/bugzilla/show_bug.cgi?id=27380>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/process_madvise.2

index d33c32f63e4b0fe1684d852adf195b0e90c7d6d2..3767d8d4ad47b9335efecc88fa1f0c3679b0f9e4 100644 (file)
@@ -36,6 +36,10 @@ process_madvise \- give advice about use of memory to a process
 .BI "                        unsigned long " vlen ", int " advice ,
 .BI "                        unsigned int " flags ");"
 .fi
+.PP
+.IR Note :
+There is no glibc wrapper for this system call; see NOTES.
+.\" FIXME: See <https://sourceware.org/bugzilla/show_bug.cgi?id=27380>
 .SH DESCRIPTION
 The
 .BR process_madvise()
@@ -218,6 +222,9 @@ Support for this system call is optional,
 depending on the setting of the
 .B CONFIG_ADVISE_SYSCALLS
 configuration option.
+.SH NOTES
+Glibc does not provide a wrapper for this system call; call it using
+.BR syscall (2).
 .SH SEE ALSO
 .BR madvise (2),
 .BR pidfd_open (2),