Build fixes for newer kernels, Do not allow IO operations from local interface
Ubuntu 12 build fixes