rkt_seccomp_test: Fix arm64 stat tests
rkt_seccomp_test: Fix arm64 stat tests

The -stat-file option of rkt's inspect program uses the standard go
os.Stat() routine, which uses the syscall.Stat() routine for its
operation.  For amd64 syscall.Stat() uses the SYS_STAT system call,
and so setting actool's --seccomp-set option to 'stat' works with
inspect's -stat-file option.

The arm64 linux kernel does not implement a SYS_STAT syscall, so for
arm64 syscall.Stat() is implemented as a wrapper around the
syscall.Fstatat() routine.  Because of this actool's --seccomp-set
option needs to be set to 'newfstatat' for the '-stat-file' option
to work correctly on arm64 machines.

Signed-off-by: Geoff Levand <c3918f39022407dee6a0056ceca9b1aa80e8e4ce@infradead.org>

lucasallan/rkt,joshix/rkt,lucasallan/rkt,rkt/rkt,rkt/rkt,alban/rkt,lucasallan/rkt,ybubnov/rkt,kinvolk/rkt,kinvolk/rkt,kinvolk/rkt,joshix/rkt,rkt/rkt,lucasallan/rkt,alban/rkt,rkt/rkt,coreos/rkt,Shashwatsh/rkt,Shashwatsh/rkt,joshix/rkt,coreos/rkt,kinvolk/rkt,alban/rkt,coreos/rkt,joshix/rkt,Shashwatsh/rkt,ybubnov/rkt,ybubnov/rkt