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] [thread-next>] [day] [month] [year] [list]
Message-ID: <20141101202350.GS7996@ZenIV.linux.org.uk>
Date:	Sat, 1 Nov 2014 20:23:50 +0000
From:	Al Viro <viro@...IV.linux.org.uk>
To:	Chen Gang <gang.chen.5i5j@...il.com>
Cc:	cmetcalf@...era.com, dwalter@...gle.com, richard@....at,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] arch: tile: kernel: signal.c: Use explicitly type case
 "unsigned long *" for register copy

On Sat, Nov 01, 2014 at 08:49:45PM +0800, Chen Gang wrote:
> setup_sigcontext() wants to copy all kernel related registers to user
> space. So let it copy explicitly instead of copying by exceeding member
> array border. So let code more clearer and avoid warning.

Er...  Perhaps it would be better to avoid that shite completely and just
use __copy_to_user() instead of bothering with loops?
--
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