All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <ak@suse.de>
To: David Woodhouse <dwmw2@infradead.org>
Cc: Andrew Morton <akpm@osdl.org>, "Luck, Tony" <tony.luck@intel.com>,
	linux-arch@vger.kernel.org, JANAK DESAI <janak@us.ibm.com>,
	Ulrich Drepper <drepper@redhat.com>,
	David Howells <dhowells@redhat.com>,
	Davide Libenzi <davidel@xmailserver.org>,
	Christoph Lameter <christoph@lameter.com>
Subject: Re: new syscalls
Date: Fri, 20 Jan 2006 11:04:50 +0100	[thread overview]
Message-ID: <200601201104.51398.ak@suse.de> (raw)
In-Reply-To: <1137621188.30084.67.camel@localhost.localdomain>

On Wednesday 18 January 2006 22:53, David Woodhouse wrote:
> On Wed, 2006-01-18 at 13:36 -0800, Andrew Morton wrote:
> > That's an excellent point.
> > 
> > Guys, architecture maintainers need test suites to verify that the syscalls
> > actually work as they wire them up.  Please share.  A stable URL would be
> > preferred - something which can go into the changlog or conceivably into
> > the kernel source.
> 
> http://david.woodhou.se/sigmasking.c is a good one for testing
> sigsuspend after hooking up TIF_RESTORE_SIGMASK stuff and the generic
> sys_rt_sigsuspend(), although it's not actually my code. There were a
> bunch of other tests in a tarball with that (on linux-arch a year or two
> ago) which arch maintainers should also use occasionally when they play
> with signal or ptrace code.

Are you sure it's even working? I implemented TIF_RESTORE_SIGMASK
for x86-64 and the SEGV part of the test fails. But it even fails
without any of my patches applied, so if it's really broken
it was always like this. I suspect i would have heard if such
a fundamental thing was really broken on x86-64.

===== Test 2: signal SIGALRM while waiting in nanosleep() =====

Unblocking all signals
Calling alarm(2)
Calling nanosleep( 20s)
After return from nanosleep(), blocked all signals, saved returned mask
OK: nanosleep(): Interrupted system call
OK: sighandler for SIGALRM (14) didn't run (invalid stack)
OK: SIGSEGV is unmasked at end of test
ERROR: sighandler for SIGSEGV (11) didn't run
OK: SIGUSR1 is unmasked
OK: SIGUSR2 is unmasked
SIGSEGV is pending at end of test, unblocking it now ...
Signal 11 caught
... done

-Andi

  parent reply	other threads:[~2006-01-20 10:05 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-18 18:55 new syscalls Luck, Tony
2006-01-18 21:36 ` Andrew Morton
2006-01-18 21:48   ` Ulrich Drepper
2006-01-18 21:58     ` David S. Miller
2006-01-18 21:53   ` David Woodhouse
2006-01-18 21:58     ` David S. Miller
2006-01-20 10:04     ` Andi Kleen [this message]
2006-01-20 10:15       ` David S. Miller
2006-01-23  6:44         ` David Woodhouse
2006-01-23  9:58         ` Heiko Carstens
2006-01-19  1:17   ` Davide Libenzi
2006-01-19  1:26     ` David S. Miller
2006-01-19  5:00       ` David Woodhouse
2006-01-19  1:28     ` Andrew Morton
2006-01-19 21:48       ` Davide Libenzi
2006-01-20  0:13         ` Davide Libenzi
2006-01-20  0:23           ` Ulrich Drepper
2006-01-20  0:34             ` Davide Libenzi
2006-01-19  1:19   ` Christoph Lameter
2006-01-19  2:30     ` Andi Kleen
2006-01-19 13:50   ` JANAK DESAI
2006-01-22 17:45   ` JANAK DESAI
2006-01-24 23:44   ` JANAK DESAI
  -- strict thread matches above, loose matches on Subject: below --
2006-01-18  3:29 Andrew Morton
2006-01-18  3:38 ` Andi Kleen
2006-01-20  9:43   ` Heiko Carstens
2006-01-20  9:48     ` Andi Kleen
2006-01-20  9:49     ` David S. 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=200601201104.51398.ak@suse.de \
    --to=ak@suse.de \
    --cc=akpm@osdl.org \
    --cc=christoph@lameter.com \
    --cc=davidel@xmailserver.org \
    --cc=dhowells@redhat.com \
    --cc=drepper@redhat.com \
    --cc=dwmw2@infradead.org \
    --cc=janak@us.ibm.com \
    --cc=linux-arch@vger.kernel.org \
    --cc=tony.luck@intel.com \
    /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.