Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp289296pxb; Wed, 3 Nov 2021 04:23:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz5Jts5LhyOgdconkQhh2ApHtskYKKq2ZQY0V1wohNofNERMRdmYIdaiC6+tUImdhyJfTeL X-Received: by 2002:aa7:d9d1:: with SMTP id v17mr49455959eds.391.1635938583408; Wed, 03 Nov 2021 04:23:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635938583; cv=none; d=google.com; s=arc-20160816; b=ZzvjiiUDg5mtzC6PvItoRTITBLactXxEt5GuVgNEFjfzerQqyeVzpgUGuYDnpOAWJK 4THPG9sRPcB16OPStFUn/1G7MJKXpvqxCb3VuHi9WO/rflZeLUJlG9wslSVGApeJflxI VoIKevw1/lbpcWClY389ds8I2a9EvLUqEXM+StzIzNhje6qCf1KxCicpdcsA5mF6bDk4 AohtZaONiWFZwYanhP+s1Dy0/H58Sz0jN+83UNVjyP6soeydx1xeFF7yeNYlQ/hQWCXR GjY2PKXCRC6a+l3U+o7tnQw0p87CKR1lthMLNJPLJl9pE63XunCgPsy+GV2ZTpoW9NNf 0ICQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=fCtVu7k10r+j25vTZ9hv97J2pUA8TjGjbO2XSmmBqgQ=; b=lUaS592mw12wDtMgMBYrexckhY1H5fcIkk1K2tN2GIFGyrTuhIuFpJBLmZ8yvGkLGP oetey9rSgOCYC1MAdEkK39QIy5GEcZc8X4TcHI60E91DF15Op5158b59mG/mIFeF0GDF 1ODQK8AAciVLe47Q3t/aL00Pfy0i3W5mKzYSS7AU1dCuEXdqLhi8IUSwy3y7f5xw9t8A td0ka0E2oo0/RamiI1/0aq+8TkdeQ7XbEpg5pHdImV3UrqENo5zNOPYjVZqXahoTVuzG Nybyfuxa8XxltvQfb9Lch7bZ4jfPJtmP9xwIJrlUNm7XgHoy2bXNwuR3wVuNcKylBNal HcYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=up2L+7sO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r19si2650107edy.541.2021.11.03.04.22.27; Wed, 03 Nov 2021 04:23:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=up2L+7sO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231940AbhKCLWs (ORCPT + 99 others); Wed, 3 Nov 2021 07:22:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:45576 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231514AbhKCLWp (ORCPT ); Wed, 3 Nov 2021 07:22:45 -0400 Received: by mail.kernel.org (Postfix) with ESMTPS id 34F9261166; Wed, 3 Nov 2021 11:20:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1635938409; bh=dV4G1vR9a46wxDO+ClKpsM0XoC01urrvt68bMLhDYlo=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=up2L+7sOpf1E6k3DmBMua5W3knV6dyCHKekJHhtb7QDJQYPHIQi7f2GndydzEcIyS x2DamQEbyf86N9oyX8CSiMg6hQ3k7bVbYkm5VUH7TCH990hyGvhqoF1W6jHJn7qb4q 2qcdiB4oUclLrS5YZCFX/Xs0pWBlxZFG7IMkRm65caM2ergJgZqaKpO7HxBf0/vbGV m49CdLVkC17sESlZIIYAaxIcvDQhjOIyjdLLhrmtXDKU/Kco9AcJ6g1UmSMo9yD9Vx WlPB9Fgzt+qf6ro2guC3n0tD75nwFATBSN8Fv+LAGyTR68Y8icyRlhzXeq9E7NCWsS pFiE3KksgWxUA== Received: from pdx-korg-docbuild-2.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by pdx-korg-docbuild-2.ci.codeaurora.org (Postfix) with ESMTP id 272FA60A2E; Wed, 3 Nov 2021 11:20:09 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] NFC: add necessary privilege flags in netlink layer From: patchwork-bot+netdevbpf@kernel.org Message-Id: <163593840915.17756.4151326111670832536.git-patchwork-notify@kernel.org> Date: Wed, 03 Nov 2021 11:20:09 +0000 References: <20211102081021.32237-1-linma@zju.edu.cn> In-Reply-To: <20211102081021.32237-1-linma@zju.edu.cn> To: Lin Ma Cc: krzysztof.kozlowski@canonical.com, davem@davemloft.net, kuba@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net.git (master) by David S. Miller : On Tue, 2 Nov 2021 16:10:21 +0800 you wrote: > The CAP_NET_ADMIN checks are needed to prevent attackers faking a > device under NCIUARTSETDRIVER and exploit privileged commands. > > This patch add GENL_ADMIN_PERM flags in genl_ops to fulfill the check. > Except for commands like NFC_CMD_GET_DEVICE, NFC_CMD_GET_TARGET, > NFC_CMD_LLC_GET_PARAMS, and NFC_CMD_GET_SE, which are mainly information- > read operations. > > [...] Here is the summary with links: - NFC: add necessary privilege flags in netlink layer https://git.kernel.org/netdev/net/c/aedddb4e45b3 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html