[PATCH] HPUX/OSF4 personality issues in 2.5.

Rusty Russell (rusty@rustcorp.com.au)
Fri, 04 Apr 2003 12:22:47 +1000


2.4.20's personality.h:

PER_UW7 = 0x000e | STICKY_TIMEOUTS | MMAP_PAGE_ZERO,
PER_HPUX = 0x000f,
PER_OSF4 = 0x0010, /* OSF/1 v4 */
PER_MASK = 0x00ff,

2.5.66's personality.h:

PER_UW7 = 0x000e | STICKY_TIMEOUTS | MMAP_PAGE_ZERO,
PER_OSF4 = 0x000f, /* OSF/1 v4 */
PER_HPUX = 0x0010,
PER_MASK = 0x00ff,

So I assume 2.5 should be changed to match 2.4?

diff -urpN --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal linux-2.5.66-bk9/include/linux/personality.h working-2.5.66-bk9-sparcmodule/include/linux/personality.h
--- linux-2.5.66-bk9/include/linux/personality.h 2003-02-07 19:20:01.000000000 +1100
+++ working-2.5.66-bk9-sparcmodule/include/linux/personality.h 2003-04-04 12:17:58.000000000 +1000
@@ -62,8 +62,8 @@ enum {
PER_RISCOS = 0x000c,
PER_SOLARIS = 0x000d | STICKY_TIMEOUTS,
PER_UW7 = 0x000e | STICKY_TIMEOUTS | MMAP_PAGE_ZERO,
- PER_OSF4 = 0x000f, /* OSF/1 v4 */
- PER_HPUX = 0x0010,
+ PER_HPUX = 0x000f,
+ PER_OSF4 = 0x0010, /* OSF/1 v4 */
PER_MASK = 0x00ff,
};

--
  Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/