mirror of
https://gitee.com/openharmony/developtools_hiperf
synced 2024-11-27 09:40:42 +00:00
update
Signed-off-by: zhangcui <zhangcui11@huawei.com>
This commit is contained in:
parent
874fc9c3a0
commit
ef577f7bc5
@ -965,8 +965,7 @@ public:
|
||||
}
|
||||
|
||||
if (hasChangeKptr) {
|
||||
hasChangeKptr = WriteStringToFile(KPTR_RESTRICT, oldKptrRestrict);
|
||||
if (!hasChangeKptr) {
|
||||
if (!WriteStringToFile(KPTR_RESTRICT, oldKptrRestrict)) {
|
||||
printf("recover /proc/sys/kernel/kptr_restrict fail.\n");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user