public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/12252] New: signal.h does not export SA_RESTART and friends for POSIX source
@ 2010-11-22  1:45 vapier at gentoo dot org
  2010-11-26  1:25 ` [Bug libc/12252] " drepper.fsp at gmail dot com
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: vapier at gentoo dot org @ 2010-11-22  1:45 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=12252

           Summary: signal.h does not export SA_RESTART and friends for
                    POSIX source
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper.fsp@gmail.com
        ReportedBy: vapier@gentoo.org


if you define _POSIX_SOURCE or _POSIX_C_SOURCE and include signal.h, the
SA_ONSTACK/SA_RESTART/SA_NODEFER/SA_RESETHAND defines are hidden.  they seem to
only be exposed for _XOPEN_SOURCE (XPG) and for _BSD_SOURCE or _SVID_SOURCE. 
but according to the POSIX spec, they are part of the extended ISO C spec which
makes them part of the POSIX base spec.

so at least for _POSIX_C_SOURCE >= 200112L, these things should be defined.  i
dont have older references, so i cant look up how far standard-wise back these
should be made available.

1003.1-2004 sigaction:
http://www.opengroup.org/onlinepubs/009695399/functions/sigaction.html
1003.1-2008 sigaction:
http://www.opengroup.org/onlinepubs/9699919799/functions/sigaction.html

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug libc/12252] signal.h does not export SA_RESTART and friends for POSIX source
  2010-11-22  1:45 [Bug libc/12252] New: signal.h does not export SA_RESTART and friends for POSIX source vapier at gentoo dot org
@ 2010-11-26  1:25 ` drepper.fsp at gmail dot com
  2010-11-26  3:13 ` vapier at gentoo dot org
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: drepper.fsp at gmail dot com @ 2010-11-26  1:25 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=12252

Ulrich Drepper <drepper.fsp at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Ulrich Drepper <drepper.fsp at gmail dot com> 2010-11-26 01:25:26 UTC ---
(In reply to comment #0)
> so at least for _POSIX_C_SOURCE >= 200112L, these things should be defined.  i
> dont have older references, so i cant look up how far standard-wise back these
> should be made available.

This is plainly wrong.  The symbols (except SA_ONSTACK) were XSI symbols and
SA_ONSTACK still is.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug libc/12252] signal.h does not export SA_RESTART and friends for POSIX source
  2010-11-22  1:45 [Bug libc/12252] New: signal.h does not export SA_RESTART and friends for POSIX source vapier at gentoo dot org
  2010-11-26  1:25 ` [Bug libc/12252] " drepper.fsp at gmail dot com
@ 2010-11-26  3:13 ` vapier at gentoo dot org
  2010-11-26  4:45 ` vapier at gentoo dot org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: vapier at gentoo dot org @ 2010-11-26  3:13 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=12252

Mike Frysinger <vapier at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://austingroupbugs.net/
                   |                            |view.php?id=356

--- Comment #2 from Mike Frysinger <vapier at gentoo dot org> 2010-11-26 03:13:18 UTC ---
reported upstream to the austin group then

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug libc/12252] signal.h does not export SA_RESTART and friends for POSIX source
  2010-11-22  1:45 [Bug libc/12252] New: signal.h does not export SA_RESTART and friends for POSIX source vapier at gentoo dot org
  2010-11-26  1:25 ` [Bug libc/12252] " drepper.fsp at gmail dot com
  2010-11-26  3:13 ` vapier at gentoo dot org
@ 2010-11-26  4:45 ` vapier at gentoo dot org
  2010-11-26  9:13 ` schwab@linux-m68k.org
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: vapier at gentoo dot org @ 2010-11-26  4:45 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=12252

Mike Frysinger <vapier at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |

--- Comment #3 from Mike Frysinger <vapier at gentoo dot org> 2010-11-26 04:44:49 UTC ---
and the POSIX guys say that newer specs no longer defines many of these things
under XSI.  so glibc needs updating to move some of the defines under
_POSIX_C_SOURCE >= 200809L.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug libc/12252] signal.h does not export SA_RESTART and friends for POSIX source
  2010-11-22  1:45 [Bug libc/12252] New: signal.h does not export SA_RESTART and friends for POSIX source vapier at gentoo dot org
                   ` (2 preceding siblings ...)
  2010-11-26  4:45 ` vapier at gentoo dot org
@ 2010-11-26  9:13 ` schwab@linux-m68k.org
  2010-11-26 10:23 ` vapier at gentoo dot org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: schwab@linux-m68k.org @ 2010-11-26  9:13 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=12252

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |WORKSFORME

--- Comment #4 from Andreas Schwab <schwab@linux-m68k.org> 2010-11-26 09:12:51 UTC ---
33780b6d332af9d94216eff880734be7748c2269

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug libc/12252] signal.h does not export SA_RESTART and friends for POSIX source
  2010-11-22  1:45 [Bug libc/12252] New: signal.h does not export SA_RESTART and friends for POSIX source vapier at gentoo dot org
                   ` (3 preceding siblings ...)
  2010-11-26  9:13 ` schwab@linux-m68k.org
@ 2010-11-26 10:23 ` vapier at gentoo dot org
  2010-11-26 12:17 ` drepper.fsp at gmail dot com
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: vapier at gentoo dot org @ 2010-11-26 10:23 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=12252

