From 921db9132ec64c2dc464a95f2aca45b458a0cf4d Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Wed, 5 Sep 2018 16:39:13 +0200 Subject: [PATCH] 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: ccf36ff4cea6eb6a7ecd872563dfbd3a00f8cfdf --- tools/create-exports-NetworkManager.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/create-exports-NetworkManager.sh b/tools/create-exports-NetworkManager.sh index 68752c54ab..3c2494e1dc 100755 --- a/tools/create-exports-NetworkManager.sh +++ b/tools/create-exports-NetworkManager.sh @@ -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 |