core.c (cbd32a1c56e36fedaa93a727699188bd3e6e6f67) | core.c (b0eb93cfd516201ccf0e4d36e226cfe1b16cc1fe) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-or-later 2/* 3 * Linux Kernel Dump Test Module for testing kernel crashes conditions: 4 * induces system failures at predefined crashpoints and under predefined 5 * operational conditions in order to evaluate the reliability of kernel 6 * sanity checking and crash dumps obtained using different dumping 7 * solutions. 8 * --- 155 unchanged lines hidden (view full) --- 164 CRASHTYPE(USERCOPY_HEAP_WHITELIST_TO), 165 CRASHTYPE(USERCOPY_HEAP_WHITELIST_FROM), 166 CRASHTYPE(USERCOPY_STACK_FRAME_TO), 167 CRASHTYPE(USERCOPY_STACK_FRAME_FROM), 168 CRASHTYPE(USERCOPY_STACK_BEYOND), 169 CRASHTYPE(USERCOPY_KERNEL), 170 CRASHTYPE(USERCOPY_KERNEL_DS), 171 CRASHTYPE(STACKLEAK_ERASING), | 1// SPDX-License-Identifier: GPL-2.0-or-later 2/* 3 * Linux Kernel Dump Test Module for testing kernel crashes conditions: 4 * induces system failures at predefined crashpoints and under predefined 5 * operational conditions in order to evaluate the reliability of kernel 6 * sanity checking and crash dumps obtained using different dumping 7 * solutions. 8 * --- 155 unchanged lines hidden (view full) --- 164 CRASHTYPE(USERCOPY_HEAP_WHITELIST_TO), 165 CRASHTYPE(USERCOPY_HEAP_WHITELIST_FROM), 166 CRASHTYPE(USERCOPY_STACK_FRAME_TO), 167 CRASHTYPE(USERCOPY_STACK_FRAME_FROM), 168 CRASHTYPE(USERCOPY_STACK_BEYOND), 169 CRASHTYPE(USERCOPY_KERNEL), 170 CRASHTYPE(USERCOPY_KERNEL_DS), 171 CRASHTYPE(STACKLEAK_ERASING), |
172 CRASHTYPE(CFI_FORWARD_PROTO), |
|
172}; 173 174 175/* Global kprobe entry and crashtype. */ 176static struct kprobe *lkdtm_kprobe; 177static struct crashpoint *lkdtm_crashpoint; 178static const struct crashtype *lkdtm_crashtype; 179 --- 305 unchanged lines hidden --- | 173}; 174 175 176/* Global kprobe entry and crashtype. */ 177static struct kprobe *lkdtm_kprobe; 178static struct crashpoint *lkdtm_crashpoint; 179static const struct crashtype *lkdtm_crashtype; 180 --- 305 unchanged lines hidden --- |