All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Mosberger <davidm@hpl.hp.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [Linux-ia64] signal interface: SIGINFO and sa_sigaction
Date: Thu, 15 Jun 2000 15:40:07 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590678205142@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590678205139@msgid-missing>

>>>>> On Thu, 15 Jun 2000 16:28:42 +0100, SCHAN@uk.ibm.com said:

  Sunny> But then the sa_sigaction function does require kernel to
  Sunny> call the handler with parameters (struct siginfo_t), if I
  Sunny> just patch the struct sigaction, will the other pieces of
  Sunny> kernel signal handling routine render those parameters and
  Sunny> pass it to the signal handler? - I am not an kernel expert,
  Sunny> so information is really appericated!

The kernel _always_ passes siginfo and sigcontext as the second and
third arguments to a signal handler.  sa_sigaction is just syntactic
sugar.

	--david



  parent reply	other threads:[~2000-06-15 15:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-06-14 16:04 [Linux-ia64] signal interface: SIGINFO and sa_sigaction SCHAN
2000-06-15 14:44 ` David Mosberger
2000-06-15 14:49 ` Jes Sorensen
2000-06-15 15:40 ` David Mosberger [this message]
2000-06-15 16:49 ` Ulrich Drepper

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-linux-ia64-105590678205142@msgid-missing \
    --to=davidm@hpl.hp.com \
    --cc=linux-ia64@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.