public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] process_madvise.2: Add note about missing glibc wrapper
@ 2021-02-11 17:44 Alejandro Colomar
  2021-02-13 15:46 ` Michael Kerrisk (man-pages)
  0 siblings, 1 reply; 2+ messages in thread
From: Alejandro Colomar @ 2021-02-11 17:44 UTC (permalink / raw)
  To: mtk.manpages; +Cc: Alejandro Colomar, linux-man

Glibc bug: <https://sourceware.org/bugzilla/show_bug.cgi?id=27380>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
---
 man2/process_madvise.2 | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/man2/process_madvise.2 b/man2/process_madvise.2
index d33c32f63..9dc90ced1 100644
--- a/man2/process_madvise.2
+++ b/man2/process_madvise.2
@@ -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),
-- 
2.30.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-02-13 15:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-11 17:44 [PATCH] process_madvise.2: Add note about missing glibc wrapper Alejandro Colomar
2021-02-13 15:46 ` Michael Kerrisk (man-pages)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox