diff options
author | Tom Hromatka <tom.hromatka@oracle.com> | 2019-02-05 15:27:45 -0700 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2019-02-18 13:03:46 -0500 |
commit | 4a35b6ea6f7c836734536420c50a2745a9e24c69 (patch) | |
tree | e6116c4533a589ebb8a2f6bf58f33c3314f12e82 /include | |
parent | cd14d2cf6d975729af2783870aa23e027895261d (diff) | |
download | libseccomp-4a35b6ea6f7c836734536420c50a2745a9e24c69.tar.gz |
db: Return -EDOM on endian mismatch during arch add
This commit clarifies the error code when seccomp_arch_add() or
seccomp_merge() fails due to an endian mismatch. Previously,
libseccomp would return -EEXIST if the new architecture's
endianness did not match.
This addresses GitHub Issue #86 - BUG: seccomp_arch_add() returns
-EEXISTS on endian mismatch
Reported-by: Michael Vogt <michael.vogt@gmail.com>
Suggested-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions