*** This bug is a duplicate of bug 1849281 ***
    https://bugs.launchpad.net/bugs/1849281

** This bug has been marked a duplicate of bug 1849281
   seccomp: fix SECCOMP_USER_NOTIF_FLAG_CONTINUE test

-- 
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/1845856

Title:
  seccomp test from ubuntu_kernel_selftests failed on B-hwe-edge 5.3
  (‘PTRACE_EVENTMSG_SYSCALL_ENTRY’ undeclared)

Status in ubuntu-kernel-tests:
  New
Status in linux package in Ubuntu:
  Incomplete
Status in linux source package in Eoan:
  Incomplete

Bug description:
  seccomp test failed to build on B-hwe:

      make: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests'
      make --no-builtin-rules ARCH=x86 -C ../../.. headers_install
      make[1]: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux'
      INSTALL ./usr/include
      make[1]: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux'
      make[1]: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/seccomp'
      gcc -Wl,-no-as-needed -Wall seccomp_bpf.c -lpthread -o seccomp_bpf
      Makefile:12: recipe for target 'seccomp_bpf' failed
      make[1]: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/seccomp'
      Makefile:136: recipe for target 'all' failed
      make: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests'
      stderr:
      In file included from seccomp_bpf.c:51:0:
      seccomp_bpf.c: In function ‘tracer_ptrace’:
      seccomp_bpf.c:1787:20: error: ‘PTRACE_EVENTMSG_SYSCALL_ENTRY’ undeclared 
(first use in this function); did you mean ‘PTRACE_EVENT_CLONE’?
      EXPECT_EQ(entry ? PTRACE_EVENTMSG_SYSCALL_ENTRY
      ^
      ../kselftest_harness.h:608:13: note: in definition of macro ‘__EXPECT’
      __typeof__(_expected) __exp = (_expected); \
      ^~~~~~~~~
      seccomp_bpf.c:1787:2: note: in expansion of macro ‘EXPECT_EQ’
      EXPECT_EQ(entry ? PTRACE_EVENTMSG_SYSCALL_ENTRY
      ^~~~~~~~~
      seccomp_bpf.c:1787:20: note: each undeclared identifier is reported only 
once for each function it appears in
      EXPECT_EQ(entry ? PTRACE_EVENTMSG_SYSCALL_ENTRY
      ^
      ../kselftest_harness.h:608:13: note: in definition of macro ‘__EXPECT’
      __typeof__(_expected) __exp = (_expected); \
      ^~~~~~~~~
      seccomp_bpf.c:1787:2: note: in expansion of macro ‘EXPECT_EQ’
      EXPECT_EQ(entry ? PTRACE_EVENTMSG_SYSCALL_ENTRY
      ^~~~~~~~~
        seccomp_bpf.c:1788:6: error: ‘PTRACE_EVENTMSG_SYSCALL_EXIT’ undeclared 
(first use in this function); did you mean ‘PTRACE_EVENTMSG_SYSCALL_ENTRY’?
        : PTRACE_EVENTMSG_SYSCALL_EXIT, msg);
        ^
        ../kselftest_harness.h:608:13: note: in definition of macro ‘__EXPECT’
        __typeof__(_expected) __exp = (_expected); \
        ^~~~~~~~~
        seccomp_bpf.c:1787:2: note: in expansion of macro ‘EXPECT_EQ’
        EXPECT_EQ(entry ? PTRACE_EVENTMSG_SYSCALL_ENTRY
        ^~~~~~~~~
        make[1]: *** [seccomp_bpf] Error 1
        make: *** [all] Error 2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1845856/+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