seccomp test will now be tested in ubuntu_kernel_selftests test suite.
The old ubuntu_seccomp test will be only tested on Trusty (which does not have 
the seccomp in selftest)

** Changed in: linux (Ubuntu)
       Status: In Progress => Fix Released

-- 
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:
  Fix Released

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     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to