move function handlers back to Linux for now, segfaulting NetBSD