From nobody Thu Aug 17 19:58:35 2023 X-Original-To: dev-commits-src-main@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 4RRbRJ0Cpqz4q50V; Thu, 17 Aug 2023 19:58:36 +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 4RRbRH42Y8z4HWs; Thu, 17 Aug 2023 19:58:35 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692302315; 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=eHHxyG8TGQ1ub+Cnz6lDpu/8xIoG1HTDxW69TVXAJ+M=; b=tN00H1jA3SWn2lOE2lRKsNGZxxlyJ+eLMnnRJuHypSNJhuZ3YRsFTKT53yD3yRAYj72Crq qtE0c2yds69i4nOaddZKkqMDPnag4sA5yYxnbUZ2tDlkGogYuRVQGRx1IMG73ZWR83gTnV l7gkfubQXtMwvvq905uC+w9LEXe7NQah+NVEsRWSc0J3kVY3AqpOChTgdXLWppKctv8S/d Gz908RrtoCuxVIdkzMmmX9oIKjQJkGRkz4XAtH3+1uiebPwseGrP+myT1J8MMCEj7gl+pp 4NNQg5+wtRRMNIrwTYwMr4V2vDdk9nlzeHEkdwP06WELm0WErvu2/0ApFtYupg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692302315; 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=eHHxyG8TGQ1ub+Cnz6lDpu/8xIoG1HTDxW69TVXAJ+M=; b=AV97fhSKgYcechoU9Ktg49VqYjCtWrECQfnYHH+umrVQWSaRVIQ0VII4MjU/UzskgwzhiD wlPsy2NK1WYHSJHO6ejmJ+Qa+6gKwwvgyOXWawu0gO64VbtjEtcbAnYi5FHMAO8Wk4bdy0 LxUDtUnbop9Cs293BI9Vce33Ty9U0GNd46e1ktzL50+8hoguMMBV4sRsYEr+rULMunWze0 L2Xdv+30cHxnmqUQuDAm3aERf6QtQ3vuDqYA2v9mDOSzNYeREP+ym/RDySir1LOxyl+Vp1 Yin91Kbt3A+J5P3zSq8XBQLQtWMN+4snLVqoAQQmhyJIsGRVtis1wF7buZSfIA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692302315; a=rsa-sha256; cv=none; b=mDBSw1u9BJMmQndzRGXaAqhm3Nzq+JTf9UqRDndFLhXUyTam/b8T9BAbRkuJVccpiAw4q0 W8fB7LOc6Kjw0kYnaV7jSieyeT9hKHI6RenDaaqLWw+pbOhkMQBiwODROnsdNXpFvOJEw3 M/rzQTfcvLfWL53mOKhX1RuChoKWhx06gMO41kPkp1eNrBWQfOZBcYFo+3bAH+M+iGbOXS /qubLRJxoyxZkrbVDVldYfTWLZg40TJssp4rLjPoT7fHvRmCld/r0y3s575mXgId1FdONe qtcbkOBuZqOmV2X4zizaOAWOui7MnBaRuYD8JANpwqq8yM81RXy6YXlP7HxKSA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RRbRH2vsGzn61; Thu, 17 Aug 2023 19:58:35 +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 37HJwZNd080226; Thu, 17 Aug 2023 19:58:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37HJwZZ1080223; Thu, 17 Aug 2023 19:58:35 GMT (envelope-from git) Date: Thu, 17 Aug 2023 19:58:35 GMT Message-Id: <202308171958.37HJwZZ1080223@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Dmitry Chagin Subject: git: 5ad5cf507910 - main - linux(4): Be verbose about unsupported ioctl commands on ifreq ioctl List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: 5ad5cf507910a87188e53f94cb046d6faa0de2bb Auto-Submitted: auto-generated The branch main has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=5ad5cf507910a87188e53f94cb046d6faa0de2bb commit 5ad5cf507910a87188e53f94cb046d6faa0de2bb Author: Alvin Chen AuthorDate: 2023-08-17 19:57:16 +0000 Commit: Dmitry Chagin CommitDate: 2023-08-17 19:57:16 +0000 linux(4): Be verbose about unsupported ioctl commands on ifreq ioctl Differential revision: https://reviews.freebsd.org/D39786 MFC after: 1 month --- sys/compat/linux/linux_ioctl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/compat/linux/linux_ioctl.c b/sys/compat/linux/linux_ioctl.c index 3b2727afd179..413d761520d3 100644 --- a/sys/compat/linux/linux_ioctl.c +++ b/sys/compat/linux/linux_ioctl.c @@ -2289,6 +2289,9 @@ linux_ioctl_socket_ifreq(struct thread *td, int fd, u_int cmd, cmd = SIOCGPRIVATE_1; break; default: + LINUX_RATELIMIT_MSG_OPT2( + "ioctl_socket_ifreq fd=%d, cmd=0x%x is not implemented", + fd, cmd); return (ENOIOCTL); }