Skip to content

Commit

Permalink
Move further
Browse files Browse the repository at this point in the history
  • Loading branch information
michalbiesek committed Jul 10, 2023
1 parent 56a746b commit 6099dd4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/wrap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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);

/*
Expand Down

0 comments on commit 6099dd4

Please sign in to comment.