indeed, was needed by delivery_filename which is now the standalone
mail.mboxfile mda, nice catch
will commit
On Sat, Nov 24, 2018 at 08:04:53PM -0600, Edgar Pettijohn III wrote:
> pledge flock doesn't seem necessary any longer?
>
> Index: smtpd.c
> ===================================================================
> RCS file: /cvs/src/usr.sbin/smtpd/smtpd.c,v
> retrieving revision 1.306
> diff -u -p -u -r1.306 smtpd.c
> --- smtpd.c?????? 16 Nov 2018 20:55:59 -0000?????? 1.306
> +++ smtpd.c?????? 25 Nov 2018 02:02:57 -0000
> @@ -1070,8 +1070,8 @@ smtpd(void) {
>
> ???????? purge_task();
>
> -?????? if (pledge("stdio rpath wpath cpath fattr flock tmppath "
> -?????? ?????? "getpw sendfd proc exec id inet unix", NULL) == -1)
> +?????? if (pledge("stdio rpath wpath cpath fattr tmppath getpw "
> +?????? ?????? "sendfd proc exec id inet unix", NULL) == -1)
> ???????? ?????? err(1, "pledge");
>
> ???????? event_dispatch();
>
>
> --
> You received this mail because you are subscribed to [email protected]
> To unsubscribe, send a mail to: [email protected]
>
--
Gilles Chehade @poolpOrg
https://www.poolp.org tip me: https://paypal.me/poolpOrg
--
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]