Re: rtnetlink interface state monitoring problems.

From: James Morris (jmorris@intercode.com.au)
Date: Mon Oct 21 2002 - 08:46:24 EST


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
<jmorris@intercode.com.au>

- 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/



This archive was generated by hypermail 2b29 : Wed Oct 23 2002 - 22:00:53 EST