Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
prctl.h File Reference

Go to the source code of this file.

Macros

#define PR_SET_PDEATHSIG   1 /* Second arg is a signal */
 
#define PR_GET_PDEATHSIG   2 /* Second arg is a ptr to return the signal */
 
#define PR_GET_DUMPABLE   3
 
#define PR_SET_DUMPABLE   4
 
#define PR_GET_UNALIGN   5
 
#define PR_SET_UNALIGN   6
 
#define PR_UNALIGN_NOPRINT   1 /* silently fix up unaligned user accesses */
 
#define PR_UNALIGN_SIGBUS   2 /* generate SIGBUS on unaligned user access */
 
#define PR_GET_KEEPCAPS   7
 
#define PR_SET_KEEPCAPS   8
 
#define PR_GET_FPEMU   9
 
#define PR_SET_FPEMU   10
 
#define PR_FPEMU_NOPRINT   1 /* silently emulate fp operations accesses */
 
#define PR_FPEMU_SIGFPE   2 /* don't emulate fp operations, send SIGFPE instead */
 
#define PR_GET_FPEXC   11
 
#define PR_SET_FPEXC   12
 
#define PR_FP_EXC_SW_ENABLE   0x80 /* Use FPEXC for FP exception enables */
 
#define PR_FP_EXC_DIV   0x010000 /* floating point divide by zero */
 
#define PR_FP_EXC_OVF   0x020000 /* floating point overflow */
 
#define PR_FP_EXC_UND   0x040000 /* floating point underflow */
 
#define PR_FP_EXC_RES   0x080000 /* floating point inexact result */
 
#define PR_FP_EXC_INV   0x100000 /* floating point invalid operation */
 
#define PR_FP_EXC_DISABLED   0 /* FP exceptions disabled */
 
#define PR_FP_EXC_NONRECOV   1 /* async non-recoverable exc. mode */
 
#define PR_FP_EXC_ASYNC   2 /* async recoverable exception mode */
 
#define PR_FP_EXC_PRECISE   3 /* precise exception mode */
 
#define PR_GET_TIMING   13
 
#define PR_SET_TIMING   14
 
#define PR_TIMING_STATISTICAL
 
#define PR_TIMING_TIMESTAMP
 
#define PR_SET_NAME   15 /* Set process name */
 
#define PR_GET_NAME   16 /* Get process name */
 
#define PR_GET_ENDIAN   19
 
#define PR_SET_ENDIAN   20
 
#define PR_ENDIAN_BIG   0
 
#define PR_ENDIAN_LITTLE   1 /* True little endian mode */
 
#define PR_ENDIAN_PPC_LITTLE   2 /* "PowerPC" pseudo little endian */
 
#define PR_GET_SECCOMP   21
 
#define PR_SET_SECCOMP   22
 
#define PR_CAPBSET_READ   23
 
#define PR_CAPBSET_DROP   24
 
#define PR_GET_TSC   25
 
#define PR_SET_TSC   26
 
#define PR_TSC_ENABLE   1 /* allow the use of the timestamp counter */
 
#define PR_TSC_SIGSEGV   2 /* throw a SIGSEGV instead of reading the TSC */
 
#define PR_GET_SECUREBITS   27
 
#define PR_SET_SECUREBITS   28
 
#define PR_SET_TIMERSLACK   29
 
#define PR_GET_TIMERSLACK   30
 
#define PR_TASK_PERF_EVENTS_DISABLE   31
 
#define PR_TASK_PERF_EVENTS_ENABLE   32
 
#define PR_MCE_KILL   33
 
#define PR_MCE_KILL_CLEAR   0
 
#define PR_MCE_KILL_SET   1
 
#define PR_MCE_KILL_LATE   0
 
#define PR_MCE_KILL_EARLY   1
 
#define PR_MCE_KILL_DEFAULT   2
 
#define PR_MCE_KILL_GET   34
 
#define PR_SET_MM   35
 
#define PR_SET_MM_START_CODE   1
 
#define PR_SET_MM_END_CODE   2
 
#define PR_SET_MM_START_DATA   3
 
#define PR_SET_MM_END_DATA   4
 
#define PR_SET_MM_START_STACK   5
 
#define PR_SET_MM_START_BRK   6
 
#define PR_SET_MM_BRK   7
 
#define PR_SET_MM_ARG_START   8
 
#define PR_SET_MM_ARG_END   9
 
