artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f01a84e
)
pledge+=flock, for /var/run/ypbind.lock. ok semarie@
author
miod
<miod@openbsd.org>
Sun, 18 Oct 2015 17:20:49 +0000
(17:20 +0000)
committer
miod
<miod@openbsd.org>
Sun, 18 Oct 2015 17:20:49 +0000
(17:20 +0000)
usr.bin/ypcat/ypcat.c
patch
|
blob
|
history
diff --git
a/usr.bin/ypcat/ypcat.c
b/usr.bin/ypcat/ypcat.c
index
a87f436
..
2198542
100644
(file)
--- a/
usr.bin/ypcat/ypcat.c
+++ b/
usr.bin/ypcat/ypcat.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: ypcat.c,v 1.1
7 2015/10/10 21:08:09 deraadt
Exp $ */
+/* $OpenBSD: ypcat.c,v 1.1
8 2015/10/18 17:20:49 miod
Exp $ */
/*
* Copyright (c) 1992, 1993, 1996 Theo de Raadt <deraadt@theos.com>
@@
-88,7
+88,7
@@
main(int argc, char *argv[])
extern int optind;
int notrans, c, r, i;
- if (pledge("stdio rpath inet", NULL) == -1)
+ if (pledge("stdio rpath inet
flock
", NULL) == -1)
perror("pledge");
notrans = key = 0;