process_madvise.2: Add note about missing glibc wrapper
PATCH 1/1 process_madvise.2: Add note about missing glibc wrapper
Glibc bug: <https://sourceware.org/bugzilla/show_bug.cgi?id=27380>
Signed-off-by Alejandro Colomar <[email protected]>
--- man2/process_madvise.2 | 6 ++++++ 1 file changed, 6 insertions(+)
man2/process_madvise.2 +7 -0
@@ -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),
Signature · 1 line
2.30.0
Hi Alex,
Quoted 2 lines · Alejandro Colomar
Glibc bug: <https://sourceware.org/bugzilla/show_bug.cgi?id=27380>
Signed-off-by Alejandro Colomar <[email protected]>
Thanks. Patch applied.
Cheers,
Michael
Quoted 30 lines
--- man2/process_madvise.2 | 6 ++++++ 1 file changed, 6 insertions(+)man2/process_madvise.2 +7
-0@@ -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),
Signature · 3 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/