Public bug reported:

[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.

** Affects: linux-oem-5.6 (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: linux-oem-5.6 (Ubuntu Impish)
     Importance: Undecided
         Status: New

** Also affects: linux-oem-5.6 (Ubuntu Impish)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1945757

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-oem-5.6/+bug/1945757/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to