[PATCH 2/4] key: Consistently return errno from syscall wrappers