Fwd: setarch uname 2.6
Elan Ruusamäe
glen at pld-linux.org
Mon Jun 1 10:22:31 CEST 2015
pff. managed to post to wrong list
-------- Original Message --------
Subject: setarch uname 2.6
Date: Sun, 31 May 2015 21:23:51 +0300
From: Elan Ruusamäe <glen at pld-linux.org>
Reply-To: PLD: Users list (English) <pld-users-en at lists.pld-linux.org>
To: pld-users-en at lists.pld-linux.org
hi
is pld setarch broken or the tool itself is broken?
the --uname-2.6 does not seem to work
and stacking two calls, reset the previous attribs.
# setarch --uname-2.6 uname -r
setarch: --uname-2.6: Unrecognized architecture
# setarch uname26 uname -r
2.6.54-1
# setarch --list
uname26
linux32
linux64
i386
i486
i586
i686
athlon
x86_64
# setarch i686 uname -m
i686
# setarch uname26 setarch i686 uname -rm
3.14.36-1 i686
# setarch i686 setarch uname26 uname -rm
2.6.54-1 x86_64
# rpm -qf `which setarch`
util-linux-2.25.1-1.x86_64
# setarch --help
Usage:
setarch <arch> [options] [program [program arguments]]
Options:
-v, --verbose says what options are being switched on
-R, --addr-no-randomize disables randomization of the virtual address
space
-F, --fdpic-funcptrs makes function pointers point to descriptors
-Z, --mmap-page-zero turns on MMAP_PAGE_ZERO
-L, --addr-compat-layout changes the way virtual memory is allocated
-X, --read-implies-exec turns on READ_IMPLIES_EXEC
-B, --32bit turns on ADDR_LIMIT_32BIT
-I, --short-inode turns on SHORT_INODE
-S, --whole-seconds turns on WHOLE_SECONDS
-T, --sticky-timeouts turns on STICKY_TIMEOUTS
-3, --3gb limits the used address space to a maximum of
3 GB
--4gb ignored (for backward compatibility only)
--uname-2.6 turns on UNAME26
--list list settable architectures, and exit
-h, --help display this help and exit
-V, --version output version information and exit
For more details see setarch(8).
--
glen
_______________________________________________
pld-users-en mailing list
pld-users-en at lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-users-en
More information about the pld-devel-en
mailing list