|
Lines 1084-1090
Link Here
|
| 1084 |
/* add a CAP_SYS_PTRACE here? */ |
1084 |
/* add a CAP_SYS_PTRACE here? */ |
| 1085 |
if (p1->p_cred->pc_ucred->cr_uid != p2->p_cred->p_ruid || |
1085 |
if (p1->p_cred->pc_ucred->cr_uid != p2->p_cred->p_ruid || |
| 1086 |
p1->p_cred->p_ruid != p2->p_cred->p_ruid || |
1086 |
p1->p_cred->p_ruid != p2->p_cred->p_ruid || |
| 1087 |
p1->p_cred->p_svuid == p2->p_cred->p_ruid || |
1087 |
p1->p_cred->p_svuid != p2->p_cred->p_ruid || |
| 1088 |
p2->p_flag & P_SUGID) { |
1088 |
p2->p_flag & P_SUGID) { |
| 1089 |
if ((error = suser_xxx(0, p1, PRISON_ROOT))) |
1089 |
if ((error = suser_xxx(0, p1, PRISON_ROOT))) |
| 1090 |
return (error); |
1090 |
return (error); |