artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f35896
)
Plegde x99token with "stdio rpath wpath cpath fattr getpw tty".
author
bluhm
<bluhm@openbsd.org>
Thu, 15 Oct 2015 17:23:09 +0000
(17:23 +0000)
committer
bluhm
<bluhm@openbsd.org>
Thu, 15 Oct 2015 17:23:09 +0000
(17:23 +0000)
with and OK deraadt@
usr.bin/x99token/x99token.c
patch
|
blob
|
history
diff --git
a/usr.bin/x99token/x99token.c
b/usr.bin/x99token/x99token.c
index
533fa79
..
eb5f68f
100644
(file)
--- a/
usr.bin/x99token/x99token.c
+++ b/
usr.bin/x99token/x99token.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: x99token.c,v 1.1
0 2015/01/16 06:40:14 deraadt Exp $
*/
+/* $OpenBSD: x99token.c,v 1.1
1 2015/10/15 17:23:09 bluhm Exp $
*/
/*
* X9.9 calculator
@@
-46,6
+46,9
@@
main(int argc, char **argv)
unsigned int pin;
struct passwd *pwd;
+ if (pledge("stdio rpath wpath cpath fattr getpw tty", NULL) == -1)
+ err(1, "pledge");
+
while ((i = getopt(argc, argv, "dk:in:")) != -1) {
switch (i) {
case 'k':