diff options
| author | 2020-06-19 18:07:53 -0600 | |
|---|---|---|
| committer | 2020-09-30 16:46:02 +0200 | |
| commit | f33db22cf6467e06805aec240ced40916c550492 (patch) | |
| tree | 9c53e9270cdc9e3c849f23dad77e1bfd5a4e89ca /include/git:/ssh:/git@git.zx2c4.com | |
| parent | mm: guard pudp_clear_flush_notify with mm notifier config (diff) | |
| download | rhel7-kernel-misery-f33db22cf6467e06805aec240ced40916c550492.tar.xz rhel7-kernel-misery-f33db22cf6467e06805aec240ced40916c550492.zip | |
x86: clear smap in cr4 when not used
If the CPU supports SMAP, but it isn't specified in the config, then we
need to explicitly clear it from cr4. Otherwise the processor will trap
on all normal userspace accesses, always, since the transition state
isn't being set.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'include/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
