Re: don't allow changing the if_type of tun(4) and tap(4) interfaces from userland
On Mon, Jun 10, 2019 at 04:19:47PM +1000, David Gwynne wrote:
> making tun(4) not IFT_TUNNEL and tap(4) not IFT_ETHER makes for some
> interesting possibilities for fun with the rest of the kernel. I think
> we should just not allow the if_types to be changed.
> I have another diff somewhere to prevent changing the flags
> (IFF_BROADCAST etc) somewhere too, but we can start here.