mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Remove bogus fill_kinfo_proc() before ptrace_set_pc(). There was no need
for this. Submitted by: bde
This commit is contained in:
parent
99a17113cd
commit
1ed8cb4870
1 changed files with 0 additions and 1 deletions
|
|
@ -564,7 +564,6 @@ kern_ptrace(struct thread *td, int req, pid_t pid, void *addr, int data)
|
|||
}
|
||||
|
||||
if (addr != (void *)1) {
|
||||
fill_kinfo_proc(p, &p->p_uarea->u_kproc);
|
||||
error = ptrace_set_pc(td2, (u_long)(uintfptr_t)addr);
|
||||
if (error) {
|
||||
_PRELE(p);
|
||||
|
|
|
|||
Loading…
Reference in a new issue