aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/receive.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-08-12 00:28:28 -0700
committerJason A. Donenfeld <Jason@zx2c4.com>2018-08-12 00:28:28 -0700
commit1f06ed858886a63b7b38e18515df667a9758f4f8 (patch)
tree9d1e33880cf04e9600e07b533f5917843e6e4a7f /src/receive.c
parentversion: bump snapshot (diff)
downloadwireguard-monolithic-historical-1f06ed858886a63b7b38e18515df667a9758f4f8.tar.xz
wireguard-monolithic-historical-1f06ed858886a63b7b38e18515df667a9758f4f8.zip
wg-quick: darwin: prefer system paths for tools
The only things wg-quick(8) needs from Homebrew are bash(1) and wg(8). Other than that, it's explicitly coded against the native system utilities. Since wg-quick(8) and bash(1) are invoked in auto_su by their full absolute path (via $SELF and $BASH, respectively), we can simply set the $PATH to be prefixed by the default system binary paths. This way, if users install tools that conflict with system tools -- such as GNU coreutils -- we won't accidently call those. Reported-by: Deirdre Connolly <durumcrustulum@gmail.com>
Diffstat (limited to 'src/receive.c')
0 files changed, 0 insertions, 0 deletions