Public bug reported:

[Impact]

falcosecurity-scap-dkms does not compile from source in Plucky with
kernel 6.14:

ppm_events.c: In function ‘ppm_copy_from_user’:
ppm_events.c:91:54: error: macro "access_ok" passed 3 arguments, but takes just 
2
   91 |         if(likely(ppm_access_ok(VERIFY_READ, from, n)))
      |                                                      ^
In file included from 
/usr/src/linux-headers-6.14.0-5-generic/arch/x86/include/asm/uaccess.h:25,
                 from 
/usr/src/linux-headers-6.14.0-5-generic/include/linux/uaccess.h:12,
                 from 
/usr/src/linux-headers-6.14.0-5-generic/include/linux/sched/task.h:13,
                 from 
/usr/src/linux-headers-6.14.0-5-generic/include/linux/sched/signal.h:9,
                 from 
/usr/src/linux-headers-6.14.0-5-generic/include/linux/rcuwait.h:6,
                 from 
/usr/src/linux-headers-6.14.0-5-generic/include/linux/percpu-rwsem.h:7,
                 from 
/usr/src/linux-headers-6.14.0-5-generic/include/linux/fs.h:33,
                 from 
/usr/src/linux-headers-6.14.0-5-generic/include/linux/compat.h:17,
                 from ppm_events.c:13:
/usr/src/linux-headers-6.14.0-5-generic/include/asm-generic/access_ok.h:45:9: 
note: macro "access_ok" defined here
   45 | #define access_ok(addr, size) likely(__access_ok(addr, size))
      |         ^~~~~~~~~

[ Test case ]

Verify that Plucky is running on 6.14 kernel:
$ uname -r
6.14.0-X-generic

Install falcosecurity-scap-dkms:

$ sudo apt install falcosecurity-scap-dkms

Load the module:

$ sudo modprobe scap

[Fix]

Patch the code to properly support Linux 6.14.

** Affects: falcosecurity-libs (Ubuntu)
     Importance: Undecided
     Assignee: Massimiliano Pellizzer (mpellizzer)
         Status: 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/2100930

Title:
  falcosecurity-scap-dkms FTBFS in Plucky with 6.14 kernel

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


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

Reply via email to