More Makefile cleanups, otherwise mainly noticeable are the netfilter fix
[davej-history.git] / include / linux / prctl.h
blobc6c42a55b111febe369f8d869bfbdc8fe410129c
1 #ifndef _LINUX_PRCTL_H
2 #define _LINUX_PRCTL_H
4 /* Values to pass as first argument to prctl() */
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 */
9 /* Get/set current->dumpable */
10 #define PR_GET_DUMPABLE 3
11 #define PR_SET_DUMPABLE 4
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 */
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
23 #endif /* _LINUX_PRCTL_H */