all: fix SCMP_FLTATR_CTL_SSB with old libseccomp
all: fix SCMP_FLTATR_CTL_SSB with old libseccomp

As commit "golang: Add support for SCMP_FLTATR_CTL_SSB"
(276b0ea443de00461570ec512734ec0c3bc6cc42) says, that was added in
libseccomp 2.5.0. However, the elif clause added there meant that if we
are using a libseccomp < 2.4 the define will not be done.

This was not an issue because we weren't testing with such an old
libseccomp, but now we will test against < 2.4 libseccomp in future
patches.

This patch just fixes it by using different if clause for the different
defines, instead of elif.

Signed-off-by: Rodrigo Campos <6dfa9cecb562e345739f2e4eb69e9ebd0fbff687@kinvolk.io>
Acked-by: Tom Hromatka <96b9c1f2c09b98d7a09b4688fc637f1494d8e182@oracle.com>
Signed-off-by: Paul Moore <a027184a55211cd23e3f3094f1fdc728df5e0500@paul-moore.com>

seccomp/libseccomp-golang