]> git.baikalelectronics.ru Git - kernel.git/commit
leaking_addresses: use system command to get arch
authorTobin C. Harding <me@tobin.cc>
Fri, 5 Jan 2018 22:24:49 +0000 (09:24 +1100)
committerTobin C. Harding <me@tobin.cc>
Fri, 6 Apr 2018 22:50:34 +0000 (08:50 +1000)
commit02e295a8d21b395f94c62b68dbb3555329246097
treed73b113a0ac2fcb6da5c1bd2f831e336c7a93f0e
parent35d3bceed4e0a4fe73c9403af13ec3dfbf98f197
leaking_addresses: use system command to get arch

Currently script uses Perl to get the machine architecture. This can be
erroneous since Perl uses the architecture of the machine that Perl was
compiled on not the architecture of the running machine. We should use
the systems `uname` command instead.

Use `uname -m` instead of Perl to get the machine architecture.

Signed-off-by: Tobin C. Harding <me@tobin.cc>
scripts/leaking_addresses.pl