NAME
linux32 - Set 32 bit uname emulation processes.
linux64 - Reset uname emulation
SYNOPSIS
linux32
[
--3gb
]
[
--4gb
]
command arguments...
linux64
command arguments...
DESCRIPTION
linux32
changes the personality of command and all its children to
return the 32 bit architecture name.
On
x86_64
and
ia64
the output of uname -m would return
i686
instead of the real one.
This is useful to fool shell scripts or programs that check for the
architecture explicitely into believing that they run on a true 32 bit
system.
When the
--3gb
option is used moves the top of stack of the 32bit child processes to
0xc0000000.
This is useful to execute some broken applications that break when
the stack top is at 4GB. On the other hand it limits the usable heap
memory more than necessary.
This option might not work on all architectures.
When
--4gb
(default) is specified this is not done.
linux64
resets the uname personality to default.
Note that when run on an i386 class machine this has no effect.
SEE ALSO
uname(1)
uname(2)
personality(2)