diff options
author | 2023-06-23 14:14:07 +0300 | |
---|---|---|
committer | 2023-09-14 13:19:53 +0200 | |
commit | 5ae2702d7c482edbf002499e23a2e22ac4047af1 (patch) | |
tree | 76fbe12e5aa3598b2097b0fbe64af430553e7cd6 /arch/x86/kernel/idt.c | |
parent | x86/entry: Compile entry_SYSCALL32_ignore() unconditionally (diff) | |
download | linux-5ae2702d7c482edbf002499e23a2e22ac4047af1.tar.gz linux-5ae2702d7c482edbf002499e23a2e22ac4047af1.tar.bz2 linux-5ae2702d7c482edbf002499e23a2e22ac4047af1.zip |
x86/elf: Make loading of 32bit processes depend on ia32_enabled()
Major aspect of ia32 emulation is the ability to load 32bit processes.
That's currently decided (among others) by compat_elf_check_arch().
Make the macro use ia32_enabled() to decide if IA32 compat is
enabled before loading a 32bit process.
Signed-off-by: Nikolay Borisov <nik.borisov@suse.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20230623111409.3047467-5-nik.borisov@suse.com
Diffstat (limited to 'arch/x86/kernel/idt.c')
0 files changed, 0 insertions, 0 deletions