-/* $OpenBSD: smtpd.c,v 1.244 2015/10/12 07:58:19 deraadt Exp $ */
+/* $OpenBSD: smtpd.c,v 1.245 2015/10/13 07:18:53 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
_exit(1);
}
- if (fchflags(fd, 0) == -1) {
- log_warn("warn: smtpd: chflags: %s", path);
- _exit(1);
- }
-
if (setgroups(1, &pw->pw_gid) ||
setresgid(pw->pw_gid, pw->pw_gid, pw->pw_gid) ||
setresuid(pw->pw_uid, pw->pw_uid, pw->pw_uid))