api: filter the return codes we send to userspace
api: filter the return codes we send to userspace

This is one part of including error codes in our API promise, it
helps ensure we don't accidentally send an undocumented error code
to the caller.

Acked-by: Tom Hromatka <96b9c1f2c09b98d7a09b4688fc637f1494d8e182@oracle.com>
Signed-off-by: Paul Moore <a027184a55211cd23e3f3094f1fdc728df5e0500@paul-moore.com>


seccomp/libseccomp,seccomp/libseccomp,seccomp/libseccomp