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

(-)processor.h.orig (-3 / +13 lines)
Lines 282-290 Link Here
282
#ifdef CONFIG_GRKERNSEC_PAX_SEGMEXEC
282
#ifdef CONFIG_GRKERNSEC_PAX_SEGMEXEC
283
#define TASK_UNMAPPED_BASE	((current->flags & PF_PAX_SEGMEXEC)?SEGMEXEC_TASK_SIZE/3:TASK_SIZE/3)
283
#define TASK_UNMAPPED_BASE	((current->flags & PF_PAX_SEGMEXEC)?SEGMEXEC_TASK_SIZE/3:TASK_SIZE/3)
284
#else
284
#else
285
#define TASK_UNMAPPED_BASE	(TASK_SIZE / 3)
285
/*
286
#endif
286
 * FSCKING BRAIN DAMAGE!!!!!!
287
#ifndef CONFIG_GRKERNSEC_PAX_SEGMEXEC
287
 * Who coded ths crap?!  If it's on, do this, else
288
 * do that.  If it's off, do this, else do that.
289
 * You will ALWAYS redefine TUB without GRSEC!!
290
 *
291
 * Now I have to fix this braindamage... not too
292
 * hard.
293
 *  --Bluefox Icy
294
 */
295
// #define TASK_UNMAPPED_BASE	(TASK_SIZE / 3)
296
// #endif
297
// #ifndef CONFIG_GRKERNSEC_PAX_SEGMEXEC
288
#ifndef CONFIG_05GB
298
#ifndef CONFIG_05GB
289
#define TASK_UNMAPPED_BASE	(TASK_SIZE / 3)
299
#define TASK_UNMAPPED_BASE	(TASK_SIZE / 3)
290
#else
300
#else

Return to bug 24245