mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andi Kleen <ak@suse.de>
To: Jean Tourrilhes <jt@bougret.hpl.hp.com>
Cc: kuznet@ms2.inr.ac.ru, linux-kernel@vger.kernel.org
Subject: Re: Multicast netlink for non-root process
Date: 11 Jun 2002 23:02:22 +0200	[thread overview]
Message-ID: <p737kl5cyw1.fsf@oldwotan.suse.de> (raw)
In-Reply-To: <20020611134418.A22893@bougret.hpl.hp.com.suse.lists.linux.kernel>

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


       reply	other threads:[~2002-06-11 21:02 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20020611134418.A22893@bougret.hpl.hp.com.suse.lists.linux.kernel>
2002-06-11 21:02 ` Andi Kleen [this message]
2002-06-11 21:13   ` Jean Tourrilhes
2002-06-11 21:23     ` Andi Kleen
2002-06-11 21:40     ` kuznet
2002-06-11 23:31       ` Andi Kleen
2002-06-11 23:55         ` Jean Tourrilhes
2002-06-12  4:25       ` James Morris
2002-06-12 17:25         ` kuznet
2002-06-12 17:45           ` James Morris
2002-06-12 17:54             ` kuznet
2002-06-12 22:53           ` David S. Miller
2002-06-11 20:44 Jean Tourrilhes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=p737kl5cyw1.fsf@oldwotan.suse.de \
    --to=ak@suse.de \
    --cc=jt@bougret.hpl.hp.com \
    --cc=kuznet@ms2.inr.ac.ru \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®