kernel/vm: De-wrap line for clarity.
No functional change. Now it looks the same as the surrounding checks.
This commit is contained in:
@@ -4743,8 +4743,7 @@ vm_soft_fault(VMAddressSpace* addressSpace, addr_t originalAddress,
|
|||||||
status = B_PERMISSION_DENIED;
|
status = B_PERMISSION_DENIED;
|
||||||
break;
|
break;
|
||||||
} else if (isExecute && (protection
|
} else if (isExecute && (protection
|
||||||
& (B_EXECUTE_AREA
|
& (B_EXECUTE_AREA | (isUser ? 0 : B_KERNEL_EXECUTE_AREA))) == 0) {
|
||||||
| (isUser ? 0 : B_KERNEL_EXECUTE_AREA))) == 0) {
|
|
||||||
dprintf("instruction fetch attempted on execute-protected area 0x%"
|
dprintf("instruction fetch attempted on execute-protected area 0x%"
|
||||||
B_PRIx32 " at %p\n", area->id, (void*)originalAddress);
|
B_PRIx32 " at %p\n", area->id, (void*)originalAddress);
|
||||||
TPF(PageFaultError(area->id,
|
TPF(PageFaultError(area->id,
|
||||||
|
|||||||
Reference in New Issue
Block a user