CVSROOT: /cvs Module name: src Changes by: j...@cvs.openbsd.org 2017/07/23 08:28:22
Modified files: sbin/pflogd : pflogd.c Log message: Don't hit pledge(2) restrictions on interface departure if_exists() can't be used after dropping privileges, since it uses socket(2) and ioctl(SIOCGIFDATA). We're just trying to know whether an interface exists, and if_nametoindex(3) is enough for that. ok deraadt@