Re: [PATCH] ppc64: Fix PER_LINUX32 behaviour

From: Andreas Schwab
Date: Wed Jun 08 2005 - 17:44:23 EST


Juergen Kreileder <jk@xxxxxxxxxxxx> writes:

> The current code doesn't work like intended, on my G5 both 'linux32
> uname -m' and 'linux32 sh -c "uname -m"' return 'ppc64' without the
> patch.

You appear to be using some very old version of glibc. I can't reproduce
that here. Are you sure you aren't using syscall 109 (__NR_olduname)
instead of 122 (__NR_uname)?

Andreas.

--
Andreas Schwab, SuSE Labs, schwab@xxxxxxx
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/