linux/arch/sparc
Julia Lawall 8202cd7206 crypto: sparc - replace memset by memzero_explicit
Memset on a local variable may be removed when it is called just before the
variable goes out of scope.  Using memzero_explicit defeats this
optimization.  A simplified version of the semantic patch that makes this
change is as follows: (http://coccinelle.lip6.fr/)

// <smpl>
@@
identifier x;
type T;
@@

{
... when any
T x[...];
... when any
    when exists
- memset
+ memzero_explicit
  (x,
-0,
  ...)
... when != x
    when strict
}
// </smpl>

This change was suggested by Daniel Borkmann <dborkman@redhat.com>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2014-12-02 22:55:48 +08:00
..
boot
configs sparc: Set CONFIG_NET=y in defconfigs 2014-09-24 13:38:30 -04:00
crypto crypto: sparc - replace memset by memzero_explicit 2014-12-02 22:55:48 +08:00
include sparc: Hook up bpf system call. 2014-10-28 11:30:43 -07:00
kernel sparc: Hook up bpf system call. 2014-10-28 11:30:43 -07:00
lib sparc64: Fix FPU register corruption with AES crypto offload. 2014-10-14 19:37:58 -07:00
math-emu
mm sparc64: Implement __get_user_pages_fast(). 2014-10-24 09:59:02 -07:00
net sparc: bpf_jit: add support for BPF_LD(X) | BPF_LEN instructions 2014-09-26 16:52:09 -04:00
oprofile
power Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc 2014-10-11 20:36:34 -04:00
prom sparc64: Fix register corruption in top-most kernel stack frame during boot. 2014-10-24 09:52:49 -07:00
Kbuild
Kconfig sparc64: sparse irq 2014-10-05 16:53:40 -07:00
Kconfig.debug
Makefile