openwrtv4/package
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
..
base-files base-files: sysfixtime no longer exclude dnsmasq.time 2016-06-24 13:56:30 +02:00
boot packages: prefer http over git for git protocol 2016-06-22 19:32:06 +02:00
devel packages: prefer http over git for git protocol 2016-06-22 19:32:06 +02:00
firmware packages: prefer http over git for git protocol 2016-06-22 19:32:06 +02:00
kernel packages: prefer http over git for git protocol 2016-06-22 19:32:06 +02:00
libs uclient: update to the latest version with better help and DELETE 2016-06-16 14:54:25 +02:00
network ebtables: fix segmentation fault due to uninitialized extension data 2016-06-24 15:59:36 +02:00
system mountd: update to latest git HEAD 2016-06-22 19:32:06 +02:00
utils e2fsprogs: Bump to v1.43.1 2016-06-20 11:45:45 +02:00
Makefile include: choose package output directory based on repository info 2016-04-06 21:55:44 +02:00