[lkml]   [2000]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectcap_net_broadcast vs cap_net_admin

While looking at capability.h, "listen to multicast" is defined as

/* Allow broadcasting, listen to multicast */

However, while fiddling with capabilities, I noticed under af_netlink.c
that apparently this capability is under cap_net_admin:

/* 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
Please read the FAQ at

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