amneziawg-tools/src
Jason A. Donenfeld ffcc09358e 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>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-08-12 00:28:28 -07:00
..
completion wg-quick: better bash completion for non-renaming OSes 2018-05-23 15:24:07 +02:00
man manpages: eliminate whitespace at the end of the line 2018-06-22 04:09:39 +02:00
systemd wg: reorganize for multiplatform wg-quick 2018-05-14 18:18:40 +02:00
wg-quick wg-quick: darwin: prefer system paths for tools 2018-08-12 00:28:28 -07:00
config.c wg: fix misspelling of strchrnul in comment 2018-06-22 04:09:39 +02:00
config.h global: year bump 2018-01-03 21:58:00 +01:00
containers.h wg: fix OpenBSD build 2018-05-22 16:41:59 +02:00
curve25519.c global: in gnu code, use un-underscored asm 2018-03-02 16:42:29 +01:00
curve25519.h global: year bump 2018-01-03 21:58:00 +01:00
encoding.c wg: encoding: add missing static array constraints 2018-06-06 00:05:58 +02:00
encoding.h global: year bump 2018-01-03 21:58:00 +01:00
genkey.c wg: getentropy requires 10.12 2018-06-14 05:25:23 +02:00
INSTALL wg: add installation note for distros 2017-01-05 19:41:23 +01:00
ipc.c wg: fix OpenBSD build 2018-05-22 16:41:59 +02:00
ipc.h global: year bump 2018-01-03 21:58:00 +01:00
Makefile wg: always pass -v as first argument to install 2018-05-23 05:23:59 +02:00
mnlg.c global: year bump 2018-01-03 21:58:00 +01:00
mnlg.h global: year bump 2018-01-03 21:58:00 +01:00
pubkey.c global: year bump 2018-01-03 21:58:00 +01:00
set.c wg: fix errno propagation and messages 2018-05-18 19:51:51 +02:00
setconf.c wg: fix errno propagation and messages 2018-05-18 19:51:51 +02:00
show.c wg: only error on wg show if all interfaces fail 2018-07-08 22:38:34 +02:00
showconf.c wg: fix OpenBSD build 2018-05-22 16:41:59 +02:00
subcommands.h global: year bump 2018-01-03 21:58:00 +01:00
terminal.c global: year bump 2018-01-03 21:58:00 +01:00
terminal.h global: year bump 2018-01-03 21:58:00 +01:00
wg.c global: year bump 2018-01-03 21:58:00 +01:00