The seccomp test suite has been merged into linux kernel tree.
tools/testing/selftests/seccomp
And the version from upstream can fix this build issue.
I will change this in our autotest-client-test repo.
** Changed in: linux (Ubuntu)
Assignee: (unassigned) => Po-Hsu Lin (cypressyew)
** Changed in: linux (Ubuntu)
Status: Triaged => In Progress
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1715581
Title:
seccomp test suite failed to build on s390x zKVM
Status in linux package in Ubuntu:
In Progress
Bug description:
Maybe we should find a new repo, the one we use wasn't updated for two
years.
Source: git clone https://github.com/redpig/seccomp.git
$ make
cc resumption.c test_harness.h -o resumption -Wall -ggdb3
resumption.c: In function ‘TRAP_action’:
resumption.c:156:42: error: ‘REG_ARG0’ undeclared (first use in this function)
(unsigned long)ctx->uc_mcontext.gregs[REG_ARG0],
^
resumption.c:156:42: note: each undeclared identifier is reported only once
for each function it appears in
resumption.c:157:42: error: ‘REG_ARG1’ undeclared (first use in this function)
(unsigned long)ctx->uc_mcontext.gregs[REG_ARG1],
^
resumption.c:158:42: error: ‘REG_ARG2’ undeclared (first use in this function)
(unsigned long)ctx->uc_mcontext.gregs[REG_ARG2],
^
resumption.c:159:42: error: ‘REG_ARG3’ undeclared (first use in this function)
(unsigned long)ctx->uc_mcontext.gregs[REG_ARG3],
^
resumption.c:160:42: error: ‘REG_ARG4’ undeclared (first use in this function)
(unsigned long)ctx->uc_mcontext.gregs[REG_ARG4],
^
resumption.c:161:42: error: ‘REG_ARG5’ undeclared (first use in this function)
(unsigned long)ctx->uc_mcontext.gregs[REG_ARG5]);
^
resumption.c:164:29: error: ‘REG_IP’ undeclared (first use in this function)
if (ctx->uc_mcontext.gregs[REG_IP] >= 0xffffffffff600000ULL &&
^
resumption.c:169:26: error: ‘REG_SP’ undeclared (first use in this function)
ctx->uc_mcontext.gregs[REG_SP] -= sizeof(unsigned long);
^
Makefile:13: recipe for target 'resumption' failed
make: *** [resumption] Error 1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1715581/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp