From 7b6f1c2d90e2ee96bf18ab14863ca4ad5c47d031 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Mon, 24 Jun 2019 16:16:42 +0200 Subject: [PATCH] tools: export more symbols from NetworkManager binary to plugins Plugins also may use nmtst_*() functions (when built with --with-more-asserts) or c_list_*(). Whitelist them too. --- 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 052968999a..b089aba2fc 100755 --- a/tools/create-exports-NetworkManager.sh +++ b/tools/create-exports-NetworkManager.sh @@ -61,7 +61,7 @@ get_symbols_missing() { ./src/devices/*/${libs} \ ./src/ppp/${libs} -name '*.so' 2>/dev/null); do call_nm "$f" | - sed -n 's/^\([U]\) \(\(nm_\|nmp_\|_nm\|NM\|_NM\|c_siphash_\).*\)$/\2/p' + sed -n 's/^\([U]\) \(\(nm_\|nmp_\|_nm\|NM\|_NM\|nmtst_\|c_siphash_\|c_list_\).*\)$/\2/p' done) | _sort | grep -Fx -f <(get_symbols_explict) -v |