]> git.proxmox.com Git - mirror_frr.git/commit - lib/privs.c
lib: Fix POSIX capabilities on SunOS platforms
authorBrian Bennett <brian.bennett@joyent.com>
Tue, 17 Feb 2015 23:24:15 +0000 (23:24 +0000)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Sat, 9 Apr 2016 00:32:02 +0000 (20:32 -0400)
commit01070b9e2ea34c485a9958b89af0d7e17fb310d3
treed3558ef122e874fc40879fabff8abe56c8e4b202
parent5e060ec5e843eb8a5e56da145d1a0214687777a5
lib: Fix POSIX capabilities on SunOS platforms

When using POSIX capabilities on SunOS the capabilities are too
restricitve resulting in quagga processes not being able to read their
own config files. Credit goes to Oracle where this patch was originally
authored and included in OpenSolaris.

lib/privs.c: Include additional capabilities, better checking of
    missing capabilities.

Fixes: #820
Acked-by: Greg Troxel <gdt@ir.bbn.com>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
lib/privs.c