diff --git a/security/sandbox/linux/Sandbox.cpp b/security/sandbox/linux/Sandbox.cpp index e2a6ee9b3a79..6690059a07d9 100644 --- a/security/sandbox/linux/Sandbox.cpp +++ b/security/sandbox/linux/Sandbox.cpp @@ -253,7 +253,7 @@ static const sock_fprog* gSetSandboxFilter; static int FindFreeSignalNumber() { - for (int signum = SIGRTMIN; signum <= SIGRTMAX; ++signum) { + for (int signum = SIGRTMAX; signum >= SIGRTMIN; --signum) { struct sigaction sa; if (sigaction(signum, nullptr, &sa) == 0 &&