Re: [PATCH 0/7] netfilter: ebtables: CONFIG_COMPAT support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jan Engelhardt <jengelh@xxxxxxxxxx> wrote:
> In a quick look, ebtables 2.0.8-2 seems to just work there in both
> 32/64 and 64/64 [U/K-bitness] combinations:
[..]
> 
> So I wonder whether extra patches are really needed for x86_64.

I did investigate the "lets pad the structures in userspace" scenario.
It has two problems.

First of all, support for a few targets/matches is missing.

Second, the point is to run unmodified binaries with either a 32
or 64 bit kernel without recompiling.

Solving this transparently (i.e. same binary) would thus
require a run-time check for the kernel architecture before the
set/getsockopt can be made.

As far as I could see this would require a lot of changes to the ebtables
userland code base, too.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux