* kernel source code files with same name (different case) xt_*
@ 2011-04-26 20:47 Jon Grant
2011-04-26 20:48 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Jon Grant @ 2011-04-26 20:47 UTC (permalink / raw)
To: netfilter-devel
Hello
When extracting kernel source on a partition which does not support
filenames with different case of the same letters (NTFS), I noticed
/include/linux/netfilter/ files have a CAPS version, and lower case
version. The netfilter/KBuild file refers to the CAPS file in certain
cases, which then simply includes the lower-case filename.
Would a patch be considered for review which amended the
netfilter/KBuild to simply refer to the lower-case files, and deleted
the CAPS version files?
An alternative idea would be to make them alphabetically unique. e.g.
appending_def to the CAPS filenames (i.e. xt_CONNMARK_def.h). Of cause
both of these options depend on if agreement that having
alphabetically unique names is something worth the change.
linux kernel files with different case
Looking at 2.6.38.3
/include/linux/netfilter/
xt_CONNMARK.h
includes "xt_connmark.h"
xt_DSCP.h (contains struct)
xt_dscp.h
xt_MARK.h
includes "xt_mark.h"
xt_RATEEST.h (contains struct)
xt_rateest.h
xt_TCPMSS.h (contains struct)
xt_tcpmss.h
There are two other files in ip4 folder, in addition C files:
ipt_ecn.c
xt_dscp.c
xt_hl.c
xt_rateest.c
xt_tcpmss.c
I know ideally we'd only extract the tar.bz on a regular GNU+Linux
system (ext4 formatted partition). Would a patch to rename these files
to be alphabetically unique be accepted for review?
I will wait for reply before starting to prepare a patch. In addition,
then I would look into the files comprehensively.
Thank you for reading this far. Please keep my email address included
in any replies.
Cheers, Jon
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-04-26 20:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-26 20:47 kernel source code files with same name (different case) xt_* Jon Grant
2011-04-26 20:48 ` David Miller
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).