mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
build-aux: Refresh list of nonreentrant functions
There's a new twalk() function that has a reentrant variant. Add the former onto list of nonreentrant functions. Also, refresh the comment on how to get the list, because it's outdated a bit. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
parent
717790adde
commit
97457cdf65
@ -15,17 +15,17 @@
|
|||||||
## <http://www.gnu.org/licenses/>.
|
## <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
#
|
#
|
||||||
# Generated by running the following on Fedora 26:
|
# Generated by running the following on current Gentoo:
|
||||||
#
|
#
|
||||||
# nm -D --defined-only /lib64/libc.so.6 \
|
# nm -D --defined-only --without-symbol-versions /lib64/libc.so.6 \
|
||||||
# | grep '_r$' \
|
# | grep '_r$' \
|
||||||
# | awk '{print $3}' \
|
# | awk '{print $3}' \
|
||||||
# | grep -v __ \
|
# | grep -v -e '^_' -e 'qsort' -e 'readdir' \
|
||||||
# | grep -v qsort \ # Red herring since we don't need to pass extra args to qsort comparator
|
# | sort -u \
|
||||||
# | grep -v readdir \ # This is safe as long as each DIR * instance is only used by one thread
|
# | sed -s 's/_r$//'
|
||||||
# | sort \
|
#
|
||||||
# | uniq \
|
# qsort() is safe because we don't need to pass extra args to qsort comparator,
|
||||||
# | sed -e 's/_r//'
|
# readdir*() is safe as long as each DIR * instance is only used by one thread.
|
||||||
#
|
#
|
||||||
# Also manually add in all inet_* functions some of which
|
# Also manually add in all inet_* functions some of which
|
||||||
# are not threadsafe and do not have _r variants. They are
|
# are not threadsafe and do not have _r variants. They are
|
||||||
@ -94,8 +94,8 @@ NON_REENTRANT += nrand48
|
|||||||
NON_REENTRANT += ptsname
|
NON_REENTRANT += ptsname
|
||||||
NON_REENTRANT += qecvt
|
NON_REENTRANT += qecvt
|
||||||
NON_REENTRANT += qfcvt
|
NON_REENTRANT += qfcvt
|
||||||
NON_REENTRANT += random
|
|
||||||
NON_REENTRANT += rand
|
NON_REENTRANT += rand
|
||||||
|
NON_REENTRANT += random
|
||||||
NON_REENTRANT += seed48
|
NON_REENTRANT += seed48
|
||||||
NON_REENTRANT += setstate
|
NON_REENTRANT += setstate
|
||||||
NON_REENTRANT += sgetsgent
|
NON_REENTRANT += sgetsgent
|
||||||
@ -106,6 +106,7 @@ NON_REENTRANT += strerror
|
|||||||
NON_REENTRANT += strtok
|
NON_REENTRANT += strtok
|
||||||
NON_REENTRANT += tmpnam
|
NON_REENTRANT += tmpnam
|
||||||
NON_REENTRANT += ttyname
|
NON_REENTRANT += ttyname
|
||||||
|
NON_REENTRANT += twalk
|
||||||
NON_REENTRANT += inet_addr
|
NON_REENTRANT += inet_addr
|
||||||
NON_REENTRANT += inet_aton
|
NON_REENTRANT += inet_aton
|
||||||
NON_REENTRANT += inet_lnaof
|
NON_REENTRANT += inet_lnaof
|
||||||
|
Loading…
Reference in New Issue
Block a user