1 #ifndef _LINUX_PRCTL_H
2 #define _LINUX_PRCTL_H
3
4 /* Values to pass as first argument to prctl() */
5
6 #define PR_SET_PDEATHSIG 1 /* Second arg is a signal */
7 #define PR_GET_PDEATHSIG 2 /* Second arg is a ptr to return the signal */
8
9 /* Get/set current->dumpable */
10 #define PR_GET_DUMPABLE 3
11 #define PR_SET_DUMPABLE 4
12
13 /* Get/set unaligned access control bits (if meaningful) */
14 #define PR_GET_UNALIGN 5
15 #define PR_SET_UNALIGN 6
16 # define PR_UNALIGN_NOPRINT 1 /* silently fix up unaligned user accesses */
17 # define PR_UNALIGN_SIGBUS 2 /* generate SIGBUS on unaligned user access */
18
19 /* Get/set whether or not to drop capabilities on setuid() away from uid 0 */
20 #define PR_GET_KEEPCAPS 7
21 #define PR_SET_KEEPCAPS 8
22
23 #endif /* _LINUX_PRCTL_H */
24
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.