Re: Rcceiving a generic netlink multicast - should be restricted to the root user?

2015-03-10 Thread Craig Davison
multicasts. But the default, as is used in some other netlink families, is that only root can receive them. So it seems the documentation is only a little misleading. On Sat, Mar 7, 2015 at 9:12 PM, Craig Davison wrote: > Some code to reproduce this is at https://github.com/craig65535/mc

Re: Rcceiving a generic netlink multicast - should be restricted to the root user?

2015-03-07 Thread Craig Davison
casts, even when it's not running as root. Again, the documentation (man 7 netlink) does not agree with this. Is this just a documentation bug, or a real bug? On Fri, Mar 6, 2015 at 7:08 PM, Craig Davison wrote: > I wrote a kernel module that sends generic Netlink multicasts, and > wrote a

Rcceiving a generic netlink multicast - should be restricted to the root user?

2015-03-06 Thread Craig Davison
I wrote a kernel module that sends generic Netlink multicasts, and wrote a userland client using libmnl that receives them. That all works fine, but my client works even when it's not the root user. man 7 netlink says: Only processes with an effective UID of 0 or the CAP_NET_ADMIN capability may