On Sun, 13 Oct 2024 10:06:14 -0700 Anjali Kulkarni wrote:
However, for threads, when it does a pthread_exit(&exit_status) call, the kernel is not aware of the exit status with which pthread_exit is called. It is sent by child thread to the parent process, if it is waiting in pthread_join(). Hence, for a thread exiting abnormally, kernel cannot send notifications to any listening processes.
I really don't think this should be going via networking. We can help review the netlink bits, if any, but otherwise we are far outside of our comfort zone.
IOW when you repost please drop the net-next designation and you'll need to find someone else to merge these patches, or send a PR directly to Linus himself during the merge window.