to allow setting and removing IPv4 addresses.
Needed for future iked(8) improvements.
Discussed with sthen@ and florian@
ok bluhm@ deraadt@
-/* $OpenBSD: kern_pledge.c,v 1.269 2021/01/20 16:36:09 bluhm Exp $ */
+/* $OpenBSD: kern_pledge.c,v 1.270 2021/02/03 22:46:55 tobhe Exp $ */
/*
* Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org>
if ((pl & PLEDGE_WROUTE)) {
switch (com) {
+ case SIOCAIFADDR:
+ case SIOCDIFADDR:
case SIOCAIFADDR_IN6:
case SIOCDIFADDR_IN6:
if (fp->f_type == DTYPE_SOCKET)