Searched refs:newsess (Results 1 – 1 of 1) sorted by relevance
331 struct session *newsess; in sys_setsid() local337 newsess = malloc(sizeof(struct session), M_SESSION, M_WAITOK | M_ZERO); in sys_setsid()346 (void)enterpgrp(p, p->p_pid, newpgrp, newsess); in sys_setsid()349 newsess = NULL; in sys_setsid()355 free(newsess, M_SESSION); in sys_setsid()