[Kernel-packages] [Bug 1715581] Re: seccomp test suite failed to build on s390x zKVM

2017-10-20 Thread Po-Hsu Lin
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] >= 0xff60ULL &&
   ^
  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


[Kernel-packages] [Bug 1715581] Re: seccomp test suite failed to build on s390x zKVM

2017-10-02 Thread Po-Hsu Lin
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] >= 0xff60ULL &&
   ^
  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


[Kernel-packages] [Bug 1715581] Re: seccomp test suite failed to build on s390x zKVM

2017-09-07 Thread Joseph Salisbury
** Changed in: linux (Ubuntu)
   Importance: Undecided => Medium

** Tags added: kernel-da-key

** Changed in: linux (Ubuntu)
   Status: Incomplete => Triaged

-- 
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:
  Triaged

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] >= 0xff60ULL &&
   ^
  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


[Kernel-packages] [Bug 1715581] Re: seccomp test suite failed to build on s390x zKVM

2017-09-07 Thread Po-Hsu Lin
Identical bug 1629994, for Trusty ARM64

-- 
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:
  Incomplete

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] >= 0xff60ULL &&
   ^
  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