netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: Tim Fenn <fenn@stanford.edu>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: iptables leaks a file descriptor before fork/exec
Date: Tue, 06 Nov 2007 01:31:31 +0100	[thread overview]
Message-ID: <472FB5E3.9090703@trash.net> (raw)
In-Reply-To: <20071102111412.6e9f67c4@atbws1.stanford.edu>

Tim Fenn wrote:
> As per a discussion I had on the fedora-selinux list
> (https://www.redhat.com/archives/fedora-selinux-list/2007-October/msg00033.html),
> Dan Walsh suggested filing a bug report in regards to a FD leak noticed
> when tracking iptables with selinux - it appears a few
> 
> fcntl(fd, F_SETFD, FD_CLOEXEC)
> 
> calls are missing before fork/exec.  See here for the details:
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=364331


I can't test this myself since I don't run selinux, could you
send a patch for this?


      reply	other threads:[~2007-11-06  0:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-02 18:14 iptables leaks a file descriptor before fork/exec Tim Fenn
2007-11-06  0:31 ` Patrick McHardy [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=472FB5E3.9090703@trash.net \
    --to=kaber@trash.net \
    --cc=fenn@stanford.edu \
    --cc=netfilter-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).