kernel: symbolic constants for the various kernel errors
kernel: change errors to be in kernel.private.