diff options
author | 2018-11-25 14:37:53 +0000 | |
---|---|---|
committer | 2018-11-25 14:37:53 +0000 | |
commit | b384c3c328c7985896b382cc50a67519b8701ff4 (patch) | |
tree | cbcfdb6af906a4d39f8c2904aff2e98e346ec1aa | |
parent | teach mail.maildir how to junk SpamAssassin flagged spam (diff) | |
download | wireguard-openbsd-b384c3c328c7985896b382cc50a67519b8701ff4.tar.xz wireguard-openbsd-b384c3c328c7985896b382cc50a67519b8701ff4.zip |
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>
-rw-r--r-- | usr.sbin/smtpd/smtpd.c | 4 |
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"); |