diff options
author | 2015-10-07 14:14:30 +0000 | |
---|---|---|
committer | 2015-10-07 14:14:30 +0000 | |
commit | 6b34d38326b4f9e99a71b2954ce0268edf3e2a2e (patch) | |
tree | 3d13679d2d3b27e032dc6c3dcf8235bec297a916 | |
parent | tame "stdio rpath", for the open with O_RDONLY. (diff) | |
download | wireguard-openbsd-6b34d38326b4f9e99a71b2954ce0268edf3e2a2e.tar.xz wireguard-openbsd-6b34d38326b4f9e99a71b2954ce0268edf3e2a2e.zip |
*** empty log message ***
-rw-r--r-- | usr.bin/make/main.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/make/main.c b/usr.bin/make/main.c index 9d67bfcf4da..50db891ce3c 100644 --- a/usr.bin/make/main.c +++ b/usr.bin/make/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.110 2015/02/07 18:52:35 jmc Exp $ */ +/* $OpenBSD: main.c,v 1.111 2015/10/07 14:14:30 deraadt Exp $ */ /* $NetBSD: main.c,v 1.34 1997/03/24 20:56:36 gwr Exp $ */ /* @@ -192,6 +192,9 @@ MainParseArgs(int argc, char **argv) #define OPTFLAGS "BC:D:I:SV:d:ef:ij:km:npqrst" #define OPTLETTERS "BSiknpqrst" + if (tame("stdio rpath wpath cpath proc exec", NULL) == -1) + err(1, "tame"); + optind = 1; /* since we're called more than once */ optreset = 1; optend = 0; |