lists.openwall.net   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  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Wed, 22 Sep 2010 15:44:10 +1000
From:	Paul Mackerras <paulus@...ba.org>
To:	Al Viro <viro@...IV.linux.org.uk>
Cc:	linux-arch@...nel.org, linux-kernel@...r.kernel.org,
	Benjamin Herrenschmidt <benh@...nel.crashing.org>,
	Linus Torvalds <torvalds@...ux-foundation.org>
Subject: Re: powerpc: fix double syscall restarts

On Mon, Sep 20, 2010 at 09:48:57PM +0100, Al Viro wrote:

> Make sigreturn zero regs->trap, make do_signal() do the same on all
> paths.  As it is, signal interrupting e.g. read() from fd 512 (==
> ERESTARTSYS) with another signal getting unblocked when the first
> handler finishes will lead to restart one insn earlier than it ought
> to.  Same for multiple signals with in-kernel handlers interrupting
> that sucker at the same time.  Same for multiple signals of any kind
> interrupting that sucker on 64bit...
> 
> Signed-off-by: Al Viro <viro@...iv.linux.org.uk>

Acked-by: Paul Mackerras <paulus@...ba.org>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