diff options
author | Brian Gerst <brgerst@gmail.com> | 2022-06-06 22:38:01 +0200 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2022-10-19 09:58:49 +0200 |
commit | 24e6dc35ccd825de7c71751610ff8f3295347e5b (patch) | |
tree | 21eab6710c84b880d9915a23bef33f20929c832c /arch/x86/include/asm/segment.h | |
parent | x86/signal: Add ABI prefixes to frame setup functions (diff) | |
download | linux-24e6dc35ccd825de7c71751610ff8f3295347e5b.tar.xz linux-24e6dc35ccd825de7c71751610ff8f3295347e5b.zip |
x86/signal/32: Merge native and compat 32-bit signal code
There are significant differences between signal handling on 32-bit vs.
64-bit, like different structure layouts and legacy syscalls. Instead
of duplicating that code for native and compat, merge both versions
into one file.
Signed-off-by: Brian Gerst <brgerst@gmail.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: "Eric W. Biederman" <ebiederm@xmission.com>
Link: https://lore.kernel.org/r/20220606203802.158958-8-brgerst@gmail.com
Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'arch/x86/include/asm/segment.h')
-rw-r--r-- | arch/x86/include/asm/segment.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/segment.h b/arch/x86/include/asm/segment.h index e056c29dfcda..c390a672d560 100644 --- a/arch/x86/include/asm/segment.h +++ b/arch/x86/include/asm/segment.h @@ -135,6 +135,7 @@ #define __KERNEL_DS (GDT_ENTRY_KERNEL_DS*8) #define __USER_DS (GDT_ENTRY_DEFAULT_USER_DS*8 + 3) #define __USER_CS (GDT_ENTRY_DEFAULT_USER_CS*8 + 3) +#define __USER32_CS __USER_CS #define __ESPFIX_SS (GDT_ENTRY_ESPFIX_SS*8) /* segment for calling fn: */ |