]> git.puffer.fish Git - matthieu/frr.git/commit
lib/privs: Don't use CAP_NET_BROADCAST
authorChristian Franke <nobody@nowhere.ws>
Wed, 13 May 2015 11:59:18 +0000 (13:59 +0200)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Sat, 9 Apr 2016 00:32:02 +0000 (20:32 -0400)
commit1b32203911d5d0fe6197019f2e25027f5a5f2ad4
treef7726e8025979f2e48e4d37942b059e6b4bbea24
parent0b16a517f41acef8477c9526f799a2c18a433a82
lib/privs: Don't use CAP_NET_BROADCAST

From what I can tell, CAP_NET_BROADCAST has never been required for any
functionality in the Linux kernel, so we do not really need it.

However, it causes breakage in contexts where Quagga is started with a
limited set of capabilities, e.g. in Docker, because these may not
include CAP_NET_BROADCAST and in the case of Docker do not even support
adding CAP_NET_BROADCAST.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
lib/privs.c