public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* Signal handler arguments
@ 2002-09-17 20:20 Ralf Baechle
  2002-09-17 21:06 ` Ulrich Drepper
  0 siblings, 1 reply; 3+ messages in thread
From: Ralf Baechle @ 2002-09-17 20:20 UTC (permalink / raw)
  To: libc-hacker

I'm revamping the sycall interfaces of the 64-bit Linux/MIPS kernel.  So
far the 32-bit MIPS kernel is calling all non rt-signal handlers as:

  handler(signr, 0, struct sigcontext *)

The rt-signal handlers (setup with SA_SIGINFO) get invoked as:

  handler(signr, struct siginfo *, struct ucontext *)

What do applicable standards say about the arguments passed to signal
handlers?  I'd like to settle with just the second signal handler type as
the x86-64 port seems to do but I'm a bit nervous that this might break
application code or standard compliance.

Can anybody shed light into this?  Thanks,

  Ralf

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

end of thread, other threads:[~2002-09-18  5:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-17 20:20 Signal handler arguments Ralf Baechle
2002-09-17 21:06 ` Ulrich Drepper
2002-09-17 22:15   ` Roland McGrath

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