From dc392f53a258f4d66a68497b8ddf133bc3e65f98 Mon Sep 17 00:00:00 2001 From: Keith Seitz Date: Thu, 8 Jun 2023 13:07:39 -0700 Subject: [PATCH] libipt no longer requires initialization Since commit d701c95bb9f6db652ada625023bf8bdf54750365, this initialization patch has not been needed: commit d701c95bb9f6db652ada625023bf8bdf54750365 Author: Markus Metzger Date: Mon Jan 30 17:30:44 2017 +0100 libipt, init: remove library constructor Now that the instruction length decoder no longer needs initialization, we can remove the library's constructor. Change-Id: Ibaa43be9a8af6e4e4f3a78fd9c84b3589cf33e99 Signed-off-by: Markus Metzger I've verified that RHEL7 IPT still works. --- v1.5-libipt-static.patch | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 v1.5-libipt-static.patch diff --git a/v1.5-libipt-static.patch b/v1.5-libipt-static.patch deleted file mode 100644 index 69e1d1a..0000000 --- a/v1.5-libipt-static.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: processor-trace-2.0/libipt/src/posix/init.c -=================================================================== ---- processor-trace-2.0.orig/libipt/src/posix/init.c -+++ processor-trace-2.0/libipt/src/posix/init.c -@@ -29,7 +29,7 @@ - #include "pt_ild.h" - - --static void __attribute__((constructor)) init(void) -+void __libipt_init(void) - { - /* Initialize the Intel(R) Processor Trace instruction decoder. */ - pt_ild_init();