mirror of
https://github.com/opnsense/src.git
synced 2026-06-03 13:58:30 -04:00
linux(4): Use linux_tdfind() in get_robust_list.
In the Linux emulation layer linux_tdfind() has a special purpose to handle glibc specific TID mangling and we should use it instead of tdfind(). MFC after: 2 weeks
This commit is contained in:
parent
f88d3c522f
commit
c8e9d2b7eb
1 changed files with 1 additions and 1 deletions
|
|
@ -902,7 +902,7 @@ linux_get_robust_list(struct thread *td, struct linux_get_robust_list_args *args
|
|||
KASSERT(em != NULL, ("get_robust_list: emuldata notfound.\n"));
|
||||
head = em->robust_futexes;
|
||||
} else {
|
||||
td2 = tdfind(args->pid, -1);
|
||||
td2 = linux_tdfind(td, args->pid, -1);
|
||||
if (td2 == NULL)
|
||||
return (ESRCH);
|
||||
if (SV_PROC_ABI(td2->td_proc) != SV_ABI_LINUX) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue