Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/external/cddl/osnet/dist/lib/libuutil/common



Module Name:    src
Committed By:   riastradh
Date:           Tue Apr 28 13:03:11 UTC 2026

Modified Files:
        src/external/cddl/osnet/dist/lib/libuutil/common: libuutil_impl.h
            uu_avl.c uu_list.c uu_misc.c

Log Message:
osnet libuutil: Use mutex_init, not mutex_unlock, in child post-fork.

Using mutex_unlock may try to wake a thread that doesn't exist in the
child, which could lead to trouble such as crash or deadlock.  But
since the child is single-threaded, it is safe to just reinitialize
the mutex memory anyway.

PR lib/59237: postfork mutex audit: mutex_init, not mutex_unlock


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
    src/external/cddl/osnet/dist/lib/libuutil/common/libuutil_impl.h \
    src/external/cddl/osnet/dist/lib/libuutil/common/uu_list.c
cvs rdiff -u -r1.1.1.2 -r1.2 \
    src/external/cddl/osnet/dist/lib/libuutil/common/uu_avl.c
cvs rdiff -u -r1.4 -r1.5 \
    src/external/cddl/osnet/dist/lib/libuutil/common/uu_misc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index