diff options
| author | Orson Zhai <[email protected]> | 2017-06-27 08:52:09 +0800 |
|---|---|---|
| committer | Shuah Khan <[email protected]> | 2017-06-27 18:57:02 -0600 |
| commit | d644437a1dc6226afb7b8a814657961d8812f763 (patch) | |
| tree | ebc2b66ea461f99acb82da3103ac82a88d35991e /drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c | |
| parent | fde662d9c3e09ba54273785de4e12628b7bd9de1 (diff) | |
tools/testing/selftests/sysctl: Add pre-check to the value of writes_strict
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: Orson Zhai <[email protected]>
Reviewed-by: Sumit Semwal <[email protected]>
Tested-by: Sumit Semwal <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c')
0 files changed, 0 insertions, 0 deletions