errno stuff, removed DIR* stupidness from the kernel side