netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Kevin Cernekee <cernekee@chromium.org>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [PATCH conntrack-tools] Link nfct and helper modules with `-z lazy`
Date: Thu, 22 Sep 2016 16:28:00 +0200	[thread overview]
Message-ID: <20160922142800.GA3058@salvia> (raw)
In-Reply-To: <1473627259-33065-1-git-send-email-cernekee@chromium.org>

On Sun, Sep 11, 2016 at 01:54:19PM -0700, Kevin Cernekee wrote:
> Some distributions, such as Gentoo and Chrome OS, try to link all
> programs with `-z now` as a security hardening measure.  This breaks
> nfct, because nfct cannot satisfy all of the helper modules' symbols.
> Therefore nfct implicitly depends on lazy binding.
> 
> Have autoconf probe the linker to see if `-z lazy` works, and if so,
> use it to link nfct and the helpers.
> 
> conntrackd itself is unaffected, and should still work with `-z now`.

Applied, thanks for your patience.

      reply	other threads:[~2016-09-22 14:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-11 20:54 [PATCH conntrack-tools] Link nfct and helper modules with `-z lazy` Kevin Cernekee
2016-09-22 14:28 ` Pablo Neira Ayuso [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=20160922142800.GA3058@salvia \
    --to=pablo@netfilter.org \
    --cc=cernekee@chromium.org \
    --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).