Page MenuHomeFreeBSD

PR240989: provide just one instance of futex_list

Authored by yuripv on Oct 18 2019, 5:14 AM.



Move futex_list to linux.c so that there's only one instance in linux32/linux64/linux_common case. This fixes the problem described in the PR allowing communication between 32 and 64 bit linux processes.

The linux.c location is easiest (even if not the best?) one that doesn't otherwise require modifying the include lists.

Test Plan

Run the reproducer attached to the PR.

Diff Detail

rS FreeBSD src repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

yuripv created this revision.Oct 18 2019, 5:14 AM
dchagin accepted this revision.Oct 18 2019, 7:59 AM


This revision is now accepted and ready to land.Oct 18 2019, 7:59 AM
This revision was automatically updated to reflect the committed changes.