]> git.ipfire.org Git - thirdparty/lldpd.git/commit
priv: always request CAP_FOWNER
authorVincent Bernat <vincent@bernat.im>
Sat, 16 Jun 2018 15:53:33 +0000 (17:53 +0200)
committerVincent Bernat <vincent@bernat.im>
Sat, 16 Jun 2018 15:56:00 +0000 (17:56 +0200)
commit83577a2b3b88f7526c56090c5701bbfe97fbc9eb
tree96c64b0b477c240e4a82f07edb7f1d41a94ba139
parent0e52112d730661f04c8164dd6e4159eebd98b961
priv: always request CAP_FOWNER

While setting ifalias has some additional checks to ensure we can do
that with CAP_NET_ADMIN, we also need CAP_FOWNER to pass the sysfs
owner check. And we have to have both as the other test still needs to
pass.
src/daemon/lldpd.c
src/daemon/lldpd.h
src/daemon/priv.c