-
由 Orson Zhai 提交于
Sysctl test will fail in some items if the value of /proc/sys/kernel /sysctrl_writes_strict is 0 as the default value in kernel older than v4.5. Make this test more robus and compatible with older kernel by checking and update writes_strict value and restore it when test is done. Signed-off-by: NOrson Zhai <orson.zhai@linaro.org> Reviewed-by: NSumit Semwal <sumit.semwal@linaro.org> Tested-by: NSumit Semwal <sumit.semwal@linaro.org> Reviewed-by: NKees Cook <keescook@chromium.org> Signed-off-by: NShuah Khan <shuahkh@osg.samsung.com>
d644437a