public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/29375] New: don't hide MAP_ANONYMOUS behind _GNU_SOURCE
@ 2022-07-18 11:51 jscott at posteo dot net
  2022-07-18 11:52 ` [Bug libc/29375] " jscott at posteo dot net
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: jscott at posteo dot net @ 2022-07-18 11:51 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 29375
           Summary: don't hide MAP_ANONYMOUS behind _GNU_SOURCE
           Product: glibc
           Version: 2.36
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: jscott at posteo dot net
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

Hi,

POSIX is going to standardize MAP_ANONYMOUS in Issue 8. However, there's no
reason why we can't expose it to POSIX-conforming applications right now. MAP_
constants are in the implementation-reserved namespace according to the
standard, and musl libc already exposes MAP_ANON(YMOUS) when only
_POSIX_C_SOURCE is set. glibc should adopt this same behavior so it's easier
for application writers to use this lovely functionality.

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

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

* [Bug libc/29375] don't hide MAP_ANONYMOUS behind _GNU_SOURCE
  2022-07-18 11:51 [Bug libc/29375] New: don't hide MAP_ANONYMOUS behind _GNU_SOURCE jscott at posteo dot net
@ 2022-07-18 11:52 ` jscott at posteo dot net
  2022-07-18 12:14 ` schwab@linux-m68k.org
  2022-10-10  7:38 ` schwab@linux-m68k.org
  2 siblings, 0 replies; 4+ messages in thread
From: jscott at posteo dot net @ 2022-07-18 11:52 UTC (permalink / raw)
  To: glibc-bugs

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

John Scott <jscott at posteo dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |minor

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

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

* [Bug libc/29375] don't hide MAP_ANONYMOUS behind _GNU_SOURCE
  2022-07-18 11:51 [Bug libc/29375] New: don't hide MAP_ANONYMOUS behind _GNU_SOURCE jscott at posteo dot net
  2022-07-18 11:52 ` [Bug libc/29375] " jscott at posteo dot net
@ 2022-07-18 12:14 ` schwab@linux-m68k.org
  2022-10-10  7:38 ` schwab@linux-m68k.org
  2 siblings, 0 replies; 4+ messages in thread
From: schwab@linux-m68k.org @ 2022-07-18 12:14 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> ---
I guess we should just expose all MAP_ constants unconditionally.

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

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

* [Bug libc/29375] don't hide MAP_ANONYMOUS behind _GNU_SOURCE
  2022-07-18 11:51 [Bug libc/29375] New: don't hide MAP_ANONYMOUS behind _GNU_SOURCE jscott at posteo dot net
  2022-07-18 11:52 ` [Bug libc/29375] " jscott at posteo dot net
  2022-07-18 12:14 ` schwab@linux-m68k.org
@ 2022-10-10  7:38 ` schwab@linux-m68k.org
  2 siblings, 0 replies; 4+ messages in thread
From: schwab@linux-m68k.org @ 2022-10-10  7:38 UTC (permalink / raw)
  To: glibc-bugs

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

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
   Target Milestone|---                         |2.37
         Resolution|---                         |FIXED

--- Comment #2 from Andreas Schwab <schwab@linux-m68k.org> ---
Done so in 2.37.

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

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

end of thread, other threads:[~2022-10-10  7:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-18 11:51 [Bug libc/29375] New: don't hide MAP_ANONYMOUS behind _GNU_SOURCE jscott at posteo dot net
2022-07-18 11:52 ` [Bug libc/29375] " jscott at posteo dot net
2022-07-18 12:14 ` schwab@linux-m68k.org
2022-10-10  7:38 ` schwab@linux-m68k.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).