Date: Thu, 5 Aug 2010 18:49:06 +0000 (UTC) From: "Christian S.J. Peron" <csjp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r210878 - head/contrib/pf/pflogd Message-ID: <201008051849.o75In6TC074429@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: csjp Date: Thu Aug 5 18:49:06 2010 New Revision: 210878 URL: http://svn.freebsd.org/changeset/base/210878 Log: Enable closefrom(2) here, as we have supported it for some time now. Discussed with: mlaier MFC after: 2 weeks Modified: head/contrib/pf/pflogd/pflogd.c Modified: head/contrib/pf/pflogd/pflogd.c ============================================================================== --- head/contrib/pf/pflogd/pflogd.c Thu Aug 5 18:48:30 2010 (r210877) +++ head/contrib/pf/pflogd/pflogd.c Thu Aug 5 18:49:06 2010 (r210878) @@ -583,11 +583,7 @@ main(int argc, char **argv) pcap_handler phandler = dump_packet; const char *errstr = NULL; -#ifdef __FreeBSD__ - /* another ?paranoid? safety measure we do not have */ -#else closefrom(STDERR_FILENO + 1); -#endif while ((ch = getopt(argc, argv, "Dxd:f:i:s:")) != -1) { switch (ch) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008051849.o75In6TC074429>