Add SIOCAIFADDR_IN and SIOCDIFADDR_IN to the wroute pledge
authortobhe <tobhe@openbsd.org>
Wed, 3 Feb 2021 22:46:55 +0000 (22:46 +0000)
committertobhe <tobhe@openbsd.org>
Wed, 3 Feb 2021 22:46:55 +0000 (22:46 +0000)
commit6f55e1ac3a19a9e13c1ccd7e3050c6871bb19685
treedc989897a5bf0b6927daaa7a8d16d6d283eccdc7
parent9ae62f4dfb39031110048c25e86bfecb964d3b9a
Add SIOCAIFADDR_IN and SIOCDIFADDR_IN to the wroute pledge
to allow setting and removing IPv4 addresses.
Needed for future iked(8) improvements.

Discussed with sthen@ and florian@
ok bluhm@ deraadt@
sys/kern/kern_pledge.c