aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/x86/include
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-01-05 09:32:37 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-01-09 13:55:51 -0300
commitb7fc4a07f206a640e6d807d72f5c1ee3ea7a25b6 (patch)
tree51669d2e37be82d006f4f665f47274ed78273cbb /sysdeps/unix/sysv/linux/x86/include
parent46e713be5770b19568fab074afbc7d992b0c3624 (diff)
downloadglibc-b7fc4a07f206a640e6d807d72f5c1ee3ea7a25b6.zip
glibc-b7fc4a07f206a640e6d807d72f5c1ee3ea7a25b6.tar.gz
glibc-b7fc4a07f206a640e6d807d72f5c1ee3ea7a25b6.tar.bz2
x86: Move CET infrastructure to x86_64
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.
Diffstat (limited to 'sysdeps/unix/sysv/linux/x86/include')
-rw-r--r--sysdeps/unix/sysv/linux/x86/include/asm/prctl.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/sysdeps/unix/sysv/linux/x86/include/asm/prctl.h b/sysdeps/unix/sysv/linux/x86/include/asm/prctl.h
deleted file mode 100644
index 2f51132..0000000
--- a/sysdeps/unix/sysv/linux/x86/include/asm/prctl.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/* 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