|
Lines 434-440
Link Here
|
| 434 |
* Preserve some more flags in subprocess. P_PROFIL has already |
434 |
* Preserve some more flags in subprocess. P_PROFIL has already |
| 435 |
* been preserved. |
435 |
* been preserved. |
| 436 |
*/ |
436 |
*/ |
| 437 |
p2->p_flag |= p1->p_flag & P_SUGID; |
437 |
p2->p_flag |= p1->p_flag & (P_SUGID | P_ALTSTACK); |
| 438 |
if (p1->p_session->s_ttyvp != NULL && p1->p_flag & P_CONTROLT) |
438 |
if (p1->p_session->s_ttyvp != NULL && p1->p_flag & P_CONTROLT) |
| 439 |
p2->p_flag |= P_CONTROLT; |
439 |
p2->p_flag |= P_CONTROLT; |
| 440 |
if (flags & RFPPWAIT) |
440 |
if (flags & RFPPWAIT) |