artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1786e3c
)
lock needs pledge(proc exec) to use bsd auth system. from trondd
author
tedu
<tedu@openbsd.org>
Thu, 15 Oct 2015 02:35:04 +0000
(
02:35
+0000)
committer
tedu
<tedu@openbsd.org>
Thu, 15 Oct 2015 02:35:04 +0000
(
02:35
+0000)
usr.bin/lock/lock.c
patch
|
blob
|
history
diff --git
a/usr.bin/lock/lock.c
b/usr.bin/lock/lock.c
index
9c74e87
..
994cdee
100644
(file)
--- a/
usr.bin/lock/lock.c
+++ b/
usr.bin/lock/lock.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: lock.c,v 1.3
1 2015/10/10 20:35:01 deraadt Exp $
*/
+/* $OpenBSD: lock.c,v 1.3
2 2015/10/15 02:35:04 tedu Exp $
*/
/* $NetBSD: lock.c,v 1.8 1996/05/07 18:32:31 jtc Exp $ */
/*
@@
-90,7
+90,7
@@
main(int argc, char *argv[])
usemine = 0;
no_timeout = 0;
- if (pledge("stdio rpath wpath getpw tty", NULL) == -1)
+ if (pledge("stdio rpath wpath getpw tty
proc exec
", NULL) == -1)
err(1, "pledge");
if (!(pw = getpwuid(getuid())))