From: gilles Date: Thu, 22 Oct 2015 08:46:31 +0000 (+0000) Subject: delivery to maildir needs pledge fattr X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=eb4f117e471cab72abef7386e0bc4be1522945ad;p=openbsd delivery to maildir needs pledge fattr from Gregor Best --- diff --git a/usr.sbin/smtpd/smtpd.c b/usr.sbin/smtpd/smtpd.c index c9430a7f6ae..3bf4dc9bf4f 100644 --- a/usr.sbin/smtpd/smtpd.c +++ b/usr.sbin/smtpd/smtpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: smtpd.c,v 1.250 2015/10/17 16:03:20 sunil Exp $ */ +/* $OpenBSD: smtpd.c,v 1.251 2015/10/22 08:46:31 gilles Exp $ */ /* * Copyright (c) 2008 Gilles Chehade @@ -690,7 +690,7 @@ main(int argc, char *argv[]) purge_task(); - if (pledge("stdio rpath wpath cpath flock tmppath " + if (pledge("stdio rpath wpath cpath fattr flock tmppath " "getpw sendfd proc exec id inet unix", NULL) == -1) err(1, "pledge");