mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
o Modify p_candebug() such that there is no longer automatic acceptance
of debugging the current process when that is in conflict with other restrictions (such as jail, unprivileged_procdebug_permitted, etc). o This corrects anomolies in the behavior of kern.security.unprivileged_procdebug_permitted when using truss and ktrace. The theory goes that this is now safe to use. Obtained from: TrustedBSD Project
This commit is contained in:
parent
89b1abc0bf
commit
e7f65fdcf9
1 changed files with 0 additions and 3 deletions
|
|
@ -1204,9 +1204,6 @@ p_candebug(struct proc *p1, struct proc *p2)
|
|||
{
|
||||
int error;
|
||||
|
||||
if (p1 == p2)
|
||||
return (0);
|
||||
|
||||
if ((error = prison_check(p1->p_ucred, p2->p_ucred)))
|
||||
return (error);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue