HomeFreeBSD

thread: Ignore errors when copying out during thr_exit()

Description

thread: Ignore errors when copying out during thr_exit()

It does not seem reasonable to return to userspace after calling
umtx_thread_exit().

This is in preparation for annotating copyin() and related functions
with __result_use_check.

Reviewed by: olce, kib
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D43143

(cherry picked from commit f450277f7a608f26624384e046c1987490c51296)

Details

Provenance
markjAuthored on Dec 26 2023, 1:42 AM
Reviewer
olce
Differential Revision
D43143: thread: Ignore errors when copying out during thr_exit()
Parents
rG4b4f8106bdfb: jail: Ignore errors from copyout() while copying the error string
Branches
Unknown
Tags
Unknown