openwrtv4/package/network/utils
Jo-Philipp Wich cb7aa4b1fe ebtables: fix segmentation fault due to uninitialized extension data
The ebtables code relies on the `-nostartfiles` linker argument to execute the
extension modules' `_init()` functions automatically which is not working
reliably across all supported targets and gcc versions.

Running an ebtables executable linked this way just crashes with a segmentation
fault at runtime on program startup, e.g. on ARM architectures.

In order to fix the issue ...
 - remove the use of the -nostartfiles linker flag
 - rename the init procedures to a generic name without implicit semantics
 - explicitely annotate those init procedures as constructors

The patch has been taken from the Alpine Linux distribution at
http://git.alpinelinux.org/cgit/aports/tree/main/ebtables/fix-extension-init.patch

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-06-24 15:59:36 +02:00
..
arptables arptables: fix musl build issues 2015-03-29 04:29:56 +00:00
comgt treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
conntrack-tools treewide: replace jow@openwrt.org with jo@mein.io 2016-06-07 11:42:52 +02:00
curl curl: remove axtls config option, the library does not exist in our tree 2016-05-19 16:56:34 +02:00
dante treewide: replace jow@openwrt.org with jo@mein.io 2016-06-07 11:42:52 +02:00
ebtables ebtables: fix segmentation fault due to uninitialized extension data 2016-06-24 15:59:36 +02:00
iftop treewide: replace jow@openwrt.org with jo@mein.io 2016-06-07 11:42:52 +02:00
iperf treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
iperf3 treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
iproute2 iproute2: Add support for cake qdisc 2016-06-06 14:58:11 +02:00
ipset treewide: replace jow@openwrt.org with jo@mein.io 2016-06-07 11:42:52 +02:00
iptables iptables: using external kernel tree should not alter patch behaviour. 2016-02-07 13:29:27 +00:00
iputils treewide: replace jow@openwrt.org with jo@mein.io 2016-06-07 11:42:52 +02:00
iw treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
iwcap treewide: replace jow@openwrt.org with jo@mein.io 2016-06-07 11:42:52 +02:00
iwinfo package/*: update git urls for project repos 2016-06-13 22:51:41 +02:00
linux-atm linux-atm: activate format security checks 2016-02-25 22:00:34 +00:00
maccalc license info - revert r43155 2014-11-03 09:56:44 +00:00
nftables nftables: bump version 2015-04-20 06:30:34 +00:00
owipcalc treewide: replace jow@openwrt.org with jo@mein.io 2016-06-07 11:42:52 +02:00
resolveip treewide: replace jow@openwrt.org with jo@mein.io 2016-06-07 11:42:52 +02:00
rssileds license info - revert r43155 2014-11-03 09:56:44 +00:00
tcpdump treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
umbim package/*: update git urls for project repos 2016-06-13 22:51:41 +02:00
uqmi package/*: update git urls for project repos 2016-06-13 22:51:41 +02:00
wireless-tools treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
wpan-tools wpan-tools: bump to wpan-tools-0.5 2015-09-11 20:52:35 +00:00
wwan global: change my email address 2016-05-12 03:29:36 +02:00
xtables-addons xtables-addons: add missing dependency 2016-06-09 15:53:43 +02:00