diff -Nru sysdig-0.27.1/debian/changelog sysdig-0.27.1/debian/changelog --- sysdig-0.27.1/debian/changelog 2021-03-08 04:55:11.000000000 +0000 +++ sysdig-0.27.1/debian/changelog 2021-10-01 09:20:07.000000000 +0000 @@ -1,3 +1,9 @@ +sysdig (0.27.1-0.2ubuntu1) impish; urgency=medium + + * Fix syscall table base ID on arm64 (LP: #1945757) + + -- Andrea Righi Fri, 01 Oct 2021 11:20:07 +0200 + sysdig (0.27.1-0.2) unstable; urgency=medium * Non-maintainer upload diff -Nru sysdig-0.27.1/debian/control sysdig-0.27.1/debian/control --- sysdig-0.27.1/debian/control 2021-01-31 01:54:33.000000000 +0000 +++ sysdig-0.27.1/debian/control 2021-10-01 09:20:07.000000000 +0000 @@ -1,7 +1,8 @@ Source: sysdig Section: admin Priority: optional -Maintainer: Evgeni Golov +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Evgeni Golov Uploaders: Harlan Lieberman-Berg Build-Depends: cmake, debhelper-compat (= 13), diff -Nru sysdig-0.27.1/debian/patches/0002-define-syscall-id0-for-arm64.patch sysdig-0.27.1/debian/patches/0002-define-syscall-id0-for-arm64.patch --- sysdig-0.27.1/debian/patches/0002-define-syscall-id0-for-arm64.patch 1970-01-01 00:00:00.000000000 +0000 +++ sysdig-0.27.1/debian/patches/0002-define-syscall-id0-for-arm64.patch 2021-10-01 09:20:07.000000000 +0000 @@ -0,0 +1,16 @@ +From: Andrea Righi +Subject: Define syscall base ID on arm64 +Bug: https://bugs.launchpad.net/bugs/1945757 + +diff -urpN sysdig-0.27.1.orig/driver/ppm.h sysdig-0.27.1/driver/ppm.h +--- sysdig-0.27.1.orig/driver/ppm.h 2020-09-30 16:21:52.000000000 +0200 ++++ sysdig-0.27.1/driver/ppm.h 2021-10-01 11:12:21.865507536 +0200 +@@ -110,7 +110,7 @@ long ppm_strncpy_from_user(char *to, con + #define SYSCALL_TABLE_ID0 __NR_Linux + #elif defined CONFIG_ARM + #define SYSCALL_TABLE_ID0 __NR_SYSCALL_BASE +-#elif defined CONFIG_X86 || defined CONFIG_SUPERH ++#elif defined CONFIG_X86 || defined CONFIG_SUPERH || CONFIG_ARM64 + #define SYSCALL_TABLE_ID0 0 + #elif defined CONFIG_PPC64 + #define SYSCALL_TABLE_ID0 0 diff -Nru sysdig-0.27.1/debian/patches/series sysdig-0.27.1/debian/patches/series --- sysdig-0.27.1/debian/patches/series 2021-03-07 23:40:18.000000000 +0000 +++ sysdig-0.27.1/debian/patches/series 2021-10-01 09:20:07.000000000 +0000 @@ -1,3 +1,4 @@ fix-arm64-ftbfs.patch fix-luajit.patch 0001-UBUNTU-SAUCE-armhf-fix-64bit-mod-by-using-div64_u64_.patch +0002-define-syscall-id0-for-arm64.patch