]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libc: Add pthread_attr_get_np(3) stub, reporting ESRCH.
authorKonstantin Belousov <kib@FreeBSD.org>
Sat, 28 Nov 2020 12:19:20 +0000 (12:19 +0000)
committerKonstantin Belousov <kib@FreeBSD.org>
Sat, 28 Nov 2020 12:19:20 +0000 (12:19 +0000)
commit412ef5da8a75067e5a31fe626b776451e244fb43
tree23cf35433d5df02bdc975393223515c0a95f9417
parentcd8537910406e68d4719136a5b0cf6d23bb1b23b
libc: Add pthread_attr_get_np(3) stub, reporting ESRCH.

This seems to be required by recent clang asan.
I do not see other way than put the symbol under FBSD_1.0 version.

PR: 251112
Reported by: Andrew Stitcher <astitcher@apache.org>
Reviewed by: emaste
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D27389
lib/libc/gen/Symbol.map
lib/libc/gen/_pthread_stubs.c
lib/libc/include/libc_private.h
lib/libthr/thread/thr_init.c