1SETARCH(8) Linux Programmer's Manual SETARCH(8)
2
3
4
6 setarch - change reported architecture in new program environment and
7 set personality flags
8
10 setarch <arch> [options] [program [arguments]]
11
12 arch [options] [program [arguments]]
13
14
16 setarch This utility currently only affects the output of uname -m. For
17 example, on an AMD64 system, running 'setarch i386 program' will cause
18 'program' to see i686 (or other relevant arch) instead of x86_64 as
19 machine type. It also allows to set various personality options.
20
22 -v Be verbose.
23
24 -h, --help
25 Display help (it is also displayed when setarch takes no argu‐
26 ments).
27
28 -3 Specifies that processes should use a maximum of 3GB of address
29 space on systems where it is supported (ADDR_LIMIT_3GB).
30
31 -B Turns on ADDR_LIMIT_32BIT.
32
33 -F Userspace function pointers point to descriptors (turns on
34 FDPIC_FUNCPTRS).
35
36 -I Turns on SHORT_INODE.
37
38 -L Changes the way virtual memory is allocated (turns on the
39 ADDR_COMPAT_LAYOUT).
40
41 -R Disables randomization of the virtual address space (turns on
42 ADDR_NO_RANDOMIZE).
43
44 -S Turns on WHOLE_SECONDS.
45
46 -T Turns on STICKY_TIMEOUTS.
47
48 -X Turns on READ_IMPLIES_EXEC.
49
50 -Z Turns on MMAP_PAGE_ZERO.
51
53 setarch ppc32 rpmbuild --target=ppc --rebuild foo.src.rpm
54 setarch ppc32 -v -vL3 rpmbuild --target=ppc --rebuild bar.src.rpm
55
57 Elliot Lee <sopwith@redhat.com>
58 Jindrich Novy <jnovy@redhat.com>
59
61 Report bugs via http://bugzilla.redhat.com/bugzilla/
62
63
64
65setarch Oct 2004 SETARCH(8)