mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-06 15:30:14 +01:00
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.
This commit is contained in:
parent
e36cf1e890
commit
7b6f1c2d90
1 changed files with 1 additions and 1 deletions
|
|
@ -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 |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue