falcosecurity-scap-dkms-* FTBS with Linux 6.8

Bug #2058670 reported by Paolo Pisati
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
falcosecurity-libs (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

[Impact]

...
/var/lib/dkms/scap/0.14.1/build/ppm_events.c: In function ‘val_to_ring’:
/var/lib/dkms/scap/0.14.1/build/ppm_events.c:652:36: error: implicit declaration of function ‘strlcpy’; did you mean ‘strscpy’? [-Werror=implicit-function-declaration]
  652 | len = (int)strlcpy(args->buffer + args->arg_data_offset,
      | ^~~~~~~
      | strscpy
...

[Fix]

Apply the attached fix.

[How to test]

Install the patched package (and check it builds fine).

[Regression potential]

None: the change is really trivial (s/strclpy/strscpy/g).

Tags: patch
Revision history for this message
Paolo Pisati (p-pisati) wrote :
tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package falcosecurity-libs - 0.14.1-5.1ubuntu3

---------------
falcosecurity-libs (0.14.1-5.1ubuntu3) noble; urgency=medium

  * debian/patches/linux-6.8-s-strlcpy-strscpy-g.patch:
    - Linux 6.8: fix FTBFS (LP: #2058670)

 -- Paolo Pisati <email address hidden> Thu, 21 Mar 2024 15:53:57 +0000

Changed in falcosecurity-libs (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.