Loading arch/x86/mm/init_64.c +15 −13 Original line number Original line Diff line number Diff line Loading @@ -93,11 +93,12 @@ EXPORT_SYMBOL_GPL(__supported_pte_mask); static int do_not_nx __cpuinitdata; static int do_not_nx __cpuinitdata; /* noexec=on|off /* Control non executable mappings for 64bit processes. * noexec=on|off * Control non-executable mappings for 64-bit processes. on Enable(default) * off Disable * on Enable (default) * off Disable */ */ static int __init nonx_setup(char *str) static int __init nonx_setup(char *str) { { Loading Loading @@ -125,12 +126,13 @@ void __cpuinit check_efer(void) int force_personality32; int force_personality32; /* noexec32=on|off /* Control non executable heap for 32bit processes. * noexec32=on|off To control the stack too use noexec=off * Control non executable heap for 32bit processes. * To control the stack too use noexec=off on PROT_READ does not imply PROT_EXEC for 32bit processes (default) * off PROT_READ implies PROT_EXEC * on PROT_READ does not imply PROT_EXEC for 32-bit processes (default) * off PROT_READ implies PROT_EXEC */ */ static int __init nonx32_setup(char *str) static int __init nonx32_setup(char *str) { { Loading Loading
arch/x86/mm/init_64.c +15 −13 Original line number Original line Diff line number Diff line Loading @@ -93,11 +93,12 @@ EXPORT_SYMBOL_GPL(__supported_pte_mask); static int do_not_nx __cpuinitdata; static int do_not_nx __cpuinitdata; /* noexec=on|off /* Control non executable mappings for 64bit processes. * noexec=on|off * Control non-executable mappings for 64-bit processes. on Enable(default) * off Disable * on Enable (default) * off Disable */ */ static int __init nonx_setup(char *str) static int __init nonx_setup(char *str) { { Loading Loading @@ -125,12 +126,13 @@ void __cpuinit check_efer(void) int force_personality32; int force_personality32; /* noexec32=on|off /* Control non executable heap for 32bit processes. * noexec32=on|off To control the stack too use noexec=off * Control non executable heap for 32bit processes. * To control the stack too use noexec=off on PROT_READ does not imply PROT_EXEC for 32bit processes (default) * off PROT_READ implies PROT_EXEC * on PROT_READ does not imply PROT_EXEC for 32-bit processes (default) * off PROT_READ implies PROT_EXEC */ */ static int __init nonx32_setup(char *str) static int __init nonx32_setup(char *str) { { Loading