All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jim Gifford <maillist@jg555.com>
To: Henrik Nordstrom <hno@marasystems.com>
Cc: Netfilter Developer <netfilter-devel@lists.netfilter.org>
Subject: Re: Use of Kernel Headers
Date: Wed, 18 Aug 2004 12:25:54 -0700	[thread overview]
Message-ID: <4123AD42.8050803@jg555.com> (raw)
In-Reply-To: <Pine.LNX.4.61.0408182057060.23105@filer.marasystems.com>

Henrik Nordstrom wrote:

> On Tue, 17 Aug 2004, Jim Gifford wrote:
>
>> Ok so we build iptables against the linux-libc-headers, then we then 
>> use patch-o-matic-ng to add new support for psd(insert you own 
>> example). But iptables is set to compile using the 
>> linux-libc-headers, won't the compile fail since it can't find 
>> ipt_psd.h in the linux-libc-headers.
>
>
> Correct.
>
> You then need to build your iptables to your modified Linux kernel 
> headers, or copy include/linux/netfilter_ipv?/* to your iptables 
> include directory.
>
>> If patch-o-matic changes a header, it should also check 
>> /usr/include/linux/netfilter{whatever} and patch that file also so 
>> they are insync with each other.
>
>
> No. This would not work as /usr/include/linux/ does not need to match 
> the kernel you are currently patching.
>
> What would be OK is for pom to modify the iptables include directory.
>
> Regards
> Henrik
>
Thanx Henrik for the reply, there are a lot of people out there trying 
to figure out what do on this issue.

So would the proper course of action to be to remove the kernel 
directory from the iptables Makefile? or is there more to it.

-- 
----
Jim Gifford
maillist@jg555.com

  reply	other threads:[~2004-08-18 19:25 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-17 21:10 Use of Kernel Headers Jim Gifford
2004-08-17 23:32 ` Henrik Nordstrom
2004-08-18  5:36   ` Jim Gifford
2004-08-18 19:00     ` Henrik Nordstrom
2004-08-18 19:25       ` Jim Gifford [this message]
2004-08-18 20:03         ` Henrik Nordstrom
2004-08-18 20:48           ` Jim Gifford
2004-08-18 20:51             ` Henrik Nordstrom
2004-08-18 21:01               ` Jim Gifford
2004-08-18 22:30   ` Jozsef Kadlecsik
2004-08-21  6:47     ` Jim Gifford
2004-08-21  9:30       ` Henrik Nordstrom
2004-08-21 14:53         ` Tobias DiPasquale
2004-08-21 15:13           ` Henrik Nordstrom
  -- strict thread matches above, loose matches on Subject: below --
2004-08-17 20:40 Jim Gifford
2004-08-17 21:00 ` Antony Stone
2004-08-17 21:09   ` Jim Gifford

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=4123AD42.8050803@jg555.com \
    --to=maillist@jg555.com \
    --cc=hno@marasystems.com \
    --cc=netfilter-devel@lists.netfilter.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.