linux/arch/x86/include/uapi/asm/prctl.h

/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
#ifndef _ASM_X86_PRCTL_H
#define _ASM_X86_PRCTL_H

#define ARCH_SET_GS
#define ARCH_SET_FS
#define ARCH_GET_FS
#define ARCH_GET_GS

#define ARCH_GET_CPUID
#define ARCH_SET_CPUID

#define ARCH_GET_XCOMP_SUPP
#define ARCH_GET_XCOMP_PERM
#define ARCH_REQ_XCOMP_PERM
#define ARCH_GET_XCOMP_GUEST_PERM
#define ARCH_REQ_XCOMP_GUEST_PERM

#define ARCH_XCOMP_TILECFG
#define ARCH_XCOMP_TILEDATA

#define ARCH_MAP_VDSO_X32
#define ARCH_MAP_VDSO_32
#define ARCH_MAP_VDSO_64

/* Don't use 0x3001-0x3004 because of old glibcs */

#define ARCH_GET_UNTAG_MASK
#define ARCH_ENABLE_TAGGED_ADDR
#define ARCH_GET_MAX_TAG_BITS
#define ARCH_FORCE_TAGGED_SVA

#define ARCH_SHSTK_ENABLE
#define ARCH_SHSTK_DISABLE
#define ARCH_SHSTK_LOCK
#define ARCH_SHSTK_UNLOCK
#define ARCH_SHSTK_STATUS

/* ARCH_SHSTK_ features bits */
#define ARCH_SHSTK_SHSTK
#define ARCH_SHSTK_WRSS

#endif /* _ASM_X86_PRCTL_H */