Revision dc280d93623927570da279e99393879dbbab39e7 authored by Thomas Gleixner on 21 December 2016, 19:19:49 UTC, committed by Thomas Gleixner on 25 December 2016, 09:47:42 UTC
Developers manage to overwrite states blindly without thought. That's fatal
and hard to debug. Add sanity checks to make it fail.

This requries to restructure the code so that the dynamic state allocation
happens in the same lock protected section as the actual store. Otherwise
the previous assignment of 'Reserved' to the name field would trigger the
overwrite check.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Sebastian Siewior <bigeasy@linutronix.de>
Link: http://lkml.kernel.org/r/20161221192111.675234535@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

1 parent 59fefd0
History
File Mode Size
Makefile -rw-r--r-- 273 bytes
ashldi3.c -rw-r--r-- 619 bytes
ashrdi3.c -rw-r--r-- 681 bytes
divsi3.S -rw-r--r-- 5.4 KB
gcclib.h -rw-r--r-- 595 bytes
ins.S -rw-r--r-- 2.6 KB
lshrdi3.c -rw-r--r-- 621 bytes
memchr.S -rw-r--r-- 676 bytes
memcmp.S -rw-r--r-- 1.8 KB
memcpy.S -rw-r--r-- 2.6 KB
memmove.S -rw-r--r-- 1.9 KB
memset.S -rw-r--r-- 1.8 KB
modsi3.S -rw-r--r-- 1.5 KB
muldi3.S -rw-r--r-- 2.3 KB
outs.S -rw-r--r-- 1.3 KB
smulsi3_highpart.S -rw-r--r-- 603 bytes
strcmp.S -rw-r--r-- 945 bytes
strcpy.S -rw-r--r-- 531 bytes
strncmp.S -rw-r--r-- 1023 bytes
strncpy.S -rw-r--r-- 1.4 KB
udivsi3.S -rw-r--r-- 8.3 KB
umodsi3.S -rw-r--r-- 1.2 KB
umulsi3_highpart.S -rw-r--r-- 628 bytes

back to top