diff options
author | Jonas Gorski <jonas.gorski@gmail.com> | 2017-11-03 10:59:00 +0100 |
---|---|---|
committer | Jonas Gorski <jonas.gorski@gmail.com> | 2017-11-07 22:58:46 +0100 |
commit | e26ffb31dfa30d498b963a86d231835e3af7d3df (patch) | |
tree | fcedd12890c9b4e7c02b7bfc4a2d60831620a562 /include/hardening.mk | |
parent | 1928fc93ced752bd1e304ab3837fb41e7a80b9d9 (diff) | |
download | upstream-e26ffb31dfa30d498b963a86d231835e3af7d3df.tar.gz upstream-e26ffb31dfa30d498b963a86d231835e3af7d3df.tar.bz2 upstream-e26ffb31dfa30d498b963a86d231835e3af7d3df.zip |
build: fix module symbol collection if build_dir is a symlink
If PKG_BUILD_DIR contains symlinks, the generated Module.symvers will
contain the resolved paths, not the virtual path with the symlink name.
This breaks the filter for the module's own symbols, so to fix this
ensure we also grep for the resolved path.
Reported-by: Roman Yeryomin <roman@advem.lv>
Tested-by: Roman Yeryomin <roman@advem.lv>
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Diffstat (limited to 'include/hardening.mk')
0 files changed, 0 insertions, 0 deletions