Messages in this thread | | | Date | Sun, 20 Feb 2000 18:52:31 -0800 | From | jh <> | Subject | cap_net_broadcast vs cap_net_admin |
| |
While looking at capability.h, "listen to multicast" is defined as cap_net_broadcast:
/* Allow broadcasting, listen to multicast */ #define CAP_NET_BROADCAST 11
However, while fiddling with capabilities, I noticed under af_netlink.c that apparently this capability is under cap_net_admin:
./linux/net/netlink/af_netlink.c /* Only superuser is allowed to listen multicasts */ if (nladdr->nl_groups && !capable(CAP_NET_ADMIN)) return -EPERM;
Is this intentional? This is using kernel 2.2.14.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |