sysdig (0.27.1-0.2ubuntu1) impish; urgency=medium

  * Fix syscall table base ID on arm64 (LP: #1945757)

 -- Andrea Righi <andrea.ri...@canonical.com>  Fri, 01 Oct 2021 11:20:07
+0200

** Package changed: linux-oem-5.6 (Ubuntu) => sysdig (Ubuntu)

** Changed in: sysdig (Ubuntu Impish)
       Status: Fix Committed => Fix Released

** Changed in: sysdig (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1945757

Title:
  sysdig-dkms fails to build on arm64 - kernel 5.13

Status in sysdig package in Ubuntu:
  Fix Released
Status in sysdig source package in Impish:
  Fix Released

Bug description:
  [Impact]

  sysdig-dkms fails to build on arm64 with the latest impish kernel
  (5.13):

  /var/lib/dkms/sysdig/0.27.1/build/main.c:1942:28: error: ‘SYSCALL_TABLE_ID0’ 
undeclared (first use in this function); did you mean ‘SYSCALL_TABLE_SIZE’?
   1942 |         table_index = id - SYSCALL_TABLE_ID0;
        |                            ^~~~~~~~~~~~~~~~~
        |                            SYSCALL_TABLE_SIZE
  /var/lib/dkms/sysdig/0.27.1/build/main.c:1942:28: note: each undeclared 
identifier is reported only once for each function it appears in
  /var/lib/dkms/sysdig/0.27.1/build/main.c: In function ‘syscall_exit_probe’:
  /var/lib/dkms/sysdig/0.27.1/build/main.c:2019:28: error: ‘SYSCALL_TABLE_ID0’ 
undeclared (first use in this function); did you mean ‘SYSCALL_TABLE_SIZE’?
   2019 |         table_index = id - SYSCALL_TABLE_ID0;
        |                            ^~~~~~~~~~~~~~~~~
        |                            SYSCALL_TABLE_SIZE

  [Test case]

  $ sudo apt install sysdig-dkms

  [Fix]

  SYSCALL_TABLE_ID0 needs to be properly defined for arm64.

  [Where problems could occur]

  If the syscall table base ID changes on arm64 we may experience kernel
  panics due to memory access violations or sysdig may report incorrect
  result.

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