[bal] Return errno constants in syscalls.