From nobody Tue Jul 04 03:18:09 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Qw7LG19KWz4lVQ4; Tue, 4 Jul 2023 03:19:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Qw7LF54cQz41B9; Tue, 4 Jul 2023 03:19:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688440741; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=s4HIx2RQJmwBhcS05pGB+EkkNo/SGyKL24PWggpt2p0=; b=EZ34fPWNyEXF9vSRNZ5v1Cq/QtqeKuEHxGmun1PnaPkhcI2vhp6TkR0c5Za81ogWG6SIjz h+FIa9lXB77HmwcpkRYcxuq9QesX3crMpP86sSR+QswAcAMsb00F00U0lSwEMcTCp2DCaY FNDnazTUg4t6mxNff+V8KZSHyTAphD/DDfweqMiLkRoJn2MR4DEtVscdX0mgMvxF0b5Uib DhQ76t7XZNXvEotmZx7RaSl65uHxRBopYFw40kqskoqRtf+EaAs/mlqqCBWcm3YPec8eej 9BwwI16Mg4IGVh7LuR68wy/K4puYTPpi/T02e2nLqEQos7SwkYRMrzJrdwElBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688440741; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=s4HIx2RQJmwBhcS05pGB+EkkNo/SGyKL24PWggpt2p0=; b=QmV2aKUj31UUJugz3mj2OX/DBfR/2hnWpuo6QqcVSo4emMycxqnF4YoLhsHu+0peg2rzS9 Y4oTsPYRXVE9A021HWDgh4PTwU9VVRRpPFNVz+Q/Xx+dx27vFFFbNXuq+X8JAkZToI22zE tVrqslIqgk8cN/dGzpxVfeczpNXeSJSWBC6Vbmx+lIEvzxrJY04D79qjSm8CHjrQPwtzBs 7TOL9+SqNwlRnFR67VSxX7Xk5Y0dzryV1kN8cUsi1Hg9Vq+volsj5IZJay3Ngh72T3veqa qPQBsII1+Rq9XkVbsIauEi13ob+DSNBYrrWa23YD2TMm3Sm36MfgR8naWjHr3A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688440741; a=rsa-sha256; cv=none; b=BOclPR+iKg7A42M3bKqA7B0lJNXEVwfQnNoQoB2jZ9serNEn3TbVie8Bf8uEyOpAM6YjIL 678NccVhcd0rMmmAmhw+JASZIZrYvVp2K9d14/J7ZQKAiY58xwsZM4M+IJd1drrAlhLQCy g7aOChKjpIHVzXCEpkM5krhP3mBgZT3PNEiuC/784aLEFpmry+GfwbLC4mRpIW2O4pv3WQ 6LCsCnyVg/ZkDEz9XgOOY6dNuLvxGyPY5ts3TOeh2ucdvCbKftNB71L3IDxk50m5hikr// kIs5BJpHUxkC+xYTR3Fz7djFLvaRjqagTFdjl9CuA/V+M7yBNChc4eaiPAcXBQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Qw7KF3ln1zGkV; Tue, 4 Jul 2023 03:18:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3643I9Ff009746; Tue, 4 Jul 2023 03:18:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3643I9iR009745; Tue, 4 Jul 2023 03:18:09 GMT (envelope-from git) Date: Tue, 4 Jul 2023 03:18:09 GMT Message-Id: <202307040318.3643I9iR009745@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: 6f21f94b1583 - stable/13 - vm_fault: move FAULT_* return codes out of range for Mach errors List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 6f21f94b158382762d528c514b58aa96c8ecdcd9 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=6f21f94b158382762d528c514b58aa96c8ecdcd9 commit 6f21f94b158382762d528c514b58aa96c8ecdcd9 Author: Konstantin Belousov AuthorDate: 2023-06-27 11:41:14 +0000 Commit: Konstantin Belousov 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. */