key_getnewspid
if ((spp[i]->id = key_getnewspid()) == 0) {
if ((newsp->id = key_getnewspid()) == 0) {
static uint32_t key_getnewspid(void);