[seccomp/libseccomp] 68cc5b: mips: restore the 32-bit MIPS O32 ABI offset

0 views
Skip to first unread message

Paul Moore

unread,
Nov 1, 2021, 12:23:43 PM11/1/21
to libse...@googlegroups.com
Branch: refs/heads/main
Home: https://github.com/seccomp/libseccomp
Commit: 68cc5bf3d85ddedbd9a43a44389c3593b517e6c5
https://github.com/seccomp/libseccomp/commit/68cc5bf3d85ddedbd9a43a44389c3593b517e6c5
Author: Paul Moore <pa...@paul-moore.com>
Date: 2021-11-01 (Mon, 01 Nov 2021)

Changed paths:
M src/arch-mips.c
M tests/38-basic-pfc_coverage.pfc

Log Message:
-----------
mips: restore the 32-bit MIPS O32 ABI offset

In the process of adding and consolidating the multiplexed syscalls
for MIPS I mistakenly dropped the O32 ABI offset, this patch restores
the offset value.

Signed-off-by: Paul Moore <pa...@paul-moore.com>
Reviewed-by: Tom Hromatka <tom.hr...@oracle.com>
Signed-off-by: Tom Hromatka <tom.hr...@oracle.com>


Commit: 060a677ea5de077a7ae9f82b7142d388a1a336b6
https://github.com/seccomp/libseccomp/commit/060a677ea5de077a7ae9f82b7142d388a1a336b6
Author: Paul Moore <pa...@paul-moore.com>
Date: 2021-11-01 (Mon, 01 Nov 2021)

Changed paths:
M src/arch-aarch64.c
M src/arch-arm.c
M src/arch-mips.c
M src/arch-mips64.c
M src/arch-mips64n32.c
M src/arch-parisc.c
M src/arch-parisc64.c
M src/arch-ppc.c
M src/arch-ppc64.c
M src/arch-riscv64.c
M src/arch-s390.c
M src/arch-s390x.c
M src/arch-sh.c
M src/arch-x32.c
M src/arch-x86.c
M src/arch-x86_64.c
M src/arch.h
M src/syscalls.c

Log Message:
-----------
arch: move the ARCH_DEF() calls into the arch/ABI specific files

This should make it easier to ensure we have arch/ABIs added
properly to libseccomp.

Signed-off-by: Paul Moore <pa...@paul-moore.com>
Reviewed-by: Tom Hromatka <tom.hr...@oracle.com>
Signed-off-by: Tom Hromatka <tom.hr...@oracle.com>


Commit: ee3660f91879eb82eb1885a9a5688fec245dcfbf
https://github.com/seccomp/libseccomp/commit/ee3660f91879eb82eb1885a9a5688fec245dcfbf
Author: Paul Moore <pa...@paul-moore.com>
Date: 2021-11-01 (Mon, 01 Nov 2021)

Changed paths:
M tests/30-sim-socket_syscalls.c
M tests/30-sim-socket_syscalls.py
M tests/30-sim-socket_syscalls.tests

Log Message:
-----------
tests: add the mipsel and sh ABIs to test 30-sim-socket_syscalls

Signed-off-by: Paul Moore <pa...@paul-moore.com>
Reviewed-by: Tom Hromatka <tom.hr...@oracle.com>
Signed-off-by: Tom Hromatka <tom.hr...@oracle.com>


Commit: 3c2da115b5b35222afbc62f27779832d47a34786
https://github.com/seccomp/libseccomp/commit/3c2da115b5b35222afbc62f27779832d47a34786
Author: Paul Moore <pa...@paul-moore.com>
Date: 2021-11-01 (Mon, 01 Nov 2021)

Changed paths:
M tests/05-sim-long_jumps.c
M tests/05-sim-long_jumps.py
M tests/05-sim-long_jumps.tests

Log Message:
-----------
tests: improve 05-sim-long_jumps to work better across arch/ABIs

This patch primarily moves the test away from abstract syscall
numbers to honest-to-goodness actual syscalls which are present on
all currently supported arch/ABIs. This change should make it easier
to support this test across different platforms now and moving
forward.

Signed-off-by: Paul Moore <pa...@paul-moore.com>
Reviewed-by: Tom Hromatka <tom.hr...@oracle.com>
Signed-off-by: Tom Hromatka <tom.hr...@oracle.com>


Compare: https://github.com/seccomp/libseccomp/compare/f046fd21e327...3c2da115b5b3
Reply all
Reply to author
Forward
0 new messages