patch-2.3.48 linux/include/linux/prctl.h

Next file: linux/include/linux/proc_fs.h
Previous file: linux/include/linux/pm.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.47/linux/include/linux/prctl.h linux/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 */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)