Repository navigation
Conversation
Adds the s390x target architecture so kafel can build and apply
seccomp-bpf policies on IBM Z (s390x). s390x was the only common
64-bit Linux architecture not already supported.
- New src/syscalls/s390x_syscalls.c covering the s390 common + 64-bit
ABI (381 syscalls). Argument descriptors are reused from the amd64
list for syscalls shared with the generic 64-bit Linux ABI;
s390-specific and nullary syscalls use an empty argument list.
- KAFEL_TARGET_ARCH_S390X (1 << 9) added to the kafel_target_arch
enum; KAFEL_TARGET_ARCHS_ALL updated to (1 << 10) - 1.
- __s390x__ default-arch detection in src/common.h and
test/runner/harness.h.
- src/syscall.c: SYSCALL_LIST_DECL, syscall_lists entry (guarded by
AUDIT_ARCH_S390X), kafel_arch_to_string case, and arch name map
entries ("s390x", "s390").
- src/Makefile: s390x_syscalls.c added to SYSCALL_LISTS and the
depend list.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the s390x target architecture so kafel can build and apply seccomp-bpf policies on IBM Z 64bit (s390x). s390x was the only common 64-bit Linux architecture not already supported.
I have signed the Google ICLA.