Re: Fixing Linux support in IPFilter

Steve Clark <[email protected]>
Newsgroups gmane.comp.security.firewalls.ipfilter
Message-ID <[email protected]>
Ross Cameron wrote:
> Hi there all
> 
> Got a quick Q which will hopefully be quicker to ask than to do some 
> reading in the code (yes I'm feeling a bit lazy today).
> 
> Does anyone (this is probably supposed to be addressed to Darren) know 
> how the "linuxm.c" file is constructed when you run "make linux"  ????
>     It isn't shipped in the source and it looks like it is made by 
> taking input from IPF source and some of the Linux kernel headers and 
> merging them in some way (hope I'm not way off course here lol).
>     Any pointers as to in which Makefile all the instructions for this 
> are so that I can look into patching some compile errors I get against 
> the *VANILLA* source tree of the Linux kernel.
> 
> Many thanks,...
> Ross Cameron
Hi Ross,

Not sure if this is right but in Linux/Makefile.kbuild there is

$(obj)/$(CPUDIR)/linuxm.c $(obj)//linuxm.c: $(TOP)/linux.c
        @if [ ! -h $@ ] ; then ln -s $< $@; fi

which looks like it is creating a ln from the ipfilter dir linux.c to linuxm.c

Steve
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.