public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/18124] New: hppa: setcontext erroneously returns -1 as exit code for last constant.
@ 2015-03-13 14:59 carlos at redhat dot com
2015-05-08 15:31 ` [Bug libc/18124] " carlos at redhat dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: carlos at redhat dot com @ 2015-03-13 14:59 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=18124
Bug ID: 18124
Summary: hppa: setcontext erroneously returns -1 as exit code
for last constant.
Product: glibc
Version: 2.21
Status: NEW
Severity: normal
Priority: P2
Component: libc
Assignee: unassigned at sourceware dot org
Reporter: carlos at redhat dot com
CC: drepper.fsp at gmail dot com
The hppa implementation of setcontext had several flaws:
* It called _exit instead of exit, avoiding the registered exit handlers that
should be run. The standard says nothing about avoiding them.
* It should use HIDDEN_JUMPTARGET(exit) to avoid a PLT slot usage.
* It should call __sigprocmask to avoid another PLT slot usage.
* it should return 0 as the exit code when the last linked-to context
completes.
--
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/18124] hppa: setcontext erroneously returns -1 as exit code for last constant.
2015-03-13 14:59 [Bug libc/18124] New: hppa: setcontext erroneously returns -1 as exit code for last constant carlos at redhat dot com
@ 2015-05-08 15:31 ` carlos at redhat dot com
2015-05-08 15:32 ` carlos at redhat dot com
2015-08-15 18:05 ` vapier at gentoo dot org
2 siblings, 0 replies; 4+ messages in thread
From: carlos at redhat dot com @ 2015-05-08 15:31 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=18124
Carlos O'Donell <carlos at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |2.22
--
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/18124] hppa: setcontext erroneously returns -1 as exit code for last constant.
2015-03-13 14:59 [Bug libc/18124] New: hppa: setcontext erroneously returns -1 as exit code for last constant carlos at redhat dot com
2015-05-08 15:31 ` [Bug libc/18124] " carlos at redhat dot com
@ 2015-05-08 15:32 ` carlos at redhat dot com
2015-08-15 18:05 ` vapier at gentoo dot org
2 siblings, 0 replies; 4+ messages in thread
From: carlos at redhat dot com @ 2015-05-08 15:32 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=18124
--- Comment #1 from Carlos O'Donell <carlos at redhat dot com> ---
(In reply to Carlos O'Donell from comment #0)
> The hppa implementation of setcontext had several flaws:
>
> * It called _exit instead of exit, avoiding the registered exit handlers
> that should be run. The standard says nothing about avoiding them.
Fixed by bug 18125.
--
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/18124] hppa: setcontext erroneously returns -1 as exit code for last constant.
2015-03-13 14:59 [Bug libc/18124] New: hppa: setcontext erroneously returns -1 as exit code for last constant carlos at redhat dot com
2015-05-08 15:31 ` [Bug libc/18124] " carlos at redhat dot com
2015-05-08 15:32 ` carlos at redhat dot com
@ 2015-08-15 18:05 ` vapier at gentoo dot org
2 siblings, 0 replies; 4+ messages in thread
From: vapier at gentoo dot org @ 2015-08-15 18:05 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=18124
Mike Frysinger <vapier at gentoo dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |danglin at gcc dot gnu.org
--- Comment #2 from Mike Frysinger <vapier at gentoo dot org> ---
*** Bug 18802 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] 4+ messages in thread
end of thread, other threads:[~2015-08-15 18:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-13 14:59 [Bug libc/18124] New: hppa: setcontext erroneously returns -1 as exit code for last constant carlos at redhat dot com
2015-05-08 15:31 ` [Bug libc/18124] " carlos at redhat dot com
2015-05-08 15:32 ` carlos at redhat dot com
2015-08-15 18:05 ` vapier at gentoo 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).