#define PR_SET_MM_ENV_START   10
 
#define PR_SET_MM_ENV_END   11
 
#define PR_SET_MM_AUXV   12
 
#define PR_SET_MM_EXE_FILE   13
 
#define PR_SET_PTRACER   0x59616d61
 
#define PR_SET_PTRACER_ANY   ((unsigned long)-1)
 
#define PR_SET_CHILD_SUBREAPER   36
 
#define PR_GET_CHILD_SUBREAPER   37
 
#define PR_SET_NO_NEW_PRIVS   38
 
#define PR_GET_NO_NEW_PRIVS   39
 
#define PR_GET_TID_ADDRESS   40
 

Macro Definition Documentation

#define PR_CAPBSET_DROP   24

Definition at line 67 of file prctl.h.

#define PR_CAPBSET_READ   23

Definition at line 66 of file prctl.h.

#define PR_ENDIAN_BIG   0

Definition at line 57 of file prctl.h.

#define PR_ENDIAN_LITTLE   1 /* True little endian mode */

Definition at line 58 of file prctl.h.

#define PR_ENDIAN_PPC_LITTLE   2 /* "PowerPC" pseudo little endian */

Definition at line 59 of file prctl.h.

#define PR_FP_EXC_ASYNC   2 /* async recoverable exception mode */

Definition at line 41 of file prctl.h.

#define PR_FP_EXC_DISABLED   0 /* FP exceptions disabled */

Definition at line 39 of file prctl.h.

#define PR_FP_EXC_DIV   0x010000 /* floating point divide by zero */

Definition at line 34 of file prctl.h.

#define PR_FP_EXC_INV   0x100000 /* floating point invalid operation */

Definition at line 38 of file prctl.h.

#define PR_FP_EXC_NONRECOV   1 /* async non-recoverable exc. mode */

Definition at line 40 of file prctl.h.

#define PR_FP_EXC_OVF   0x020000 /* floating point overflow */

Definition at line 35 of file prctl.h.

#define PR_FP_EXC_PRECISE   3 /* precise exception mode */

Definition at line 42 of file prctl.h.

#define PR_FP_EXC_RES   0x080000 /* floating point inexact result */

Definition at line 37 of file prctl.h.

#define PR_FP_EXC_SW_ENABLE   0x80 /* Use FPEXC for FP exception enables */

Definition at line 33 of file prctl.h.

#define PR_FP_EXC_UND   0x040000 /* floating point underflow */

Definition at line 36 of file prctl.h.

#define PR_FPEMU_NOPRINT   1 /* silently emulate fp operations accesses */

Definition at line 27 of file prctl.h.

#define PR_FPEMU_SIGFPE   2 /* don't emulate fp operations, send SIGFPE instead */

Definition at line 28 of file prctl.h.

#define PR_GET_CHILD_SUBREAPER   37

Definition at line 129 of file prctl.h.

#define PR_GET_DUMPABLE   3

Definition at line 10 of file prctl.h.

#define PR_GET_ENDIAN   19

Definition at line 55 of file prctl.h.

#define PR_GET_FPEMU   9

Definition at line 25 of file prctl.h.

#define PR_GET_FPEXC   11

Definition at line 31 of file prctl.h.

#define PR_GET_KEEPCAPS   7

Definition at line 21 of file prctl.h.

#define PR_GET_NAME   16 /* Get process name */

Definition at line 52 of file prctl.h.

#define PR_GET_NO_NEW_PRIVS   39

Definition at line 146 of file prctl.h.

#define PR_GET_PDEATHSIG   2 /* Second arg is a ptr to return the signal */

Definition at line 7 of file prctl.h.

#define PR_GET_SECCOMP   21

Definition at line 62 of file prctl.h.

#define PR_GET_SECUREBITS   27

Definition at line 76 of file prctl.h.

#define PR_GET_TID_ADDRESS   40

Definition at line 148 of file prctl.h.

#define PR_GET_TIMERSLACK   30

Definition at line 84 of file prctl.h.

#define PR_GET_TIMING   13

Definition at line 46 of file prctl.h.

#define PR_GET_TSC   25

Definition at line 70 of file prctl.h.

#define PR_GET_UNALIGN   5

Definition at line 14 of file prctl.h.

#define PR_MCE_KILL   33

Definition at line 93 of file prctl.h.

#define PR_MCE_KILL_CLEAR   0

