patch-2.1.86 linux/include/linux/personality.h
Next file: linux/include/linux/sc26198.h
Previous file: linux/include/linux/module.h
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Fri Feb 6 10:06:56 1998
- Orig file:
v2.1.85/linux/include/linux/personality.h
- Orig date:
Tue Jan 20 16:51:56 1998
diff -u --recursive --new-file v2.1.85/linux/include/linux/personality.h linux/include/linux/personality.h
@@ -8,12 +8,14 @@
/* Flags for bug emulation. These occupy the top three bytes. */
#define STICKY_TIMEOUTS 0x4000000
#define WHOLE_SECONDS 0x2000000
+#define ADDR_LIMIT_32BIT 0x0800000
/* Personality types. These go in the low byte. Avoid using the top bit,
* it will conflict with error returns.
*/
#define PER_MASK (0x00ff)
#define PER_LINUX (0x0000)
+#define PER_LINUX_32BIT (0x0000 | ADDR_LIMIT_32BIT)
#define PER_SVR4 (0x0001 | STICKY_TIMEOUTS)
#define PER_SVR3 (0x0002 | STICKY_TIMEOUTS)
#define PER_SCOSVR3 (0x0003 | STICKY_TIMEOUTS | WHOLE_SECONDS)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov