lkml.org 
[lkml]   [2002]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Multicast netlink for non-root process
From
Date
Jean Tourrilhes <jt@bougret.hpl.hp.com> writes:
> The cause is here :
> ----------- net/netlink/af_netlink.c - l322 ------------------
>
> static int netlink_bind(struct socket *sock, struct sockaddr *addr, int addr_len)
> {
> [...]
> /* Only superuser is allowed to listen multicasts */
> if (nladdr->nl_groups && !capable(CAP_NET_ADMIN))
> return -EPERM;
> --------------------------------------------------------------
>
> Why ?

There used to be a reason for it (ask Alexey for details), but it has gone.
It should be safe now to remove it I think.

-Andi

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

\
 
 \ /
  Last update: 2005-03-22 13:22    [W:0.091 / U:15.700 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site