diff -Nru libseccomp-2.5.3/debian/changelog libseccomp-2.5.3/debian/changelog --- libseccomp-2.5.3/debian/changelog 2022-03-17 19:27:18.000000000 +0000 +++ libseccomp-2.5.3/debian/changelog 2024-10-23 15:44:34.000000000 +0000 @@ -1,3 +1,11 @@ +libseccomp (2.5.3-2ubuntu2.1) jammy; urgency=medium + + * d/p/lp2059734-fix-fchmodat2-syscall-used-by-glibc-in-newer-containers.patch: + - Fix fchmodat2 syscall in containers that use a newer version of glibc + (LP: #2059734) + + -- Ghadi Elie Rahme Wed, 23 Oct 2024 15:44:34 +0000 + libseccomp (2.5.3-2ubuntu2) jammy; urgency=medium * No-change rebuild with Python 3.10 only diff -Nru libseccomp-2.5.3/debian/patches/lp2059734-fix-fchmodat2-syscall-used-by-glibc-in-newer-containers.patch libseccomp-2.5.3/debian/patches/lp2059734-fix-fchmodat2-syscall-used-by-glibc-in-newer-containers.patch --- libseccomp-2.5.3/debian/patches/lp2059734-fix-fchmodat2-syscall-used-by-glibc-in-newer-containers.patch 1970-01-01 00:00:00.000000000 +0000 +++ libseccomp-2.5.3/debian/patches/lp2059734-fix-fchmodat2-syscall-used-by-glibc-in-newer-containers.patch 2024-10-23 15:43:18.000000000 +0000 @@ -0,0 +1,39 @@ +From 53267af3fb56eed93a50b8ef92f41825c97a7813 Mon Sep 17 00:00:00 2001 +From: Paul Moore +Date: Fri, 5 May 2023 14:03:38 -0400 +Subject: [PATCH] all: update the syscall table for Linux v6.7-rc3 + +Signed-off-by: Paul Moore +Signed-off-by: Tom Hromatka +Origin: backport, https://github.com/seccomp/libseccomp/commit/53267af3fb56 +Bug-Ubuntu: https://bugs.launchpad.net/bugs/2059734 +--- + include/seccomp-syscalls.h | 2 ++ + src/syscalls.csv | 1 + + 2 files changed, 3 insertions(+), 0 deletions(-) + +Index: libseccomp-2.5.3/include/seccomp-syscalls.h +=================================================================== +--- libseccomp-2.5.3.orig/include/seccomp-syscalls.h ++++ libseccomp-2.5.3/include/seccomp-syscalls.h +@@ -595,6 +595,8 @@ + + #define __SNR_fchmodat __NR_fchmodat + ++#define __SNR_fchmodat2 __NR_fchmodat2 ++ + #ifdef __NR_fchown + #define __SNR_fchown __NR_fchown + #else +Index: libseccomp-2.5.3/src/syscalls.csv +=================================================================== +--- libseccomp-2.5.3.orig/src/syscalls.csv ++++ libseccomp-2.5.3/src/syscalls.csv +@@ -71,6 +71,7 @@ fanotify_mark,339,301,301,368,263,337,29 + fchdir,133,81,81,133,50,133,79,79,133,133,133,133,50,133,133 + fchmod,94,91,91,94,52,94,89,89,94,94,94,94,52,94,94 + fchmodat,306,268,268,333,53,299,258,262,286,286,297,297,53,299,299 ++fchmodat2,452,452,452,452,452,452,452,452,452,452,452,452,452,452,452 + fchown,95,93,93,95,55,95,91,91,95,95,95,95,55,95,207 + fchown32,207,PNR,PNR,207,PNR,PNR,PNR,PNR,PNR,PNR,PNR,PNR,PNR,207,PNR + fchownat,298,260,260,325,54,291,250,254,278,278,289,289,54,291,291 diff -Nru libseccomp-2.5.3/debian/patches/series libseccomp-2.5.3/debian/patches/series --- libseccomp-2.5.3/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ libseccomp-2.5.3/debian/patches/series 2024-10-22 13:50:50.000000000 +0000 @@ -0,0 +1 @@ +lp2059734-fix-fchmodat2-syscall-used-by-glibc-in-newer-containers.patch