Greg Kroah-Hartman | 6f52b16 | 2017-11-01 15:08:43 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ |
H. Peter Anvin | 1965aae | 2008-10-22 22:26:29 -0700 | [diff] [blame] | 2 | #ifndef _ASM_X86_PRCTL_H |
| 3 | #define _ASM_X86_PRCTL_H |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 4 | |
Kyle Huey | e9ea1e7 | 2017-03-20 01:16:26 -0700 | [diff] [blame] | 5 | #define ARCH_SET_GS 0x1001 |
| 6 | #define ARCH_SET_FS 0x1002 |
| 7 | #define ARCH_GET_FS 0x1003 |
| 8 | #define ARCH_GET_GS 0x1004 |
| 9 | |
| 10 | #define ARCH_GET_CPUID 0x1011 |
| 11 | #define ARCH_SET_CPUID 0x1012 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 12 | |
Chang S. Bae | db8268d | 2021-10-21 15:55:10 -0700 | [diff] [blame] | 13 | #define ARCH_GET_XCOMP_SUPP 0x1021 |
| 14 | #define ARCH_GET_XCOMP_PERM 0x1022 |
| 15 | #define ARCH_REQ_XCOMP_PERM 0x1023 |
| 16 | |
Dmitry Safonov | a01aa6c | 2016-10-27 17:15:15 +0300 | [diff] [blame] | 17 | #define ARCH_MAP_VDSO_X32 0x2001 |
| 18 | #define ARCH_MAP_VDSO_32 0x2002 |
| 19 | #define ARCH_MAP_VDSO_64 0x2003 |
Dmitry Safonov | 2eefd87 | 2016-09-05 16:33:05 +0300 | [diff] [blame] | 20 | |
H. Peter Anvin | 1965aae | 2008-10-22 22:26:29 -0700 | [diff] [blame] | 21 | #endif /* _ASM_X86_PRCTL_H */ |