ubus: don't make uhttpd_plugin symbol constant
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 25 Jan 2015 17:13:03 +0000 (18:13 +0100)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 25 Jan 2015 17:13:03 +0000 (18:13 +0100)
commit7352ec423fb99a7970b0765287503abee05a56cd
tree2673022d4099d587166a462dd00cddf25bbbfd75
parentd9ac7320c80a4629d678fbd905defa831094434c
ubus: 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>
ubus.c