lkml.org 
[lkml]   [2000]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectcap_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/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.024 / U:5.836 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site