** Description changed: + [Impact] + Building this module against the new linux-hwe-5.8 returns the following error: /var/lib/dkms/lime-forensics/1.9-1/build/tcp.c: In function ‘setup_tcp’: /var/lib/dkms/lime-forensics/1.9-1/build/tcp.c:82:9: error: implicit declaration of function ‘kernel_setsockopt’; did you mean ‘kernel_getsockname’? [-Werror=implicit-function-declaration] - 82 | r = kernel_setsockopt(control, SOL_SOCKET, SO_REUSEADDR, (char *)&opt, sizeof (opt)); - | ^~~~~~~~~~~~~~~~~ - | kernel_getsockname + 82 | r = kernel_setsockopt(control, SOL_SOCKET, SO_REUSEADDR, (char *)&opt, sizeof (opt)); + | ^~~~~~~~~~~~~~~~~ + | kernel_getsockname + + [Test case] + + $ sudo apt install lime-forensics-dkms + + Build error(s) is(are) reported in make.log. + + [Fix] + + Fix by importing a patch from the same dkms module in groovy to use + sock_set_reuseaddr() with kernel 5.8 (and keep using kernel_setsockopt() + with kernels < 5.8). + + [Regression potential] + + The source code for the 5.4 kernel remains the same, so there is no + regression potential. The new changes are all conditionals and they are + all applied to the 5.8 kernel.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1899742 Title: lime-forensics-dkms: build error in focal with new kernel linux- hwe.5.8 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lime-forensics/+bug/1899742/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
