From nobody Wed Oct 18 05:52:56 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 4S9Kkx0LFlz4xYgZ; Wed, 18 Oct 2023 05:52:57 +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 4S9Kkw6fZBz3Lb1; Wed, 18 Oct 2023 05:52:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697608377; 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=qvDactx54Yo2FYh0gPjm+ZyrUtJFcj2tzIkSg0lmgGw=; b=DM01zO05YxAbjQhpKujKmCgM+NrSxKXA3NJIUpWmz9ebYYTO49tKVYhOTL99XCllo7j5rE nR7GM2fat72xC6MmZPFD5IYavUQq7+Ec4Ad6ImEOhsUe04EIvih/CqMTMiyAFhU9/IDH59 TKvd/Tb+XNjUqe4ijqwmdPfB90u9ISeSA9pS9BKLKv6TpBKN78IlRjKVQZwy7bMHVrodUD T3boaUIlFjIs2CteMrLIKfDZOGy4+Oj4w0mA1mSV1nahG9PjxsdHIiP1OoCPt5y/+jnjha Ed0uMsaPfe9QUAtoom42aeYenOtzAB3/z01PEJOapGc+p7vBPMn05h35BwdOtA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697608377; a=rsa-sha256; cv=none; b=PHLBDrja1Fcg+UpgvDqJ2AcMuWTWqTqopE4I7XcaYtMTYwabWcMIvFPOgCKgWh6VZ2U+n2 NOYWfAkJDCb8yLzyB5+OAOJBmkkg1P0Za1ilmgin3AxF6rfxZpu+MOHSn/xQZvbYUzeDBo V/VrlB+L34NOgu8lK2JrX1WWhLDQspBtc4rb5+OFbEnO2XmK8bdSLxPouvLAM71PMAv7Q6 KIkHffizkmhRYrRm8v2L/IVlO3op1PLG7qPkxNettSigGXKD5L0iYietbS5JN9THIK2mOn lsRJfsGKmLBPegjSc1qAbNAsVolbYGgStxRzg0bLgKqqZdk+DJrH9FWFUzgujQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697608377; 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=qvDactx54Yo2FYh0gPjm+ZyrUtJFcj2tzIkSg0lmgGw=; b=w+doS23oyaMcxoJ/rgn2UjO086jEwtqMU625ZZ6oQ7G5lhvFsbsnGGB/Wz6xBIonhI55Ya 3rJQLq7OZ9kvm/8hH01OzsDAcBppnSV/Z33X2oyf8wVrOKMX5MTpsg5nzWF/NhKCuqKjZ1 f9HxpMakMKpxy2TdTu0x8E126i1N6RJxlbNnuwgbulCH/GBI15cjcDHCr7zP1AWofISIMy I6yZkwiANG71kRbZF1eYU/zx71ZokBooeygL4zCi6I/ShpV8QdcUcd4NoHyi5CDKJ9d5FS 09Z3wMpqVabbsh9TWinajlsGn2C6rKQBSNIYse3S4W5jESqvv+S3oII79mRo8w== 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 4S9Kkw5d9Fzvjt; Wed, 18 Oct 2023 05:52:56 +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 39I5qu2W026310; Wed, 18 Oct 2023 05:52:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39I5quCW026307; Wed, 18 Oct 2023 05:52:56 GMT (envelope-from git) Date: Wed, 18 Oct 2023 05:52:56 GMT Message-Id: <202310180552.39I5quCW026307@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dmitry Chagin Subject: git: 133ada6bff53 - stable/14 - linux(4): Drop the outdated comment, nosys is fine since 39024a89 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: dchagin X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 133ada6bff538483f308296ee944aa5ee24954ee Auto-Submitted: auto-generated The branch stable/14 has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=133ada6bff538483f308296ee944aa5ee24954ee commit 133ada6bff538483f308296ee944aa5ee24954ee Author: Dmitry Chagin AuthorDate: 2023-10-10 09:20:51 +0000 Commit: Dmitry Chagin CommitDate: 2023-10-18 05:52:33 +0000 linux(4): Drop the outdated comment, nosys is fine since 39024a89 MFC after: 1 week (cherry picked from commit 03f5bd1e462576838e79145379ce314e2e03e4b3) --- sys/arm64/linux/linux_sysvec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/arm64/linux/linux_sysvec.c b/sys/arm64/linux/linux_sysvec.c index 19dd5866ba50..a850d5e34bc0 100644 --- a/sys/arm64/linux/linux_sysvec.c +++ b/sys/arm64/linux/linux_sysvec.c @@ -121,7 +121,7 @@ linux_fetch_syscall_args(struct thread *td) sa->code = td->td_frame->tf_x[8]; sa->original_code = sa->code; - /* LINUXTODO: generic syscall? */ + if (sa->code >= p->p_sysent->sv_size) sa->callp = &nosys_sysent; else