Subversion Repositories Kolibri OS

Rev

Rev 3031 | Rev 6936 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3031 Rev 6082
Line 17... Line 17...
17
/*
17
/*
18
 * These are non-NULL pointers that will result in page faults
18
 * These are non-NULL pointers that will result in page faults
19
 * under normal circumstances, used to verify that nobody uses
19
 * under normal circumstances, used to verify that nobody uses
20
 * non-initialized list entries.
20
 * non-initialized list entries.
21
 */
21
 */
22
#define LIST_POISON1  ((void *) 0x00100100 + POISON_POINTER_DELTA)
22
#define LIST_POISON1  ((void *) 0x100 + POISON_POINTER_DELTA)
23
#define LIST_POISON2  ((void *) 0x00200200 + POISON_POINTER_DELTA)
23
#define LIST_POISON2  ((void *) 0x200 + POISON_POINTER_DELTA)
Line 24... Line 24...
24
 
24
 
25
/********** include/linux/timer.h **********/
25
/********** include/linux/timer.h **********/
26
/*
26
/*
27
 * Magic number "tsta" to indicate a static timer initializer
27
 * Magic number "tsta" to indicate a static timer initializer
Line 67... Line 67...
67
 
67
 
68
/********** drivers/atm/ **********/
68
/********** drivers/atm/ **********/
69
#define ATM_POISON_FREE		0x12
69
#define ATM_POISON_FREE		0x12
Line 70... Line -...
70
#define ATM_POISON		0xdeadbeef
-
 
71
 
-
 
72
/********** net/ **********/
-
 
73
#define NEIGHBOR_DEAD		0xdeadbeef
-
 
74
#define NETFILTER_LINK_POISON	0xdead57ac
70
#define ATM_POISON		0xdeadbeef
75
 
71
 
76
/********** kernel/mutexes **********/
72
/********** kernel/mutexes **********/
Line 77... Line 73...
77
#define MUTEX_DEBUG_INIT	0x11
73
#define MUTEX_DEBUG_INIT	0x11
78
#define MUTEX_DEBUG_FREE	0x22
74
#define MUTEX_DEBUG_FREE	0x22
Line 79... Line 75...
79
 
75
 
80
/********** lib/flex_array.c **********/
76
/********** lib/flex_array.c **********/
Line 81... Line -...
81
#define FLEX_ARRAY_FREE	0x6c	/* for use-after-free poisoning */
-
 
82
 
-
 
83
/********** security/ **********/
-
 
84
#define KEY_DESTROY		0xbd
77
#define FLEX_ARRAY_FREE	0x6c	/* for use-after-free poisoning */