From 8f3326616a54d9dc597d7d8576f73f3e23b1ef3e Mon Sep 17 00:00:00 2001 From: Tim Schumacher Date: Mon, 28 Mar 2022 21:36:35 +0200 Subject: [PATCH] Ports: Remove the OpenSSH prctl compatibility patch --- Ports/openssh/patches/prctl-hack.patch | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 Ports/openssh/patches/prctl-hack.patch diff --git a/Ports/openssh/patches/prctl-hack.patch b/Ports/openssh/patches/prctl-hack.patch deleted file mode 100644 index bf6cf5fb1cf..00000000000 --- a/Ports/openssh/patches/prctl-hack.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naur openssh-portable-9ca7e9c861775dd6c6312bc8aaab687403d24676/platform-tracing.c openssh-portable-9ca7e9c861775dd6c6312bc8aaab687403d24676.serenity/platform-tracing.c ---- openssh-portable-9ca7e9c861775dd6c6312bc8aaab687403d24676/platform-tracing.c 2020-05-27 02:38:00.000000000 +0200 -+++ openssh-portable-9ca7e9c861775dd6c6312bc8aaab687403d24676.serenity/platform-tracing.c 2021-04-12 13:45:38.662816561 +0200 -@@ -35,7 +35,7 @@ - { - #if defined(HAVE_PRCTL) && defined(PR_SET_DUMPABLE) - /* Disable ptrace on Linux without sgid bit */ -- if (prctl(PR_SET_DUMPABLE, 0) != 0 && strict) -+ if (prctl(PR_SET_DUMPABLE, 0, 0) != 0 && strict) - fatal("unable to make the process undumpable"); - #endif - #if defined(HAVE_SETPFLAGS) && defined(__PROC_PROTECT)