hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
kernel/tools/include/linux/poison.h
....@@ -35,12 +35,8 @@
3535 */
3636 #define TIMER_ENTRY_STATIC ((void *) 0x300 + POISON_POINTER_DELTA)
3737
38
-/********** mm/debug-pagealloc.c **********/
39
-#ifdef CONFIG_PAGE_POISONING_ZERO
40
-#define PAGE_POISON 0x00
41
-#else
38
+/********** mm/page_poison.c **********/
4239 #define PAGE_POISON 0xaa
43
-#endif
4440
4541 /********** mm/page_alloc.c ************/
4642
....@@ -86,9 +82,6 @@
8682 /********** kernel/mutexes **********/
8783 #define MUTEX_DEBUG_INIT 0x11
8884 #define MUTEX_DEBUG_FREE 0x22
89
-
90
-/********** lib/flex_array.c **********/
91
-#define FLEX_ARRAY_FREE 0x6c /* for use-after-free poisoning */
9285
9386 /********** security/ **********/
9487 #define KEY_DESTROY 0xbd