File: prctl.h

package info (click to toggle)
glibc 2.42-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 311,512 kB
  • sloc: ansic: 1,060,589; asm: 238,093; makefile: 20,928; python: 13,508; sh: 11,823; cpp: 5,188; awk: 1,794; perl: 317; yacc: 292; pascal: 182; sed: 19
file content (27 lines) | stat: -rw-r--r-- 935 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* 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

#ifndef ARCH_GET_XCOMP_PERM
# define ARCH_GET_XCOMP_PERM		0x1022
# define ARCH_REQ_XCOMP_PERM		0x1023
#endif