* [PATCH] HPUX/OSF4 personality issues in 2.5.
@ 2003-04-04 2:22 Rusty Russell
2003-04-04 5:17 ` Richard Henderson
0 siblings, 1 reply; 2+ messages in thread
From: Rusty Russell @ 2003-04-04 2:22 UTC (permalink / raw)
To: linux-kernel; +Cc: torvalds, rth, grundler, matthew, prumpf
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.
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] HPUX/OSF4 personality issues in 2.5.
2003-04-04 2:22 [PATCH] HPUX/OSF4 personality issues in 2.5 Rusty Russell
@ 2003-04-04 5:17 ` Richard Henderson
0 siblings, 0 replies; 2+ messages in thread
From: Richard Henderson @ 2003-04-04 5:17 UTC (permalink / raw)
To: Rusty Russell; +Cc: linux-kernel, torvalds, grundler, matthew, prumpf
On Fri, Apr 04, 2003 at 12:22:47PM +1000, Rusty Russell wrote:
> 2.4.20's personality.h:
> PER_OSF4 = 0x0010, /* OSF/1 v4 */
> 2.5.66's personality.h:
> PER_OSF4 = 0x000f, /* OSF/1 v4 */
>
> So I assume 2.5 should be changed to match 2.4?
Presumably. No one in userland actually uses PER_OSF4 though.
It's set by the kernel itself when it detects an osf executable.
r~
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-04-04 5:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-04 2:22 [PATCH] HPUX/OSF4 personality issues in 2.5 Rusty Russell
2003-04-04 5:17 ` Richard Henderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox