From nobody Wed Feb 15 16:19:14 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 4PH3Df5SkVz3qW31; Wed, 15 Feb 2023 16:19:14 +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 4PH3Df4tnZz3k5H; Wed, 15 Feb 2023 16:19:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676477954; 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=+eBqaieVHdW9PGJHnmp1iSDEqJrbEOPSuZ6LaSZz8/4=; b=WJqjiYsBZ/M53BbE2H4b26yAu/SnLtRCiKQedg7tWFlRcT7aH4VlUqyR7kzXnY7gDbrbAT GUH185afPrEhgq9cewM1h/Hu7FedE0Res/a1uKo2KeInM6E3ym1Et6o3JvLpntOaJOpEGh Qivsj+K3QmOq4ZupBE4sHNnCzcyvBaxFn1OkqpmN6BX8HmxDlYOU04DAzaV7GuOpmxBaq7 Vd8LS3bxHK5ypVUH+M8bjnEBMq56RMTYsDbLVr+WLI7bQUqR3e0mpX+ntbkH0GTYGnHnir +NyCpVuKEKCaS0b3RS+c94oID7vAIDjdMWZdnb9O5pJu2KFiKBAiFz+NxH+Zyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676477954; 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=+eBqaieVHdW9PGJHnmp1iSDEqJrbEOPSuZ6LaSZz8/4=; b=Htic7oMfvdjFZTWLlf0QnaMMSM6Z4Iq8YHawJG0PNcjhGvJwY8G8J8ocBTfQrxwBLQTEa5 I6TmIZFOPuQV140yQI5ry3c3YU8cm8VZMpToyMsc8uvocWiXxsktLkQSf5NmaumxQwl81H VtcfCCcebXxgj1Hp736JAvCfp6dO8uH3/KY+XTRWUpsiIP7tbICmcYd5A2zFw4loKMrRVg udH57j3vgnROr+3ZRK9te3l/zJaLbGmFZfTBWLpTimsvbqlQEn2XwinRYtbG9Zg5/Ckhu1 ALtYKG5YNhlWNeoRYsshd0QQ4boyiJkrf198XgwKBS5MfmD/qpy0BHU47Z66vw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676477954; a=rsa-sha256; cv=none; b=Sm/rhA2fPTIPVuLJIAC+bZMSJN1bRYD3KNrAfwArmmdig4KNlJfG/T4m2ewzzhZuIMseCI Dn4qOC5yqK4Ryh7Rz07WOUKfkFCb1NRxq39z47B+O+60fGOvdiE8QgKJ2UcUqdZhhRPU7J R+o9RsvcgyThh2Uyi9CF88o/VJImOyf4bteXs+NMInjhlt3BTCr80iWeT9xBVlXy3JNbhJ mNAd32rL8+jupZC0aEMpcztke3oPhVGo8PwKgpizGJoFoNIKpQHfAuZhghyPPr+ierPA7c Jk2TDKTfumpLMR/x2c4FcT3fnSjyuVU8s+vStKd7Xglxi1FBdG1vRY3a3y73Aw== 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 4PH3Df3wVhzVVY; Wed, 15 Feb 2023 16:19:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 31FGJE6K059542; Wed, 15 Feb 2023 16:19:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31FGJE58059541; Wed, 15 Feb 2023 16:19:14 GMT (envelope-from git) Date: Wed, 15 Feb 2023 16:19:14 GMT Message-Id: <202302151619.31FGJE58059541@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: "Alexander V. Chernikov" Subject: git: 30b6990e1f2a - releng/13.2 - netlink: do not require elevated privileges when reading arp/ndp state. 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: melifaro X-Git-Repository: src X-Git-Refname: refs/heads/releng/13.2 X-Git-Reftype: branch X-Git-Commit: 30b6990e1f2a391f7fc293fbe6763dd72eeba5cd Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch releng/13.2 has been updated by melifaro: URL: https://cgit.FreeBSD.org/src/commit/?id=30b6990e1f2a391f7fc293fbe6763dd72eeba5cd commit 30b6990e1f2a391f7fc293fbe6763dd72eeba5cd Author: Alexander V. Chernikov AuthorDate: 2023-02-09 14:12:33 +0000 Commit: Alexander V. Chernikov CommitDate: 2023-02-15 16:18:52 +0000 netlink: do not require elevated privileges when reading arp/ndp state. MFC after: 1 day Approved by: re(cperciva) (cherry picked from commit 5a5436eb5d960b9e243f8196147c6a51ca4f9dee) (cherry picked from commit aff2a514adb691938a5302975dc337ee01c6c721) --- sys/netlink/route/neigh.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sys/netlink/route/neigh.c b/sys/netlink/route/neigh.c index 9bcbb68dd375..8cd1e31ce67a 100644 --- a/sys/netlink/route/neigh.c +++ b/sys/netlink/route/neigh.c @@ -519,7 +519,6 @@ static const struct rtnl_cmd_handler cmd_handlers[] = { .cmd = NL_RTM_GETNEIGH, .name = "RTM_GETNEIGH", .cb = &rtnl_handle_getneigh, - .priv = PRIV_NET_ROUTE, } };