Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 21 Oct 2002 09:40:31 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 21 Oct 2002 09:40:31 -0400 Received: from blackbird.intercode.com.au ([203.32.101.10]:22547 "EHLO blackbird.intercode.com.au") by vger.kernel.org with ESMTP id ; Mon, 21 Oct 2002 09:40:30 -0400 Date: Mon, 21 Oct 2002 23:46:24 +1000 (EST) From: James Morris To: David Woodhouse cc: linux-kernel@vger.kernel.org, Subject: Re: rtnetlink interface state monitoring problems. In-Reply-To: <27964.1035199084@passion.cambridge.redhat.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 819 Lines: 24 On Mon, 21 Oct 2002, David Woodhouse wrote: > 1. I appear to need CAP_NET_ADMIN to bind to the netlink groups which give > me this information. I can poll for it just fine, but need > elevated privs to be notified. Why is this, and is there a workaround? Andi Kleen implemented a simple and effective workaround this for 2.4 which has gone into the tree (see netlink_set_nonroot() in rtnetlink.c). Another more complicated solution was partially developed for 2.5, but is unlikely to make it in by Halloween. - James -- James Morris - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/