From 2abf2a6a79459694c41b1198cb9ad48810206f64 Mon Sep 17 00:00:00 2001 From: Louis Bergelson Date: Tue, 28 Nov 2017 17:34:16 -0500 Subject: [PATCH 1/2] whitelisting additional SentinelOne dylib pattern it seems like SentinelOne is now using dylibs that include a number, possibly randomized in some way this causes brew doctor to give a warning, but it should probably be ignored like the previous versions of the sentinel dylib updating diagnostic.rb to include a new pattern to ignore dylibs of the form sentinel-*.dylib --- Library/Homebrew/diagnostic.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/Homebrew/diagnostic.rb b/Library/Homebrew/diagnostic.rb index e1b1bb8ee8..61f9b53a35 100644 --- a/Library/Homebrew/diagnostic.rb +++ b/Library/Homebrew/diagnostic.rb @@ -180,6 +180,7 @@ module Homebrew "libecomlodr.dylib", # Symantec Endpoint Protection "libsymsea*.dylib", # Symantec Endpoint Protection "sentinel.dylib", # SentinelOne + "sentinel-*.dylib", # SentinelOne ] __check_stray_files "/usr/local/lib", "*.dylib", white_list, <<~EOS From 9d98f1a8ab35f2222b0f686ae519f68150a4b545 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Wed, 29 Nov 2017 00:30:29 +0100 Subject: [PATCH 2/2] Whitelist `SUDO_ASKPASS` environment variable. --- bin/brew | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/brew b/bin/brew index 402b438a25..02c0697c10 100755 --- a/bin/brew +++ b/bin/brew @@ -88,7 +88,7 @@ then PATH="/usr/bin:/bin:/usr/sbin:/sbin" FILTERED_ENV=() - for VAR in HOME SHELL PATH TERM LOGNAME USER CI TRAVIS http_proxy \ + for VAR in HOME SHELL PATH TERM LOGNAME USER CI TRAVIS SUDO_ASKPASS http_proxy \ "${!HOMEBREW_@}" "${!TRAVIS_@}" "${!JENKINS_@}" do # Skip if variable value is empty.