diff options
author | Chris Luke <chrisy@flirble.org> | 2011-10-18 17:26:51 +0400 |
---|---|---|
committer | Denis Ovsienko <infrastation@yandex.ru> | 2011-11-15 21:26:07 +0400 |
commit | 90d181bd1a7e03d41df3cb2f51530ab47d818caa (patch) | |
tree | 56b456db3e8f9f23a34433c2515ddf962e33ded2 /isisd/include-netbsd/.cvsignore | |
parent | 70e3ca2ccedca2cae58bd91c968714cad0f9d5d6 (diff) |
bgpd: justify capabilities for TOS setting
To set the TOS bits on TCP connections, platforms that restrict
capabilities need the priv level to be raised before the sockopt
is set, and this requires the ZCAP_NET_ADMIN priv.
* bgp_main.c: update _caps_p to include ZCAP_NET_ADMIN
* bgp_network.c
* bgp_connect(): request ZPRIVS_RAISE/ZPRIVS_LOWER
* bgp_listener(): request ZPRIVS_RAISE earlier
Diffstat (limited to 'isisd/include-netbsd/.cvsignore')
0 files changed, 0 insertions, 0 deletions