The sparc64 binary in the existing sparc-utils package sets ADDR_LIMIT_32BIT. Cause setarch to behave likewise when invoked as 'sparc64'. Signed-off-by: LaMont Jones <lamont@xxxxxxxxxx> --- sys-utils/setarch.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/sys-utils/setarch.c b/sys-utils/setarch.c index 5379c30..aef18a4 100644 --- a/sys-utils/setarch.c +++ b/sys-utils/setarch.c @@ -222,6 +222,10 @@ int main(int argc, char *argv[]) argv[0] = argv[-1]; /* for getopt_long() to get the program name */ if (!strcmp(p, "-h") || !strcmp(p, "--help")) show_help(); + #if defined(__sparc64__) || defined(__sparc__) + } else if (!strcmp(p,"sparc64")) { + options |= ADDR_LIMIT_32BIT; + #endif } #if defined(__sparc64__) || defined(__sparc__) if (!strcmp(p, "sparc32bash")) { -- 1.5.2.5 - To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html