This commit is contained in:
Pavel 2023-12-26 11:45:45 +03:00
parent a75814d9b3
commit d9ebafff58
1 changed files with 1 additions and 1 deletions

View File

@ -1189,7 +1189,7 @@ begin
if (mtype=SCE_KERNEL_WB_GARLIC) and
((prot and (VM_PROT_WRITE or VM_PROT_GPU_WRITE))<>0) then
begin
if ((flags and MAP_WRITABLE_WB_GARLIC)<>0) then
if ((flags and MAP_WRITABLE_WB_GARLIC)=0) then
begin
Exit(EACCES);
end;