Mike Frysinger <vapier at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|WORKSFORME                  |FIXED

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug libc/12252] signal.h does not export SA_RESTART and friends for POSIX source
  2010-11-22  1:45 [Bug libc/12252] New: signal.h does not export SA_RESTART and friends for POSIX source vapier at gentoo dot org
                   ` (4 preceding siblings ...)
  2010-11-26 10:23 ` vapier at gentoo dot org
@ 2010-11-26 12:17 ` drepper.fsp at gmail dot com
  2010-11-26 12:34 ` vapier at gentoo dot org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: drepper.fsp at gmail dot com @ 2010-11-26 12:17 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=12252

Ulrich Drepper <drepper.fsp at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |INVALID

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug libc/12252] signal.h does not export SA_RESTART and friends for POSIX source
  2010-11-22  1:45 [Bug libc/12252] New: signal.h does not export SA_RESTART and friends for POSIX source vapier at gentoo dot org
                   ` (5 preceding siblings ...)
  2010-11-26 12:17 ` drepper.fsp at gmail dot com
@ 2010-11-26 12:34 ` vapier at gentoo dot org
  2010-11-26 14:23 ` drepper.fsp at gmail dot com
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: vapier at gentoo dot org @ 2010-11-26 12:34 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=12252

Mike Frysinger <vapier at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|INVALID                     |FIXED

--- Comment #5 from Mike Frysinger <vapier at gentoo dot org> 2010-11-26 12:34:27 UTC ---
i dont know why you're insistent on marking everything as invalid.  there was a
bug as i described in my summary (signal.h defines were not properly exposed
with latest spec), and now thanks to Andreas, it is fixed.  hence the proper
resolution is fixed and not invalid.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug libc/12252] signal.h does not export SA_RESTART and friends for POSIX source
  2010-11-22  1:45 [Bug libc/12252] New: signal.h does not export SA_RESTART and friends for POSIX source vapier at gentoo dot org
                   ` (6 preceding siblings ...)
  2010-11-26 12:34 ` vapier at gentoo dot org
@ 2010-11-26 14:23 ` drepper.fsp at gmail dot com
  2010-11-27  4:08 ` vapier at gentoo dot org
  2014-06-30  6:24 ` fweimer at redhat dot com
  9 siblings, 0 replies; 11+ messages in thread
From: drepper.fsp at gmail dot com @ 2010-11-26 14:23 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=12252

Ulrich Drepper <drepper.fsp at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |INVALID

--- Comment #6 from Ulrich Drepper <drepper.fsp at gmail dot com> 2010-11-26 14:23:34 UTC ---
(In reply to comment #5)
> i dont know why you're insistent on marking everything as invalid.  there was a
> bug as i described in my summary (signal.h defines were not properly exposed
> with latest spec), and now thanks to Andreas, it is fixed.  hence the proper
> resolution is fixed and not invalid.

You haven't even looked at the date of the commit.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug libc/12252] signal.h does not export SA_RESTART and friends for POSIX source
  2010-11-22  1:45 [Bug libc/12252] New: signal.h does not export SA_RESTART and friends for POSIX source vapier at gentoo dot org
                   ` (7 preceding siblings ...)
  2010-11-26 14:23 ` drepper.fsp at gmail dot com
@ 2010-11-27  4:08 ` vapier at gentoo dot org
  2014-06-30  6:24 ` fweimer at redhat dot com
  9 siblings, 0 replies; 11+ messages in thread
From: vapier at gentoo dot org @ 2010-11-27  4:08 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=12252

--- Comment #7 from Mike Frysinger <vapier at gentoo dot org> 2010-11-27 04:08:16 UTC ---
perhaps if you had tried using a few more words rather than being so abrasive,
we wouldnt be wasting time on this shit then.  all you had to do in your fist
comment was mention that things have already been fixed in the latest git tree
for >=200809L.  the point of my bug was that _POSIX_C_SOURCE wasnt being
respected at all.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug libc/12252] signal.h does not export SA_RESTART and friends for POSIX source
  2010-11-22  1:45 [Bug libc/12252] New: signal.h does not export SA_RESTART and friends for POSIX source vapier at gentoo dot org
                   ` (8 preceding siblings ...)
  2010-11-27  4:08 ` vapier at gentoo dot org
@ 2014-06-30  6:24 ` fweimer at redhat dot com
  9 siblings, 0 replies; 11+ messages in thread
From: fweimer at redhat dot com @ 2014-06-30  6:24 UTC (permalink / raw)
  To: glibc-bugs

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

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


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

end of thread, other threads:[~2014-06-30  6:24 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-22  1:45 [Bug libc/12252] New: signal.h does not export SA_RESTART and friends for POSIX source vapier at gentoo dot org
2010-11-26  1:25 ` [Bug libc/12252] " drepper.fsp at gmail dot com
2010-11-26  3:13 ` vapier at gentoo dot org
2010-11-26  4:45 ` vapier at gentoo dot org
2010-11-26  9:13 ` schwab@linux-m68k.org
2010-11-26 10:23 ` vapier at gentoo dot org
2010-11-26 12:17 ` drepper.fsp at gmail dot com
2010-11-26 12:34 ` vapier at gentoo dot org
2010-11-26 14:23 ` drepper.fsp at gmail dot com
2010-11-27  4:08 ` vapier at gentoo dot org
2014-06-30  6:24 ` 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).