curproc
#define curproc (_curproc()) /* current proc pointer */
#define curproc (ttoproc(curthread)) /* current process pointer */