seccomp functions: better return check.