• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /****************************************************************************
2  ****************************************************************************
3  ***
4  ***   This header was automatically generated from a Linux kernel header
5  ***   of the same name, to make information necessary for userspace to
6  ***   call into the kernel available to libc.  It contains only constants,
7  ***   structures, and macros generated from the original header, and thus,
8  ***   contains no copyrightable information.
9  ***
10  ****************************************************************************
11  ****************************************************************************/
12 #ifndef _LINUX_PRCTL_H
13 #define _LINUX_PRCTL_H
14 
15 #define PR_SET_PDEATHSIG 1
16 #define PR_GET_PDEATHSIG 2
17 
18 #define PR_GET_DUMPABLE 3
19 #define PR_SET_DUMPABLE 4
20 
21 #define PR_GET_UNALIGN 5
22 #define PR_SET_UNALIGN 6
23 #define PR_UNALIGN_NOPRINT 1
24 #define PR_UNALIGN_SIGBUS 2
25 
26 #define PR_GET_KEEPCAPS 7
27 #define PR_SET_KEEPCAPS 8
28 
29 #define PR_GET_FPEMU 9
30 #define PR_SET_FPEMU 10
31 #define PR_FPEMU_NOPRINT 1
32 #define PR_FPEMU_SIGFPE 2
33 
34 #define PR_GET_FPEXC 11
35 #define PR_SET_FPEXC 12
36 #define PR_FP_EXC_SW_ENABLE 0x80
37 #define PR_FP_EXC_DIV 0x010000
38 #define PR_FP_EXC_OVF 0x020000
39 #define PR_FP_EXC_UND 0x040000
40 #define PR_FP_EXC_RES 0x080000
41 #define PR_FP_EXC_INV 0x100000
42 #define PR_FP_EXC_DISABLED 0
43 #define PR_FP_EXC_NONRECOV 1
44 #define PR_FP_EXC_ASYNC 2
45 #define PR_FP_EXC_PRECISE 3
46 
47 #define PR_GET_TIMING 13
48 #define PR_SET_TIMING 14
49 #define PR_TIMING_STATISTICAL 0
50 #define PR_TIMING_TIMESTAMP 1
51 
52 #define PR_SET_NAME 15
53 #define PR_GET_NAME 16
54 
55 #define PR_GET_ENDIAN 19
56 #define PR_SET_ENDIAN 20
57 #define PR_ENDIAN_BIG 0
58 #define PR_ENDIAN_LITTLE 1
59 #define PR_ENDIAN_PPC_LITTLE 2
60 
61 #endif
62