+2
−4
Loading
RPC allowlist is one of application-wide components - it is not differentiated between RPC servers. To clarify our intentions, move spdk_rpc_set_allowlist() call in bootstrap_fn() before any RPC server is initialized. This changes the behavior of `--rpcs-allowed`, because allowlist will now apply to RPCs read from JSON configuration file as well as RPCs incoming during application runtime. Change-Id: I83e62b7c432293fa43fab4201adb7064277d5d18 Signed-off-by:Krzysztof Karas <krzysztof.karas@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/21654 Reviewed-by:
John Levon <levon@movementarian.org> Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by:
Jim Harris <jim.harris@samsung.com>