diff options
| author | Andy Lutomirski <[email protected]> | 2015-03-18 18:33:29 -0700 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2015-03-23 11:13:36 +0100 |
| commit | a67e7277d01ccfd39b0db5a198c2643cc19dd79c (patch) | |
| tree | 01425f65fe45e24354747dfb11f6b47b7309e6dd /tools/perf/scripts/python/sched-migration.py | |
| parent | e4518ab90f63cd5bea3ddc15341162debc34442b (diff) | |
x86/asm/entry: Add user_mode_ignore_vm86()
user_mode() is dangerous and user_mode_vm() has a confusing name.
Add user_mode_ignore_vm86() (equivalent to current user_mode()).
We'll change the small number of legitimate users of user_mode()
to user_mode_ignore_vm86().
Inspired by grsec, although this works rather differently.
Signed-off-by: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Brad Spengler <[email protected]>
Cc: Denys Vlasenko <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/202c56ca63823c338af8e2e54948dbe222da6343.1426728647.git.luto@kernel.org
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions