]> git.ipfire.org Git - thirdparty/util-linux.git/commit
setarch: make <arch> optional
authorKarel Zak <kzak@redhat.com>
Tue, 7 Aug 2018 09:31:14 +0000 (11:31 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 7 Aug 2018 09:31:14 +0000 (11:31 +0200)
commit05541825553524e2ac353eb6c62c8b5ad049de24
treec8339fa9c061732279409a110fd9d375e1abe57d
parentf2538b6a86579008870494906bcd75acd2d44a65
setarch: make <arch> optional

Let's allow to change personality flags without execution domain
modification.

Old way:
  setarch `arch` --addr-no-randomize myprog

New way:
  setarch --addr-no-randomize myprog

Addresses: https://github.com/karelzak/util-linux/issues/668
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/setarch.8
sys-utils/setarch.c