Only in TAME_ROUTE, allow ioctl SIOCGIFADDR/SIOCGIFFLAGS/SIOCGIFRDOMAIN,
authorderaadt <deraadt@openbsd.org>
Thu, 8 Oct 2015 13:21:06 +0000 (13:21 +0000)
committerderaadt <deraadt@openbsd.org>
Thu, 8 Oct 2015 13:21:06 +0000 (13:21 +0000)
commit4062be089a687045c379bafe511bba4a87d651da
treec7c2b97d0cde9bcb5a9c1b12ee25e9bb2872b7af
parentd5cafc5de625d6e3bcbf3ab2d8925023cba4612d
Only in TAME_ROUTE, allow ioctl SIOCGIFADDR/SIOCGIFFLAGS/SIOCGIFRDOMAIN,
because many routing daemon processes with this attribute need to fetch
that information to work.
discussed with claudio and renato
sys/kern/kern_tame.c