-extern unsigned int vdso_enabled, vdso_populate;
-
-int exec_shield = (1<<3) | (1<<0);
-/* exec_shield is a bitmask:
- 0: off; vdso at STACK_TOP, 1 page below TASK_SIZE
- (1<<0) 1: on [also on if !=0]
- (1<<1) 2: noexecstack by default
- (1<<2) 4: vdso just below .text of main (unless too low)
- (1<<3) 8: vdso just below .text of PT_INTERP (unless too low)
-Yes, vdso placement is overloaded here; but exec_shield off
-is a strong incentive to place vdso at STACK_TOP, so the bit
-for vdso just below .text comes along for the ride.
-*/
-
-static int __init setup_exec_shield(char *str)
-{
- get_option (&str, &exec_shield);
-
- return 1;
-}
-
-__setup("exec-shield=", setup_exec_shield);
-