kinit()
initializes all internal runtime LAM data structures, most notably
those necessary for interfacing with the LAM daemon.
The
priority
argument sets the calling process's message synchronizing priority.
Every LAM process must call
kinit()
prior to any other LAM function, however this is usually done
as part of a call to kenter(2).
kinit()
calls kattach(2) after initialization to register the process with
the local LAM daemon.
ERRORS
ENOKDESCRIPTORS
The LAM daemon is out of process descriptors and is unable to attach
additional processes.