lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 29 Oct 2009 09:39:32 +0100
From:	Arnd Bergmann <>
To:	Darren Hart <>
Cc:	"lkml, " <>,
	Thomas Gleixner <>,
	Peter Zijlstra <>,
	Ingo Molnar <>,
	Eric Dumazet <>,
	Dinakar Guniguntala <>,
	"Stultz, John" <>
Subject: Re: [PATCH] RFC: futex: make futex_lock_pi interruptible

On Tuesday 27 October 2009, Darren Hart wrote:
> The following C test case demonstrates how this patch could be used to
> implement interruptible locking. There is an awful lot of debug code and
> some other relics of a hacked together test in there now, but if anyone
> wanted to test the futex changes, this will do the trick.

Your test program uses a signal handler to interrupt the mutex. If you
are using a signal handler already to implement a user space mutex_cancel,
why can't you just do a longjmp out of the signal handler rather than
modifying the kernel?

	Arnd <><
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists