numam-dpdk/devtools
Neil Horman 5a5f4676eb devtools: fix regex in symbol addition check
The regex to determine the end of the map file chunk in a patch seems to
be wrong,  It was using perl regex syntax, which awk doesn't appear to
support (I'm still not sure how it was working previously).  Regardless,
it wasn't triggering and as a result symbols were getting added to the
mapdb that shouldn't be there.

Fix it by converting the regex to use traditional posix syntax, matching
only on the negation of the character class [^map]

Tested and shown to be working on the ip_frag patch set provided by
doucette@bu.edu

Fixes: 4bec48184e ("devtools: add checks for ABI symbol addition")
Cc: stable@dpdk.org

Reported-by: Cody Doucette <doucette@bu.edu>
Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
2018-11-18 23:38:26 +01:00
..
cocci eal: support strlcpy function 2018-04-04 17:33:08 +02:00
build-tags.sh tools: use SPDX tag for Cavium copyright files 2018-01-09 16:19:01 +01:00
check-dup-includes.sh use SPDX license tag in Mellanox copyrighted files 2018-05-25 10:33:33 +02:00
check-forbidden-tokens.awk devtools: add explicit warnings for forbidden tokens 2018-11-04 21:54:04 +01:00
check-git-log.sh devtools: add git log checks for PHY 2018-10-25 16:52:43 +02:00
check-includes.sh devtools: use a common prefix for temporary files 2018-10-01 23:51:45 +02:00
check-maintainers.sh use SPDX tag for 6WIND copyrighted files 2018-05-25 10:47:06 +02:00
check-symbol-change.sh devtools: fix regex in symbol addition check 2018-11-18 23:38:26 +01:00
check-symbol-maps.sh devtools: check orphan symbols in map files 2018-05-29 17:43:33 +02:00
checkpatches.sh devtools: add explicit warnings for forbidden tokens 2018-11-04 21:54:04 +01:00
cocci.sh devtools: use a common prefix for temporary files 2018-10-01 23:51:45 +02:00
get-maintainer.sh devtools: check Linux script path if directory 2018-05-23 00:33:35 +02:00
git-log-fixes.sh use SPDX tag for 6WIND copyrighted files 2018-05-25 10:47:06 +02:00
load-devel-config scripts: move to devtools 2017-01-04 21:17:32 +01:00
test-build.sh telemetry: add client feature and sockets 2018-10-27 15:18:23 +02:00
test-meson-builds.sh devtools: use shared libs to save space in build test 2018-09-18 15:11:46 +02:00
test-null.sh use SPDX tag for 6WIND copyrighted files 2018-05-25 10:47:06 +02:00
validate-abi.sh compat: relicense some files 2018-02-06 23:13:47 +01:00