// SPDX-License-Identifier: GPL-2.0 #include <linux/spinlock.h> #include <linux/errno.h> #include <linux/init.h> #include <asm/pgtable.h> #include <asm/proto.h> #include <asm/cpufeature.h> static int disable_nx; /* * noexec = on|off * * Control non-executable mappings for processes. * * on Enable * off Disable */
static int __init noexec_setup(char *str) { if (!str) return -EINVAL; if (!strncmp(str, "on", 2)) { disable_nx = 0; } else if (!strncmp(str, "off", 3)) { disable_nx = 1; } x86_configure_nx(); return 0; }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Jeremy Fitzhardinge | 60 | 95.24% | 1 | 50.00% |
H. Peter Anvin | 3 | 4.76% | 1 | 50.00% |
Total | 63 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Jeremy Fitzhardinge | 15 | 55.56% | 1 | 33.33% |
Andrew Lutomirski | 11 | 40.74% | 1 | 33.33% |
H. Peter Anvin | 1 | 3.70% | 1 | 33.33% |
Total | 27 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Kees Cook | 70 | 94.59% | 2 | 66.67% |
Borislav Petkov | 4 | 5.41% | 1 | 33.33% |
Total | 74 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Jeremy Fitzhardinge | 99 | 50.77% | 1 | 12.50% |
Kees Cook | 70 | 35.90% | 2 | 25.00% |
Andrew Lutomirski | 11 | 5.64% | 1 | 12.50% |
Borislav Petkov | 7 | 3.59% | 2 | 25.00% |
H. Peter Anvin | 7 | 3.59% | 1 | 12.50% |
Greg Kroah-Hartman | 1 | 0.51% | 1 | 12.50% |
Paul Gortmaker | 0.00% | 0 | 0.00% | |
Total | 195 | 100.00% | 8 | 100.00% |