public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/27380] New: Missing process_madvise(2) system call wrapper
@ 2021-02-08 22:13 alx.manpages at gmail dot com
  2024-02-14 15:51 ` [Bug libc/27380] " fweimer at redhat dot com
  2024-02-25 12:13 ` alx at kernel dot org
  0 siblings, 2 replies; 3+ messages in thread
From: alx.manpages at gmail dot com @ 2021-02-08 22:13 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=27380

            Bug ID: 27380
           Summary: Missing process_madvise(2) system call wrapper
           Product: glibc
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: alx.manpages at gmail dot com
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

Linux 5.10 added process_madvise(2) (see kernel commit
ecb8ac8b1f146915aa6b96449b66dd48984caacc).

Should glibc add a wrapper for it?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Bug libc/27380] Missing process_madvise(2) system call wrapper
  2021-02-08 22:13 [Bug libc/27380] New: Missing process_madvise(2) system call wrapper alx.manpages at gmail dot com
@ 2024-02-14 15:51 ` fweimer at redhat dot com
  2024-02-25 12:13 ` alx at kernel dot org
  1 sibling, 0 replies; 3+ messages in thread
From: fweimer at redhat dot com @ 2024-02-14 15:51 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=27380

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-
         Resolution|---                         |FIXED
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |fweimer at redhat dot com
   Target Milestone|---                         |2.36

--- Comment #1 from Florian Weimer <fweimer at redhat dot com> ---
Fixed via:

commit d19ee3473d68ca0e794f3a8b7677a0983ae1342e
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Wed Jan 26 16:05:31 2022 -0300

    linux: Add process_madvise

    It was added on Linux 5.10 (ecb8ac8b1f146915aa6b96449b66dd48984caacc)
    with the same functionality as madvise but using a pidfd of the target
    process.

    Checked on x86_64-linux-gnu and i686-linux-gnu.

    Reviewed-by: Carlos O'Donell <carlos@redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Bug libc/27380] Missing process_madvise(2) system call wrapper
  2021-02-08 22:13 [Bug libc/27380] New: Missing process_madvise(2) system call wrapper alx.manpages at gmail dot com
  2024-02-14 15:51 ` [Bug libc/27380] " fweimer at redhat dot com
@ 2024-02-25 12:13 ` alx at kernel dot org
  1 sibling, 0 replies; 3+ messages in thread
From: alx at kernel dot org @ 2024-02-25 12:13 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=27380

--- Comment #2 from alx at kernel dot org ---
Hi Florian,

On Wed, Feb 14, 2024 at 03:51:35PM +0000, fweimer at redhat dot com wrote:
> https://sourceware.org/bugzilla/show_bug.cgi?id=27380
> 
> Florian Weimer <fweimer at redhat dot com> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>               Flags|                            |security-
>          Resolution|---                         |FIXED
>              Status|UNCONFIRMED                 |RESOLVED
>                  CC|                            |fweimer at redhat dot com
>    Target Milestone|---                         |2.36
> 
> --- Comment #1 from Florian Weimer <fweimer at redhat dot com> ---
> Fixed via:
> 
> commit d19ee3473d68ca0e794f3a8b7677a0983ae1342e
> Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
> Date:   Wed Jan 26 16:05:31 2022 -0300
> 
>     linux: Add process_madvise
> 
>     It was added on Linux 5.10 (ecb8ac8b1f146915aa6b96449b66dd48984caacc)
>     with the same functionality as madvise but using a pidfd of the target
>     process.
> 
>     Checked on x86_64-linux-gnu and i686-linux-gnu.
> 
>     Reviewed-by: Carlos O'Donell <carlos@redhat.com>

Thanks!

I see it's not documented in the glibc manual.  I couldn't find it here:
<https://sourceware.org/glibc/manual/latest/html_node/Library-Summary.html>

Anyway, from the commit message and NEWS file I could see what I needed
for the manual page.

Have a lovely day!
Alex

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

end of thread, other threads:[~2024-02-25 12:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-08 22:13 [Bug libc/27380] New: Missing process_madvise(2) system call wrapper alx.manpages at gmail dot com
2024-02-14 15:51 ` [Bug libc/27380] " fweimer at redhat dot com
2024-02-25 12:13 ` alx at kernel dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).