Loading
test/common: Don't take randomize_va_space default setting for granted
Currently, kill_stub() doesn't gracefully handle this particular sysctl since it overwrites it with assumed default that doesn't necessarily have to be a part of kernel's config on a given system. Don't presume what the setting should be, instead, read and save the current value and try to restore it whenever kill_stub() is called. Change-Id: I1f1ee85c29d5e2ec2f442a54f700e3bc45ee2437 Signed-off-by:Michal Berger <michallinuxstuff@gmail.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/482652 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com>