blob: 754a078568171451b1499147d3050500e0c8377e [file] [log] [blame]
Greg Kroah-Hartman6f52b162017-11-01 15:08:43 +01001/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
H. Peter Anvin1965aae2008-10-22 22:26:29 -07002#ifndef _ASM_X86_PRCTL_H
3#define _ASM_X86_PRCTL_H
Linus Torvalds1da177e2005-04-16 15:20:36 -07004
Kyle Hueye9ea1e72017-03-20 01:16:26 -07005#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 Torvalds1da177e2005-04-16 15:20:36 -070012
Chang S. Baedb8268d2021-10-21 15:55:10 -070013#define ARCH_GET_XCOMP_SUPP 0x1021
14#define ARCH_GET_XCOMP_PERM 0x1022
15#define ARCH_REQ_XCOMP_PERM 0x1023
16
Dmitry Safonova01aa6c2016-10-27 17:15:15 +030017#define ARCH_MAP_VDSO_X32 0x2001
18#define ARCH_MAP_VDSO_32 0x2002
19#define ARCH_MAP_VDSO_64 0x2003
Dmitry Safonov2eefd872016-09-05 16:33:05 +030020
H. Peter Anvin1965aae2008-10-22 22:26:29 -070021#endif /* _ASM_X86_PRCTL_H */