Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jul 2023 03:18:09 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 6f21f94b1583 - stable/13 - vm_fault: move FAULT_* return codes out of range for Mach errors
Message-ID:  <202307040318.3643I9iR009745@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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. */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307040318.3643I9iR009745>