diff options
author | Paul Moore <paul@paul-moore.com> | 2017-02-02 19:22:21 -0500 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2017-02-02 19:22:21 -0500 |
commit | 73560412e51c6e9f53466ebfbd2d36707a7e4006 (patch) | |
tree | a713ebef2586faeef212398b1341c9779b68086e | |
parent | e8ef0f9a32e33bd5ec78eae9e3bf91684ce91e0a (diff) | |
download | libseccomp-73560412e51c6e9f53466ebfbd2d36707a7e4006.tar.gz |
build: ensure we sort the library and kernel syscall lists the same during validation
Signed-off-by: Paul Moore <paul@paul-moore.com>
(imported from commit e58bfa9032a5e15e2081ddfdda040e7a29de58b9)
-rwxr-xr-x | src/arch-syscall-validate | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch-syscall-validate b/src/arch-syscall-validate index 2a83098..17f63fe 100755 --- a/src/arch-syscall-validate +++ b/src/arch-syscall-validate @@ -84,7 +84,7 @@ function dump_lib_arch() { [[ -z $1 ]] && return [[ -n $2 ]] && offset_str="-o $2" - $LIB_SYS_DUMP -a $1 $offset_str | sed -e '/[^\t]\+\t-[0-9]\+/d' + $LIB_SYS_DUMP -a $1 $offset_str | sed -e '/[^\t]\+\t-[0-9]\+/d' | sort } # |