summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2018-11-25 14:37:54 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2018-11-25 14:37:54 +0000
commit196a2a0bd4ae61f2c46b57a6c4ad31bb19c55db7 (patch)
tree1b6bdb6d69975db2b8ae4cbb2a093f8d1bfee160 /usr.sbin
parent7bb3bf2a437e913829dc5f9542219a5e770adfd5 (diff)
flock was needed by delivery_filename which was moved to the standalone MDA
mail.mboxfile, remove pledge from parent process diff from Edgar Pettijohn III <edgar@pettijohn-web.com>
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/smtpd/smtpd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/smtpd.c b/usr.sbin/smtpd/smtpd.c
index 061f49bdc77..66527dae21b 100644
--- a/usr.sbin/smtpd/smtpd.c
+++ b/usr.sbin/smtpd/smtpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpd.c,v 1.306 2018/11/16 20:55:59 eric Exp $ */
+/* $OpenBSD: smtpd.c,v 1.307 2018/11/25 14:37:53 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
@@ -1070,7 +1070,7 @@ smtpd(void) {
purge_task();
- if (pledge("stdio rpath wpath cpath fattr flock tmppath "
+ if (pledge("stdio rpath wpath cpath fattr tmppath "
"getpw sendfd proc exec id inet unix", NULL) == -1)
err(1, "pledge");