Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752479AbdFTI4L (ORCPT ); Tue, 20 Jun 2017 04:56:11 -0400 Received: from mail-wm0-f50.google.com ([74.125.82.50]:38375 "EHLO mail-wm0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752227AbdFTI4H (ORCPT ); Tue, 20 Jun 2017 04:56:07 -0400 Subject: Re: [PATCH net-next v2 2/4] rtnetlink: add restricted rtnl groups for ipv4 and ipv6 mroute To: Julien Gomes , davem@davemloft.net References: <20170619204417.13230-1-julien@arista.com> <20170619204417.13230-3-julien@arista.com> Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, sharpd@cumulusnetworks.com, nicolas.dichtel@6wind.com From: Nikolay Aleksandrov Message-ID: Date: Tue, 20 Jun 2017 11:56:03 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.6.0 MIME-Version: 1.0 In-Reply-To: <20170619204417.13230-3-julien@arista.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 602 Lines: 17 On 19/06/17 23:44, Julien Gomes wrote: > Add RTNLGRP_{IPV4,IPV6}_MROUTE_R as two new restricted groups for the > NETLINK_ROUTE family. > Binding to these groups specifically requires CAP_NET_ADMIN to allow > multicast of sensitive messages (e.g. mroute cache reports). > > Signed-off-by: Julien Gomes > --- > include/uapi/linux/rtnetlink.h | 4 ++++ > net/core/rtnetlink.c | 13 +++++++++++++ > 2 files changed, 17 insertions(+) Thanks! Suggested-by: Nikolay Aleksandrov Signed-off-by: Nikolay Aleksandrov