* netfilter files in a case-insensitive filesystem
@ 2006-05-23 20:27 Carlos O'Donell
2006-06-01 5:40 ` Philip Craig
0 siblings, 1 reply; 6+ messages in thread
From: Carlos O'Donell @ 2006-05-23 20:27 UTC (permalink / raw)
To: netfilter
netfilter,
Netfilter has header files with names that differ only in case [1].
e.g.
include/linux/netfilter_ipv4/ipt_MARK.h
include/linux/netfilter_ipv4/ipt_mark.h
Such files conflict in a case-insensitive filesystem. This is a problem
for users building on Windows, or installing the headers on a Windows
case-insensitive filesystems.
The structures in the conflicting files seem to have unique names. Is it
possible to merge both files together?
Comments welcome, please keep me on the CC.
Thanks!
Cheers,
Carlos.
--
Carlos O'Donell
CodeSourcery
carlos@codesourcery.com
(650) 331-3385 x716
[1] Netfilter has many files with names that differ only in case.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: netfilter files in a case-insensitive filesystem
2006-05-23 20:27 netfilter files in a case-insensitive filesystem Carlos O'Donell
@ 2006-06-01 5:40 ` Philip Craig
2006-06-01 15:45 ` Carlos O'Donell
0 siblings, 1 reply; 6+ messages in thread
From: Philip Craig @ 2006-06-01 5:40 UTC (permalink / raw)
To: Carlos O'Donell; +Cc: netfilter
On 05/24/2006 06:27 AM, Carlos O'Donell wrote:
> Such files conflict in a case-insensitive filesystem. This is a problem
> for users building on Windows, or installing the headers on a Windows
> case-insensitive filesystems.
>
> The structures in the conflicting files seem to have unique names. Is it
> possible to merge both files together?
Depends what exactly you are trying to do. If you are just trying to
build an application that uses them, then you could probably merge them;
have you tried? Building the kernel would require more work.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: netfilter files in a case-insensitive filesystem
2006-06-01 5:40 ` Philip Craig
@ 2006-06-01 15:45 ` Carlos O'Donell
2006-06-02 0:14 ` Philip Craig
2006-06-02 15:24 ` Jozsef Kadlecsik
0 siblings, 2 replies; 6+ messages in thread
From: Carlos O'Donell @ 2006-06-01 15:45 UTC (permalink / raw)
To: Philip Craig; +Cc: netfilter
On Thu, Jun 01, 2006 at 03:40:25PM +1000, Philip Craig wrote:
> On 05/24/2006 06:27 AM, Carlos O'Donell wrote:
> > Such files conflict in a case-insensitive filesystem. This is a problem
> > for users building on Windows, or installing the headers on a Windows
> > case-insensitive filesystems.
> >
> > The structures in the conflicting files seem to have unique names. Is it
> > possible to merge both files together?
>
> Depends what exactly you are trying to do. If you are just trying to
> build an application that uses them, then you could probably merge them;
> have you tried? Building the kernel would require more work.
>
I have not tried merging the headers. I was deffering to the experts to
get an opinion :)
The current goal is to be able to ship the headers for use in an
environment which resides on a case-insenstive filesystem.
If we did the work, would the community accept such patches?
Cheers,
Carlos.
--
Carlos O'Donell
CodeSourcery
carlos@codesourcery.com
(650) 331-3385 x716
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: netfilter files in a case-insensitive filesystem
2006-06-01 15:45 ` Carlos O'Donell
@ 2006-06-02 0:14 ` Philip Craig
2006-06-02 15:24 ` Jozsef Kadlecsik
1 sibling, 0 replies; 6+ messages in thread
From: Philip Craig @ 2006-06-02 0:14 UTC (permalink / raw)
To: Carlos O'Donell; +Cc: netfilter
On 06/02/2006 01:45 AM, Carlos O'Donell wrote:
> The current goal is to be able to ship the headers for use in an
> environment which resides on a case-insenstive filesystem.
>
> If we did the work, would the community accept such patches?
I'm not a core developer, but I'm pretty sure the answer is no.
It's not just the header files. The source files and modules
also do this, and changing any of these breaks userspace
compatibility.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: netfilter files in a case-insensitive filesystem
2006-06-01 15:45 ` Carlos O'Donell
2006-06-02 0:14 ` Philip Craig
@ 2006-06-02 15:24 ` Jozsef Kadlecsik
2006-06-05 13:40 ` Carlos O'Donell
1 sibling, 1 reply; 6+ messages in thread
From: Jozsef Kadlecsik @ 2006-06-02 15:24 UTC (permalink / raw)
To: Carlos O'Donell; +Cc: netfilter, Philip Craig
On Thu, 1 Jun 2006, Carlos O'Donell wrote:
> On Thu, Jun 01, 2006 at 03:40:25PM +1000, Philip Craig wrote:
> > On 05/24/2006 06:27 AM, Carlos O'Donell wrote:
> > > Such files conflict in a case-insensitive filesystem. This is a problem
> > > for users building on Windows, or installing the headers on a Windows
> > > case-insensitive filesystems.
> > >
> > > The structures in the conflicting files seem to have unique names. Is it
> > > possible to merge both files together?
> >
> > Depends what exactly you are trying to do. If you are just trying to
> > build an application that uses them, then you could probably merge them;
> > have you tried? Building the kernel would require more work.
>
> I have not tried merging the headers. I was deffering to the experts to
> get an opinion :)
>
> The current goal is to be able to ship the headers for use in an
> environment which resides on a case-insenstive filesystem.
But why would it be useful? If someone develops netfilter kernel
modules/iptables extension in a Windows environment, he is unable to test
it. What is the point?
> If we did the work, would the community accept such patches?
You should not only have to merge the header files, but the source files
as well. And develop another method to autoload kernel modules and
iptables extensions when required - matches and targets. And even when all
is done, I personally would be extremely reluctant to accept such patches
until I'm not convinced why it's absolutely required.
Best regards,
Jozsef
-
E-mail : kadlec@blackhole.kfki.hu, kadlec@sunserv.kfki.hu
PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : KFKI Research Institute for Particle and Nuclear Physics
H-1525 Budapest 114, POB. 49, Hungary
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: netfilter files in a case-insensitive filesystem
2006-06-02 15:24 ` Jozsef Kadlecsik
@ 2006-06-05 13:40 ` Carlos O'Donell
0 siblings, 0 replies; 6+ messages in thread
From: Carlos O'Donell @ 2006-06-05 13:40 UTC (permalink / raw)
To: Jozsef Kadlecsik; +Cc: netfilter, Philip Craig
On Fri, Jun 02, 2006 at 05:24:45PM +0200, Jozsef Kadlecsik wrote:
> > The current goal is to be able to ship the headers for use in an
> > environment which resides on a case-insenstive filesystem.
>
> But why would it be useful? If someone develops netfilter kernel
> modules/iptables extension in a Windows environment, he is unable to test
> it. What is the point?
Target embedded devices attached via serial or usb?
> > If we did the work, would the community accept such patches?
>
> You should not only have to merge the header files, but the source files
> as well. And develop another method to autoload kernel modules and
> iptables extensions when required - matches and targets. And even when all
> is done, I personally would be extremely reluctant to accept such patches
> until I'm not convinced why it's absolutely required.
Thank you for your an initial evaluation of the required work.
Cheers,
Carlos.
--
Carlos O'Donell
CodeSourcery
carlos@codesourcery.com
(650) 331-3385 x716
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-06-05 13:40 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-23 20:27 netfilter files in a case-insensitive filesystem Carlos O'Donell
2006-06-01 5:40 ` Philip Craig
2006-06-01 15:45 ` Carlos O'Donell
2006-06-02 0:14 ` Philip Craig
2006-06-02 15:24 ` Jozsef Kadlecsik
2006-06-05 13:40 ` Carlos O'Donell
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.