From c208eed31c8e7ec9ab33c9dc14782b4f1589ca08 Mon Sep 17 00:00:00 2001 From: Michael Mair-Keimberger Date: Wed, 25 Mar 2026 06:48:52 +0100 Subject: [PATCH] app-containers/lxc: remove unused patch Signed-off-by: Michael Mair-Keimberger --- ...Re-introduce-first-SET_DUMPABLE-call.patch | 34 ------------------- 1 file changed, 34 deletions(-) delete mode 100644 app-containers/lxc/files/lxc-6.0.4-start-Re-introduce-first-SET_DUMPABLE-call.patch diff --git a/app-containers/lxc/files/lxc-6.0.4-start-Re-introduce-first-SET_DUMPABLE-call.patch b/app-containers/lxc/files/lxc-6.0.4-start-Re-introduce-first-SET_DUMPABLE-call.patch deleted file mode 100644 index 59475cf710390..0000000000000 --- a/app-containers/lxc/files/lxc-6.0.4-start-Re-introduce-first-SET_DUMPABLE-call.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 2663712e8fa8f37e0bb873185e2d4526dc644764 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?St=C3=A9phane=20Graber?= -Date: Sat, 5 Apr 2025 01:11:18 -0400 -Subject: [PATCH] start: Re-introduce first SET_DUMPABLE call -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Without it, we're running into issues with complex hooks like nvidia. - -Signed-off-by: Stéphane Graber ---- - src/lxc/start.c | 5 +++++ - 1 file changed, 5 insertions(+) - -diff --git a/src/lxc/start.c b/src/lxc/start.c -index f28bceaba..ee4bf4003 100644 ---- a/src/lxc/start.c -+++ b/src/lxc/start.c -@@ -1125,6 +1125,11 @@ static int do_start(void *data) - if (!lxc_switch_uid_gid(nsuid, nsgid)) - goto out_warn_father; - -+ ret = prctl(PR_SET_DUMPABLE, prctl_arg(1), prctl_arg(0), -+ prctl_arg(0), prctl_arg(0)); -+ if (ret < 0) -+ goto out_warn_father; -+ - /* set{g,u}id() clears deathsignal */ - ret = lxc_set_death_signal(SIGKILL, handler->monitor_pid, status_fd); - if (ret < 0) { --- -2.48.1 -