artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a244d0
)
pledge "stdio rpath wpath cpath"
author
deraadt
<deraadt@openbsd.org>
Sat, 10 Oct 2015 19:11:04 +0000
(19:11 +0000)
committer
deraadt
<deraadt@openbsd.org>
Sat, 10 Oct 2015 19:11:04 +0000
(19:11 +0000)
ok doug
usr.bin/spell/spellprog.c
patch
|
blob
|
history
diff --git
a/usr.bin/spell/spellprog.c
b/usr.bin/spell/spellprog.c
index
00bd131
..
6cfda60
100644
(file)
--- a/
usr.bin/spell/spellprog.c
+++ b/
usr.bin/spell/spellprog.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: spellprog.c,v 1.1
1 2015/02/08 23:40:3
4 deraadt Exp $ */
+/* $OpenBSD: spellprog.c,v 1.1
2 2015/10/10 19:11:0
4 deraadt Exp $ */
/*
* Copyright (c) 1991, 1993
@@
-249,6
+249,9
@@
main(int argc, char **argv)
setlocale(LC_ALL, "");
+ if (pledge("stdio rpath wpath cpath", NULL) == -1)
+ err(1, "pledge");
+
outfile = NULL;
while ((ch = getopt(argc, argv, "bvxo:")) != -1) {
switch (ch) {