luci2: don't mark rpc_plugin symbols constant
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 25 Jan 2015 17:41:21 +0000 (18:41 +0100)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 25 Jan 2015 17:41:21 +0000 (18:41 +0100)
commite463c1df065e8aee0428e7156fdcc91f4d06d6c1
tree9fd542b45c89e1e6b2010c7f0ee22a2a41aae156
parent1877c5c56a161570bfbf496b1f73405458f9cdd6
luci2: don't mark rpc_plugin symbols constant

The rpcd daemon modifies the list_head member of the rpc_plugin struct,
therfore we cannot mark it const, otherwise we're hitting an access
violation if rpcd is built with relro support.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
luci2/src/rpcd/bwmon.c
luci2/src/rpcd/luci2.c