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