Public bug reported:

[ Impact ]

falcosecurity-scap-dkms does not compile from source in Noble with
kernel 6.11:

/var/lib/dkms/scap/0.15.1/build/main.c: In function ‘drop_nostate_event’:
/var/lib/dkms/scap/0.15.1/build/main.c:1653:22: error: implicit declaration of 
function ‘fd_is_open’; did you mean ‘finish_open’? 
[-Werror=implicit-function-declaration]
 1653 |                     !fd_is_open(close_fd, fdt)
      |                      ^~~~~~~~~~
      |                      finish_open

[ Test case ]

Install the latest linux-6.11 kernel on Noble:

$ sudo add-apt-repository ppa:canonical-kernel-team/ppa
$ sudo apt update
$ sudo apt install linux-image-6.11.0-12-generic \
                   linux-modules-6.11.0-12-generic \
                   linux-modules-extra-6.11.0-12-generic \
                   linux-headers-6.11.0-12-generic

Install falcosecurity-scap-dkms:

$ sudo apt install falcosecurity-scap-dkms

Load the module:

$ sudo modprobe scap

[ Fix ]

Patch the code to properly support the new linux 6.11 ABI.

[ Regression potential ]

A regression is unlikely due to the limited scope of the patch.

** Affects: falcosecurity-libs (Ubuntu)
     Importance: Undecided
     Assignee: Massimiliano Pellizzer (mpellizzer)
         Status: In Progress

** Affects: falcosecurity-libs (Ubuntu Noble)
     Importance: Undecided
         Status: In Progress

** Also affects: falcosecurity-libs (Ubuntu Noble)
   Importance: Undecided
       Status: New

** Changed in: falcosecurity-libs (Ubuntu Noble)
       Status: New => In Progress

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

Title:
  falcosecurity-scap-dkms FTBS in Noble with linux-6.11-hwe kernel

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/falcosecurity-libs/+bug/2091359/+subscriptions


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

Reply via email to