* [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
* Re: [PATCH] process_madvise.2: Add note about missing glibc wrapper
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)
0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2021-02-13 15:46 UTC (permalink / raw)
To: Alejandro Colomar; +Cc: mtk.manpages, linux-man
Hi Alex,
On 2/11/21 6:44 PM, Alejandro Colomar wrote:
> Glibc bug: <https://sourceware.org/bugzilla/show_bug.cgi?id=27380>
> Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Thanks. Patch applied.
Cheers,
Michael
> ---
> 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),
>
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
^ permalink raw reply [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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.