diff options
author | 2015-10-05 23:42:40 +0000 | |
---|---|---|
committer | 2015-10-05 23:42:40 +0000 | |
commit | 5175e0847dff1fd11700a0c8879717f882ca589a (patch) | |
tree | e00f06eb830f19438e92162934d2f6940343c2e7 | |
parent | Remove EXTERN from lex.h and put the definitions in lex.c, from Michael (diff) | |
download | wireguard-openbsd-5175e0847dff1fd11700a0c8879717f882ca589a.tar.xz wireguard-openbsd-5175e0847dff1fd11700a0c8879717f882ca589a.zip |
tame "stdio rpath wpath cpath", because this program reads and creates
files, using stdio. It does nothing else.
-rw-r--r-- | usr.bin/indent/indent.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/indent/indent.c b/usr.bin/indent/indent.c index d7e10329c9d..fac42540636 100644 --- a/usr.bin/indent/indent.c +++ b/usr.bin/indent/indent.c @@ -1,4 +1,4 @@ -/* $OpenBSD: indent.c,v 1.27 2015/08/20 22:32:41 deraadt Exp $ */ +/* $OpenBSD: indent.c,v 1.28 2015/10/05 23:42:40 deraadt Exp $ */ /* * Copyright (c) 1980, 1993 @@ -78,6 +78,8 @@ main(int argc, char **argv) int last_else = 0; /* true iff last keyword was an else */ + if (tame("stdio rpath wpath cpath", NULL) == -1) + err(1, "tame"); /*-----------------------------------------------*\ | INITIALIZATION | |