summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2015-11-30 22:22:27 +0000
committerderaadt <deraadt@openbsd.org>2015-11-30 22:22:27 +0000
commit5bc30dfae206a485bd89aabb1e94defbaf4183fb (patch)
tree2dee808dcafbac49e507eb166a047e74edd346fd
parentSort includes. (diff)
downloadwireguard-openbsd-5bc30dfae206a485bd89aabb1e94defbaf4183fb.tar.xz
wireguard-openbsd-5bc30dfae206a485bd89aabb1e94defbaf4183fb.zip
pledge regression: some operations appear to want to getpwent from
spwd, then apply to a new password database. This runs into issues also with the new shadow routines. Needs to be looked at more, but for now remove pledge to make the shadow issues easier to figure out..
-rw-r--r--usr.sbin/user/main.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.sbin/user/main.c b/usr.sbin/user/main.c
index 4c0cd9f8a6c..e99db49e961 100644
--- a/usr.sbin/user/main.c
+++ b/usr.sbin/user/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.8 2015/11/15 23:14:21 deraadt Exp $ */
+/* $OpenBSD: main.c,v 1.9 2015/11/30 22:22:27 deraadt Exp $ */
/* $NetBSD: main.c,v 1.3 2002/07/09 10:34:16 tron Exp $ */
/*
@@ -80,10 +80,6 @@ main(int argc, char **argv)
int matched;
int i;
- if (pledge("stdio rpath wpath cpath fattr getpw flock id proc exec",
- NULL) == -1)
- err(1, "pledge");
-
for (cmdp = cmds ; cmdp->c_wc > 0 ; cmdp++) {
for (matched = i = 0 ; i < cmdp->c_wc && i < MaxCmdWords ; i++) {
if (argc > i) {