lua: don't make uhttpd_plugin symbol constant
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 25 Jan 2015 20:36:42 +0000 (21:36 +0100)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 25 Jan 2015 20:36:42 +0000 (21:36 +0100)
commitdb79faae848e9ca5ed1c5b62cdd9d01650687fff
tree65b2fe370dc7949e5fd790d8376bc2f15c5af595
parentd404cd06b657cdcd97555362abec7966e339fd6d
lua: don't make uhttpd_plugin symbol constant

uhttpd modifies the list_head member of the uhttpd_plugin struct when
loading a plugin, therefore we cannot make it const, otherwise we
trigger a security violation if uhttpd is built with RelRO support.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
lua.c