diff options
| author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2015-04-20 10:20:26 +0930 |
|---|---|---|
| committer | Ben Hutchings <ben@decadent.org.uk> | 2017-11-11 13:33:42 +0000 |
| commit | a74cbb37bb2fe6a700eba93000347b12659bc844 (patch) | |
| tree | abdd3fe5ea1acdbb20d576ec8a1403ec04fbfc87 /include/linux/init_task.h | |
| parent | 987b13a4f0a5f92909ec2eeba885e5abe67abef8 (diff) | |
modpost: expand pattern matching to support substring matches
commit 09c20c032b0f753969ae778d9783d946f054d7fe upstream.
Currently the match() function supports a leading * to match any
prefix and a trailing * to match any suffix. However there currently
is not a combination of both that can be used to target matches of
whole families of functions that share a common substring.
Here we expand the *foo and foo* match to also support *foo* with
the goal of targeting compiler generated symbol names that contain
strings like ".constprop." and ".isra."
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'include/linux/init_task.h')
0 files changed, 0 insertions, 0 deletions
