diff options
author | Sami Tolvanen <samitolvanen@google.com> | 2020-11-17 12:59:02 -0800 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2020-12-11 12:50:27 +0100 |
commit | 32fc4a9ad56f8260025ac766548d625509cc879f (patch) | |
tree | 8312cd3fe677ba3eb1cc8223eb71dafb2bffe5a5 /tools/perf/scripts/python/syscall-counts.py | |
parent | c7ed0e683ddbfb9349b6c25dbca3e1c8d76f5b87 (diff) |
cfg80211: fix callback type mismatches in wext-compat
Instead of casting callback functions to type iw_handler, which trips
indirect call checking with Clang's Control-Flow Integrity (CFI), add
stub functions with the correct function type for the callbacks.
Reported-by: Sedat Dilek <sedat.dilek@gmail.com>
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20201117205902.405316-1-samitolvanen@google.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions