All of lore.kernel.org
 help / color / mirror / Atom feed
From: Elad Lahav <elad_lahav@users.sourceforge.net>
To: sparclinux@vger.kernel.org
Subject: Signal handler arguments
Date: Mon, 09 Mar 2009 16:28:31 +0000	[thread overview]
Message-ID: <49B543AF.4090902@users.sourceforge.net> (raw)

According to the man page (which, I believe, conforms to the POSIX standard), 
the third argument in a signal handler should be a pointer to a ucontext 
structure (assuming the SA_SIGINFO flag was passed to sigaction). However, under 
Sparc64, the kernel passes a pointer to a sigcontext structure (see line 472 in 
arch/sparc64/kernel/signal.c). This incompatibility should be either fixed or 
documented.

--Elad

             reply	other threads:[~2009-03-09 16:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-09 16:28 Elad Lahav [this message]
2009-03-10  0:06 ` Signal handler arguments David Miller
2009-03-10  2:54 ` Elad Lahav
2009-03-10  3:39 ` David Miller
2009-03-10 12:00 ` Elad Lahav
2009-03-10 12:17 ` David Miller

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=49B543AF.4090902@users.sourceforge.net \
    --to=elad_lahav@users.sourceforge.net \
    --cc=sparclinux@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.