Marcus Brinkmann <[EMAIL PROTECTED]> writes: > #define err_local err_system(0x3e) /* user defined errors > */ > #define err_ipc_compat err_system(0x3f) /* > (compatibility) mach-ipc errors */ > > #define err_max_system 0x3f > > Interestingly, the high bit 0x20 is indeed already in use, although I am > not sure if it can actually occur on our current system. Dropping the > highest bit will make an error value interpreted in the wrong error system, > with bad results.
err_local isn't anywhere used in a current system. err_ipc_compat only shows up if people use the special Mach 2.5 compatibility kernel interfaces. We don't do that at present. I would not object to removing those two systems, and freeing up a bit. I don't think we could afford to free up any more bits, since there are currently only six given.

