From 6099dd42a317238650642f8631c9bff945388ec1 Mon Sep 17 00:00:00 2001 From: michalbiesek Date: Mon, 10 Jul 2023 11:29:51 +0200 Subject: [PATCH] Move further --- src/wrap.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/wrap.c b/src/wrap.c index b697b2532..ae572b8cb 100644 --- a/src/wrap.c +++ b/src/wrap.c @@ -2029,11 +2029,6 @@ init(void) // contents of a rules file, env vars, scope.yml, etc. settings_t settings = getSettings(attachedFlag); - // Stop further processing if the process is on deny list - if ((settings.isActive == FALSE) && (doImplicitDeny() == FALSE)) { - return; - } - // on aarch64, the crypto subsystem installs handlers for SIGILL // (contrib/openssl/crypto/armcap.c) to determine which version of // ARM processor we're on. Do this before enableSnapshot() below. @@ -2059,6 +2054,11 @@ init(void) // of whether TLS is actually configured on any transport. transportRegisterForExitNotification(handleExit); + // Stop further processing if the process is on deny list + if ((settings.isActive == FALSE) && (doImplicitDeny() == FALSE)) { + return; + } + initHook(attachedFlag, settings.isActive, ebuf, full_path); /*