Definition at line 94 of file prctl.h.

#define PR_MCE_KILL_DEFAULT   2

Definition at line 99 of file prctl.h.

#define PR_MCE_KILL_EARLY   1

Definition at line 98 of file prctl.h.

#define PR_MCE_KILL_GET   34

Definition at line 101 of file prctl.h.

#define PR_MCE_KILL_LATE   0

Definition at line 97 of file prctl.h.

#define PR_MCE_KILL_SET   1

Definition at line 95 of file prctl.h.

#define PR_SET_CHILD_SUBREAPER   36

Definition at line 128 of file prctl.h.

#define PR_SET_DUMPABLE   4

Definition at line 11 of file prctl.h.

#define PR_SET_ENDIAN   20

Definition at line 56 of file prctl.h.

#define PR_SET_FPEMU   10

Definition at line 26 of file prctl.h.

#define PR_SET_FPEXC   12

Definition at line 32 of file prctl.h.

#define PR_SET_KEEPCAPS   8

Definition at line 22 of file prctl.h.

#define PR_SET_MM   35

Definition at line 106 of file prctl.h.

#define PR_SET_MM_ARG_END   9

Definition at line 115 of file prctl.h.

#define PR_SET_MM_ARG_START   8

Definition at line 114 of file prctl.h.

#define PR_SET_MM_AUXV   12

Definition at line 118 of file prctl.h.

#define PR_SET_MM_BRK   7

Definition at line 113 of file prctl.h.

#define PR_SET_MM_END_CODE   2

Definition at line 108 of file prctl.h.

#define PR_SET_MM_END_DATA   4

Definition at line 110 of file prctl.h.

#define PR_SET_MM_ENV_END   11

Definition at line 117 of file prctl.h.

#define PR_SET_MM_ENV_START   10

Definition at line 116 of file prctl.h.

#define PR_SET_MM_EXE_FILE   13

Definition at line 119 of file prctl.h.

#define PR_SET_MM_START_BRK   6

Definition at line 112 of file prctl.h.

#define PR_SET_MM_START_CODE   1

Definition at line 107 of file prctl.h.

#define PR_SET_MM_START_DATA   3

Definition at line 109 of file prctl.h.

#define PR_SET_MM_START_STACK   5

Definition at line 111 of file prctl.h.

#define PR_SET_NAME   15 /* Set process name */

Definition at line 51 of file prctl.h.

#define PR_SET_NO_NEW_PRIVS   38

Definition at line 145 of file prctl.h.

#define PR_SET_PDEATHSIG   1 /* Second arg is a signal */

Definition at line 6 of file prctl.h.

#define PR_SET_PTRACER   0x59616d61

Definition at line 125 of file prctl.h.

#define PR_SET_PTRACER_ANY   ((unsigned long)-1)

Definition at line 126 of file prctl.h.

#define PR_SET_SECCOMP   22

Definition at line 63 of file prctl.h.

#define PR_SET_SECUREBITS   28

Definition at line 77 of file prctl.h.

#define PR_SET_TIMERSLACK   29

Definition at line 83 of file prctl.h.

#define PR_SET_TIMING   14

Definition at line 47 of file prctl.h.

#define PR_SET_TSC   26

Definition at line 71 of file prctl.h.

#define PR_SET_UNALIGN   6

Definition at line 15 of file prctl.h.

#define PR_TASK_PERF_EVENTS_DISABLE   31

Definition at line 86 of file prctl.h.

#define PR_TASK_PERF_EVENTS_ENABLE   32

Definition at line 87 of file prctl.h.

#define PR_TIMING_STATISTICAL
Value:
0 /* Normal, traditional,
statistical process timing */

Definition at line 48 of file prctl.h.

#define PR_TIMING_TIMESTAMP
Value:
1 /* Accurate timestamp based
process timing */

Definition at line 49 of file prctl.h.

#define PR_TSC_ENABLE   1 /* allow the use of the timestamp counter */

Definition at line 72 of file prctl.h.

#define PR_TSC_SIGSEGV   2 /* throw a SIGSEGV instead of reading the TSC */

Definition at line 73 of file prctl.h.

#define PR_UNALIGN_NOPRINT   1 /* silently fix up unaligned user accesses */

Definition at line 16 of file prctl.h.

#define PR_UNALIGN_SIGBUS   2 /* generate SIGBUS on unaligned user access */

Definition at line 17 of file prctl.h.