ALL_SETTABLE_FLAGS
if ((P->status.pr_flags & ALL_SETTABLE_FLAGS) != 0)
(void) Punsetflags(P, ALL_SETTABLE_FLAGS);
if ((P->status.pr_flags & ALL_SETTABLE_FLAGS) !=
(flags = (P->orig_status.pr_flags & ALL_SETTABLE_FLAGS))) {
(void) Punsetflags(P, ALL_SETTABLE_FLAGS);