git: 6f21f94b1583 - stable/13 - vm_fault: move FAULT_* return codes out of range for Mach errors
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 04 Jul 2023 03:18:09 UTC
The branch stable/13 has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=6f21f94b158382762d528c514b58aa96c8ecdcd9
commit 6f21f94b158382762d528c514b58aa96c8ecdcd9
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2023-06-27 11:41:14 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2023-07-04 03:07:01 +0000
vm_fault: move FAULT_* return codes out of range for Mach errors
(cherry picked from commit ef747607ead43552cb3ebb093fadd2c39c56a36d)
---
sys/vm/vm_fault.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/vm/vm_fault.c b/sys/vm/vm_fault.c
index 4872990c33ec..51fb51f69f3d 100644
--- a/sys/vm/vm_fault.c
+++ b/sys/vm/vm_fault.c
@@ -159,7 +159,7 @@ struct faultstate {
* Return codes for internal fault routines.
*/
enum fault_status {
- FAULT_SUCCESS = 1, /* Return success to user. */
+ FAULT_SUCCESS = 10000, /* Return success to user. */
FAULT_FAILURE, /* Return failure to user. */
FAULT_CONTINUE, /* Continue faulting. */
FAULT_RESTART, /* Restart fault. */