protect SIOCSLIFPHYTTL, SIOCSVNETID so only root can call them, and
authordlg <dlg@openbsd.org>
Mon, 12 Oct 2015 10:49:40 +0000 (10:49 +0000)
committerdlg <dlg@openbsd.org>
Mon, 12 Oct 2015 10:49:40 +0000 (10:49 +0000)
commit5e0e427494ebd31520771a748a27b13465ee0367
treeac9c52be9c00ba6a298661ceab447841bf0d9ac3
parentb8aec9cb69f7abd5634df97c182e890e124b105a
protect SIOCSLIFPHYTTL, SIOCSVNETID so only root can call them, and
return EPNOTSUPP for SIOCGLIFPHYTTL and SIOCGVNETID. all so drivers
dont have to do these checks themselves.

ok mikeb@ mpi@
sys/net/if.c