artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81748d5
)
simple tame "stdio rpath"
author
deraadt
<deraadt@openbsd.org>
Tue, 6 Oct 2015 13:47:08 +0000
(13:47 +0000)
committer
deraadt
<deraadt@openbsd.org>
Tue, 6 Oct 2015 13:47:08 +0000
(13:47 +0000)
usr.bin/what/what.c
patch
|
blob
|
history
diff --git
a/usr.bin/what/what.c
b/usr.bin/what/what.c
index
0bad985
..
7442b26
100644
(file)
--- a/
usr.bin/what/what.c
+++ b/
usr.bin/what/what.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: what.c,v 1.1
3 2015/01/22 19:10:17 krw Exp $
*/
+/* $OpenBSD: what.c,v 1.1
4 2015/10/06 13:47:08 deraadt Exp $
*/
/* $NetBSD: what.c,v 1.4 1994/12/20 16:01:03 jtc Exp $ */
/*
@@
-58,6
+58,9
@@
main(int argc, char *argv[])
char match[256];
int c;
+ if (tame("stdio rpath", NULL) == -1)
+ err(1, "tame");
+
matches = sflag = 0;
while ((c = getopt(argc, argv, "s")) != -1) {
switch (c) {