OCCUPIED
if ((process->p_flags & OCCUPIED) == 0 ||
(process->p_flags & (WARNED|LIVING|OCCUPIED)) ==
(WARNED|LIVING|OCCUPIED))
(WARNED|LIVING|OCCUPIED)) ==
(WARNED|LIVING|OCCUPIED))
if ((process->p_flags & (LIVING|NAMED|TOUCHED|KILLED|OCCUPIED))
== (LIVING|NAMED|OCCUPIED)) {
} else if ((process->p_flags & (LIVING|NAMED|OCCUPIED)) ==
(NAMED|OCCUPIED)) {
if (process->p_flags & OCCUPIED &&
if (empty == NULLPROC && (process->p_flags & OCCUPIED) == 0) {
if ((process->p_flags & (LIVING|OCCUPIED)) ==
(LIVING|OCCUPIED) && process->p_pid == pid) {
if ((proc->p_flags & (OCCUPIED|LIVING|NOCLEANUP)) ==
(OCCUPIED)) {
process->p_flags = (LIVING | OCCUPIED | modes);
if (!(ptp->p_flags & OCCUPIED))