Michael Davidson 9e18308a5d misc: lkdtm: Add volatile to intentional NULL pointer reference
Add a volatile qualifier where a NULL pointer is deliberately
dereferenced to trigger a panic.

Without the volatile qualifier clang will issue the following warning:
"indirection of non-volatile null pointer will be deleted,
not trap [-Wnull-dereference]" and replace the pointer reference
with a __builtin_trap() (which generates a ud2 instruction on x86_64).

Signed-off-by: Michael Davidson <md@google.com>
Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-04-18 18:03:42 +02:00
..
2017-03-26 11:03:42 -07:00
2017-02-23 15:57:04 -08:00
2017-04-08 18:08:54 +02:00
2017-03-23 16:08:46 -07:00
2017-03-27 09:13:04 +02:00
2017-03-27 09:13:04 +02:00
2017-03-27 09:13:04 +02:00
2017-03-27 09:13:04 +02:00
2017-03-27 09:13:04 +02:00
2017-03-27 09:13:04 +02:00
2017-03-06 08:37:53 -08:00
2017-02-21 11:51:42 -08:00
2017-04-08 17:51:48 +02:00
2017-02-22 19:23:14 -08:00
2017-03-01 09:46:02 -08:00
2017-02-20 17:23:57 -08:00
2017-02-23 15:57:04 -08:00
2017-03-02 13:53:13 -08:00
2017-03-27 09:13:04 +02:00
2017-03-26 11:03:42 -07:00
2017-03-23 22:07:22 +01:00
2017-03-24 14:39:36 -07:00
2017-02-23 11:53:22 -08:00