]> 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)
commit00b9cf472868487aba454c937f8cf4a9c38ae387
treed73b113a0ac2fcb6da5c1bd2f831e336c7a93f0e
parent118fceda9a508bb9b4c5fee2846b578a3a9cef74
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