diff options
Diffstat (limited to 'include/linux/prctl.h')
-rw-r--r-- | include/linux/prctl.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/prctl.h b/include/linux/prctl.h index d8ae9689c..ca7a8cd8b 100644 --- a/include/linux/prctl.h +++ b/include/linux/prctl.h @@ -10,4 +10,10 @@ #define PR_GET_DUMPABLE 3 #define PR_SET_DUMPABLE 4 +/* Get/set unaligned access control bits (if meaningful) */ +#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 */ + #endif /* _LINUX_PRCTL_H */ |