Module Name: src Committed By: thorpej Date: Tue Sep 28 14:52:22 UTC 2021
Modified Files: src/sys/kern: kern_exec.c Log Message: In the exec path, multi-LWP programs dispose of their robust futexes by calling exit_lwps(), except for the last LWP. So, dispose of that LWP's robust futexes right before calling lwp_ctl_exit(). Fixes a "WARNING: ... : unmapped robust futex list head" message when running bash under Linux emulation on aarch64. Root caused and patch proposed by ryo@. I have tweaked it slightly, just to add a comment and a KASSERT(). To generate a diff of this commit: cvs rdiff -u -r1.506 -r1.507 src/sys/kern/kern_exec.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.