Re: Multicast netlink for non-root process

Jean Tourrilhes (jt@bougret.hpl.hp.com)
Tue, 11 Jun 2002 16:55:16 -0700


On Wed, Jun 12, 2002 at 01:31:01AM +0200, Andi Kleen wrote:
> On Wed, Jun 12, 2002 at 01:40:45AM +0400, A.N.Kuznetsov wrote:
> > Hello!
> >
> > > One potential reason is that some of the message may contain
> > > data that is root only. But this should be handled with a finer
> > > granularity.
> >
> > Exactly. Taking into account that it is not handled with a finer granularity,
> > it is restricted in a facsict manner.
>
> The only problematic protocols are nf_queue and the firewall netlink I guess.
>
> This (barely tested) patch should relax it for rtnetlink at least:

The path works fine here. At least, my non-root app get all
the event proper.
Thanks a lot for your quick turnaround. I hope it will show up
in 2.5.X someday ;-)

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