summaryrefslogtreecommitdiffstats
path: root/sys-utils/setarch.c
Commit message (Collapse)AuthorAgeFilesLines
...
* rename util-linux-ng back to util-linuxKarel Zak2010-11-301-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* setarch: add fallback for linux/personalityKarel Zak2008-05-131-0/+32
| | | | | | | | | | | | | | setarch.c:248: error: 'ADDR_NO_RANDOMIZE' undeclared (first use in this function) setarch.c:248: error: (Each undeclared identifier is reported only once setarch.c:248: error: for each function it appears in.) setarch.c:251: error: 'FDPIC_FUNCPTRS' undeclared (first use in this function) setarch.c:257: error: 'ADDR_COMPAT_LAYOUT' undeclared (first use in this function) setarch.c:260: error: 'READ_IMPLIES_EXEC' undeclared (first use in this function) Linux gzp1 2.4.36.1-gzp1 #1 SMP Tue Feb 19 10:23:48 CET 2008 i686 GNU/Linux Reported-By: Gabor Z. Papp <gzp@papp.hu> Signed-off-by: Karel Zak <kzak@redhat.com>
* setarch: provide backwards compatibilityDmitry V. Levin2008-04-161-1/+1
| | | | | | | | | | | | | | | | | | | | | The getopt_long(3) use introduced by commit 8df90dec2bfd8c876ddd4cea010f40550d4e24aa broke backwards compatibility. Old behavior: $ i386 uname -m i686 New behavior: $ i386 uname -m i386: invalid option -- m Linux Traditional method to fix it is to disable program arguments reordering by prefixing getopt_long's optstring with '+' character. Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> Signed-off-by: Karel Zak <kzak@redhat.com>
* setarch: add missing alpha subarchsOliver Falk2007-12-031-0/+4
| | | | | Signed-off-by: Oliver Falk <oliver@linux-kernel.at> Signed-off-by: Karel Zak <kzak@redhat.com>
* setarch: tweak the help text, and gettextize a forgotten messageBenno Schulenberg2007-11-061-6/+6
| | | | Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* setarch: fix compiler warningLaMont Jones2007-09-231-1/+1
| | | | | | | NULL is not 0L. It's (void*)0. Passing that as a parameter to a function that takes an unsigned long results in a warning about the lack of a cast. Signed-off-by: LaMont Jones <lamont@debian.org>
* build-sys: remove hardcoded _GNU_SOURCEKarel Zak2007-09-201-4/+0Star
| | | | | | We have AC_GNU_SOURCE, so we needn't any extra hardcoded _GNU_SOURCE. Signed-off-by: Karel Zak <kzak@redhat.com>
* setarch: add long options to setarch and update manpageKarel Zak2007-09-051-53/+90
| | | | | | Co-Author: Li Zefan <lizf@cn.fujitsu.com> Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* setarch: add --3gb option fot compatibility with Debian linux{32,64} commandKarel Zak2007-08-271-0/+8
| | | | | | | | | | | | Debian had a pre-existing linux{32,64} command which supported only --3gb and --4gb. Adding support for those options allows setarch to replace that package. (Note that long options are expected for all setarch flags in the next release.) Signed-off-by: LaMont Jones <lamont@mmjgroup.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* setarch: finish adding parisc supportKarel Zak2007-08-271-1/+2
| | | | | Signed-off-by: LaMont Jones <lamont@mmjgroup.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* setarch: add parisc/parisc64 supportLaMont Jones2007-08-271-0/+4
| | | | Signed-off-by: LaMont Jones <lamont@mmjgroup.com>
* setarch: cleanup licensing noteKarel Zak2007-08-211-2/+15
| | | | | Signed-off-by: Jindrich Novy <jnovy@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* setarch: add __alpha__ supportBalint Cristian2007-08-211-0/+3
| | | | | Signed-off-by: Balint Cristian <cbalint@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* setarch: add sparc32bash alias to keep compatibility with sparc32Dennis Gilmore2007-08-211-0/+9
| | | | | Signed-off-by: Dennis Gilmore <dennis@ausil.us> Signed-off-by: Karel Zak <kzak@redhat.com>
* setarch: add NLS supportKarel Zak2007-07-031-11/+16
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* sys-utils: added setarch commandKarel Zak2007-07-021-0/+216
This patch merges setarch command to util-linux-ng code. Signed-off-by: Karel Zak <kzak@redhat.com>