On Thursday 2018-06-28 22:43, Florian Westphal wrote:

>Jan Engelhardt <[email protected]> wrote:
>> Prepare for autoconf-based substitution of macros in the file.
>
>It breaks make install.
>
>Not a big deal, after pulling wholse series make seems to create
>a static build by default, make install DESTDIR=/tmp/foo results
>in all the ebt_foo.so files being omitted, instead they're part of
>libebt.so.  Is that intentional?
>
>Whats the rationale?

I would assume that the reason they were all separate .so files
before is because "_init" can only appear once per .so file
and the original author did not know about ((constructor)) back then.

One can have multiple __attribute__((constructor)) per executable,
and since all of ebtables is always loaded into memory, there was no 
more reason to spread the code into many many .so files (disk seeks).
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to