diff -Nru sysdig-0.27.1/debian/changelog sysdig-0.27.1/debian/changelog --- sysdig-0.27.1/debian/changelog 2023-01-17 15:14:05.000000000 +0000 +++ sysdig-0.27.1/debian/changelog 2023-06-21 15:33:49.000000000 +0000 @@ -1,3 +1,10 @@ +sysdig (0.27.1-0.3ubuntu0.2) jammy; urgency=medium + + * Support linux 6.2 (LP: #2024591): + - debian/patches/support-linux-6.2.patch + + -- Andrea Righi Wed, 21 Jun 2023 15:33:49 +0000 + sysdig (0.27.1-0.3ubuntu0.1) jammy; urgency=medium * Support linux 5.19 (LP: #1982490): diff -Nru sysdig-0.27.1/debian/patches/series sysdig-0.27.1/debian/patches/series --- sysdig-0.27.1/debian/patches/series 2023-01-17 15:14:05.000000000 +0000 +++ sysdig-0.27.1/debian/patches/series 2023-06-21 15:33:49.000000000 +0000 @@ -3,3 +3,4 @@ 0001-UBUNTU-SAUCE-armhf-fix-64bit-mod-by-using-div64_u64_.patch curses-fix-Werror-format-security-no-format-arguments.patch fix-kmod-build-on-5.18.patch +support-linux-6.2.patch diff -Nru sysdig-0.27.1/debian/patches/support-linux-6.2.patch sysdig-0.27.1/debian/patches/support-linux-6.2.patch --- sysdig-0.27.1/debian/patches/support-linux-6.2.patch 1970-01-01 00:00:00.000000000 +0000 +++ sysdig-0.27.1/debian/patches/support-linux-6.2.patch 2023-06-21 15:33:49.000000000 +0000 @@ -0,0 +1,18 @@ +Subject: support linux 6.2 ABI +Author: Andrea Righi + +Index: sysdig-0.27.1/driver/main.c +=================================================================== +--- sysdig-0.27.1.orig/driver/main.c ++++ sysdig-0.27.1/driver/main.c +@@ -2336,7 +2336,9 @@ static int get_tracepoint_handles(void) + #endif + + #if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 20) +-#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 3, 0) ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 2, 0) ++static char *ppm_devnode(const struct device *dev, umode_t *mode) ++#elif LINUX_VERSION_CODE >= KERNEL_VERSION(3, 3, 0) + static char *ppm_devnode(struct device *dev, umode_t *mode) + #else + static char *ppm_devnode(struct device *dev, mode_t *mode)