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

0 views
Skip to first unread message

Paul Moore

unread,
Nov 1, 2021, 12:56:00 PM11/1/21
to libse...@googlegroups.com
Branch: refs/heads/release-2.5
Home: https://github.com/seccomp/libseccomp
Commit: 049b648b372bced6e8c9c32472fd7f1dbfca16c1
https://github.com/seccomp/libseccomp/commit/049b648b372bced6e8c9c32472fd7f1dbfca16c1
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>
(cherry picked from commit 68cc5bf3d85ddedbd9a43a44389c3593b517e6c5)


Commit: 98bce26abf09218e7f06608e132bf9f44893a5fc
https://github.com/seccomp/libseccomp/commit/98bce26abf09218e7f06608e132bf9f44893a5fc
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-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>
(cherry picked from commit 060a677ea5de077a7ae9f82b7142d388a1a336b6)

Conflicts:
src/arch-sh.c - Doesn't exist in release-2.5
src/syscalls.c - Minor merge conflict where ARCH_DEF() was
removed


Commit: 7c1213b3a84c1c64439e89b880bd3c9bd57e8887
https://github.com/seccomp/libseccomp/commit/7c1213b3a84c1c64439e89b880bd3c9bd57e8887
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>
(cherry picked from commit ee3660f91879eb82eb1885a9a5688fec245dcfbf)

TJH - The sh ABIs aren't in the release-2.5 branch, so they have been
removed from this commit


Commit: 9ad5df95e03f3f0ed13b0b533bab17d7e086c319
https://github.com/seccomp/libseccomp/commit/9ad5df95e03f3f0ed13b0b533bab17d7e086c319
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>
(cherry picked from commit 3c2da115b5b35222afbc62f27779832d47a34786)


Compare: https://github.com/seccomp/libseccomp/compare/fa85b21a592c...9ad5df95e03f
Reply all
Reply to author
Forward
0 new messages