mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-06 20:58:33 +01:00
The CET is only supported for x86_64 and there is no plan to add kernel support for i386. Move the Makefile rules and files from the generic x86 folder to x86_64 one. Checked on x86_64-linux-gnu and i686-linux-gnu.
22 lines
825 B
C
22 lines
825 B
C
/* FIXME: CET arch_prctl bits should come from the kernel header files.
|
|
This file should be removed if <asm/prctl.h> from the required kernel
|
|
header files contains CET arch_prctl bits. */
|
|
|
|
#include_next <asm/prctl.h>
|
|
|
|
#ifndef ARCH_SHSTK_ENABLE
|
|
/* Enable SHSTK features in unsigned long int features. */
|
|
# define ARCH_SHSTK_ENABLE 0x5001
|
|
/* Disable SHSTK features in unsigned long int features. */
|
|
# define ARCH_SHSTK_DISABLE 0x5002
|
|
/* Lock SHSTK features in unsigned long int features. */
|
|
# define ARCH_SHSTK_LOCK 0x5003
|
|
/* Unlock SHSTK features in unsigned long int features. */
|
|
# define ARCH_SHSTK_UNLOCK 0x5004
|
|
/* Return SHSTK features in unsigned long int features. */
|
|
# define ARCH_SHSTK_STATUS 0x5005
|
|
|
|
/* ARCH_SHSTK_ features bits */
|
|
# define ARCH_SHSTK_SHSTK 0x1
|
|
# define ARCH_SHSTK_WRSS 0x2
|
|
#endif
|