public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug network/19622] Support aliasing with struct sockaddr
       [not found] <bug-19622-131@http.sourceware.org/bugzilla/>
@ 2024-05-07  9:32 ` fweimer at redhat dot com
  2024-05-07 11:39 ` sam at gentoo dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: fweimer at redhat dot com @ 2024-05-07  9:32 UTC (permalink / raw)
  To: glibc-bugs

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fweimer at redhat dot com
           Assignee|unassigned at sourceware dot org   |fweimer at redhat dot com
             Status|NEW                         |ASSIGNED

--- Comment #4 from Florian Weimer <fweimer at redhat dot com> ---
Patch posted:

PATCH] socket: Use may_alias on sockaddr structs (bug 19622)
<https://inbox.sourceware.org/libc-alpha/87v83q6kc2.fsf@oldenburg.str.redhat.com/>

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

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

* [Bug network/19622] Support aliasing with struct sockaddr
       [not found] <bug-19622-131@http.sourceware.org/bugzilla/>
  2024-05-07  9:32 ` [Bug network/19622] Support aliasing with struct sockaddr fweimer at redhat dot com
@ 2024-05-07 11:39 ` sam at gentoo dot org
  2024-05-07 11:40 ` sam at gentoo dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: sam at gentoo dot org @ 2024-05-07 11:39 UTC (permalink / raw)
  To: glibc-bugs

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

Sam James <sam at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sam at gentoo dot org

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

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

* [Bug network/19622] Support aliasing with struct sockaddr
       [not found] <bug-19622-131@http.sourceware.org/bugzilla/>
  2024-05-07  9:32 ` [Bug network/19622] Support aliasing with struct sockaddr fweimer at redhat dot com
  2024-05-07 11:39 ` sam at gentoo dot org
@ 2024-05-07 11:40 ` sam at gentoo dot org
  2024-05-07 19:42 ` sam at gentoo dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: sam at gentoo dot org @ 2024-05-07 11:40 UTC (permalink / raw)
  To: glibc-bugs

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

Sam James <sam at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eblake at redhat dot com

--- Comment #5 from Sam James <sam at gentoo dot org> ---
See also https://austingroupbugs.net/view.php?id=1641.

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

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

* [Bug network/19622] Support aliasing with struct sockaddr
       [not found] <bug-19622-131@http.sourceware.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2024-05-07 11:40 ` sam at gentoo dot org
@ 2024-05-07 19:42 ` sam at gentoo dot org
  2024-05-07 19:54 ` bugdal at aerifal dot cx
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: sam at gentoo dot org @ 2024-05-07 19:42 UTC (permalink / raw)
  To: glibc-bugs

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

Sam James <sam at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://sourceware.org/bugz
                   |                            |illa/show_bug.cgi?id=30293

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

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

* [Bug network/19622] Support aliasing with struct sockaddr
       [not found] <bug-19622-131@http.sourceware.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2024-05-07 19:42 ` sam at gentoo dot org
@ 2024-05-07 19:54 ` bugdal at aerifal dot cx
  2024-05-18 11:47 ` fw at deneb dot enyo.de
  2024-06-13  7:40 ` fweimer at redhat dot com
  6 siblings, 0 replies; 7+ messages in thread
From: bugdal at aerifal dot cx @ 2024-05-07 19:54 UTC (permalink / raw)
  To: glibc-bugs

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

Rich Felker <bugdal at aerifal dot cx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugdal at aerifal dot cx

--- Comment #6 from Rich Felker <bugdal at aerifal dot cx> ---
Why is it valid for there to be a previous forward declaration? I don't think
it's permitted for applications to make their own declarations of these types.

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

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

* [Bug network/19622] Support aliasing with struct sockaddr
       [not found] <bug-19622-131@http.sourceware.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2024-05-07 19:54 ` bugdal at aerifal dot cx
@ 2024-05-18 11:47 ` fw at deneb dot enyo.de
  2024-06-13  7:40 ` fweimer at redhat dot com
  6 siblings, 0 replies; 7+ messages in thread
From: fw at deneb dot enyo.de @ 2024-05-18 11:47 UTC (permalink / raw)
  To: glibc-bugs

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

Florian Weimer <fw at deneb dot enyo.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
                 CC|                            |fw at deneb dot enyo.de
   Target Milestone|---                         |2.40

--- Comment #7 from Florian Weimer <fw at deneb dot enyo.de> ---
Fixed for 2.40 via:

commit 8d7b6b4cb27d4dec1dd5f7960298c1699275f962
Author: Florian Weimer <fweimer@redhat.com>
Date:   Sat May 18 09:33:19 2024 +0200

    socket: Use may_alias on sockaddr structs (bug 19622)

    This supports common coding patterns.  The GCC C front end before
    version 7 rejects the may_alias attribute on a struct definition
    if it was not present in a previous forward declaration, so this
    attribute can only be conditionally applied.

    This implements the spirit of the change in Austin Group issue 1641.

    Suggested-by: Marek Polacek <polacek@redhat.com>
    Suggested-by: Jakub Jelinek <jakub@redhat.com>
    Reviewed-by: Sam James <sam@gentoo.org>
    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] 7+ messages in thread

* [Bug network/19622] Support aliasing with struct sockaddr
       [not found] <bug-19622-131@http.sourceware.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2024-05-18 11:47 ` fw at deneb dot enyo.de
@ 2024-06-13  7:40 ` fweimer at redhat dot com
  6 siblings, 0 replies; 7+ messages in thread
From: fweimer at redhat dot com @ 2024-06-13  7:40 UTC (permalink / raw)
  To: glibc-bugs

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rouca at debian dot org

--- Comment #8 from Florian Weimer <fweimer at redhat dot com> ---
*** Bug 30293 has been marked as a duplicate of this bug. ***

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

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

end of thread, other threads:[~2024-06-13  7:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-19622-131@http.sourceware.org/bugzilla/>
2024-05-07  9:32 ` [Bug network/19622] Support aliasing with struct sockaddr fweimer at redhat dot com
2024-05-07 11:39 ` sam at gentoo dot org
2024-05-07 11:40 ` sam at gentoo dot org
2024-05-07 19:42 ` sam at gentoo dot org
2024-05-07 19:54 ` bugdal at aerifal dot cx
2024-05-18 11:47 ` fw at deneb dot enyo.de
2024-06-13  7:40 ` fweimer at redhat dot com

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).