build: fix whitelisting c-siphash symbols in NetworkManager.ver for device plugin

NetworkManager.ver needs to whitelist symbols needed by device,
settings, and ppp plugin. Fix the generator script to also allow
using c_siphash_*() symbols. These are needed by nm_hash_*().

Without this, wifi device plugin is broken.

Fixes: ccf36ff4ce
This commit is contained in:
Thomas Haller 2018-09-05 16:39:13 +02:00
parent c7c989804f
commit 921db9132e

View file

@ -51,7 +51,7 @@ get_symbols_missing() {
./src/devices/*/.libs/ \
./src/ppp/.libs/ -name '*.so'); do
call_nm "$f" |
sed -n 's/^\([U]\) \(\(nm_\|nmp_\|_nm\|NM\|_NM\).*\)$/\2/p'
sed -n 's/^\([U]\) \(\(nm_\|nmp_\|_nm\|NM\|_NM\|c_siphash_\).*\)$/\2/p'
done) |
_sort |
grep -Fx -f <(get_symbols_explict) -v |