Re: Multicast netlink for non-root process

From: Jean Tourrilhes (jt@bougret.hpl.hp.com)
Date: Tue Jun 11 2002 - 18:55:16 EST


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/



This archive was generated by hypermail 2b29 : Sat Jun 15 2002 - 22:00:23 EST