Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 808405
Collapse All | Expand All

(-)a/include/linux/sched/task_stack.h (-2 / +1 lines)
Lines 75-82 static inline void *try_get_task_stack(struct task_struct *tsk) Link Here
75
static inline void put_task_stack(struct task_struct *tsk) {}
75
static inline void put_task_stack(struct task_struct *tsk) {}
76
#endif
76
#endif
77
77
78
#define task_stack_end_corrupted(task) \
78
#define task_stack_end_corrupted(task) 0
79
		(*(end_of_stack(task)) != STACK_END_MAGIC)
80
79
81
static inline int object_is_on_stack(const void *obj)
80
static inline int object_is_on_stack(const void *obj)
82
{
81
{
(-)a/kernel/fork.c (-2 / +1 lines)
Lines 856-862 void set_task_stack_end_magic(struct task_struct *tsk) Link Here
856
	unsigned long *stackend;
856
	unsigned long *stackend;
857
857
858
	stackend = end_of_stack(tsk);
858
	stackend = end_of_stack(tsk);
859
	*stackend = STACK_END_MAGIC;	/* for overflow detection */
859
	//*stackend = STACK_END_MAGIC;	/* for overflow detection */
860
}
860
}
861
861
862
static struct task_struct *dup_task_struct(struct task_struct *orig, int node)
862
static struct task_struct *dup_task_struct(struct task_struct *orig, int node)
863
- 

Return to bug 808405