Loading
sysdig: Include driver patch to fix compilation on Linux 6.2
On nixos-unstable with the latest kernel (6.2.0), I'm seeing sysdig
fail to compile:
/build/source/build/driver/src/main.c:2788:30: error: assignment to 'char * (*)(const struct device *, umode_t *)' {aka 'char * (*)(const struct device *, short unsigned int *)'} from incompatible pointer type 'char * (*)(struct device *, umode_t *)' {aka 'char * (*)(struct device *, short unsigned int *)'} [-Werror=incompatible-pointer-types]
2788 | g_ppm_class->devnode = ppm_devnode;
| ^
/build/libs/userspace/libscap/scap_procs.c: In function 'scap_os_getpid_global':
This has already been fixed upstream, this just cherry-picks that fix.