]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - tools/objtool/check.c
objtool, kcsan: Add explicit check functions to uaccess whitelist
authorMarco Elver <elver@google.com>
Wed, 25 Mar 2020 16:41:57 +0000 (17:41 +0100)
committerPaul E. McKenney <paulmck@kernel.org>
Tue, 14 Apr 2020 00:18:12 +0000 (17:18 -0700)
commit9967683ce5d4ce21829bbc807e006ee33cc68725
tree2875c1204616a1351ca9837c66f41b32c2b92c0f
parent757a4cefde76697af2b2c284c8a320912b77e7e6
objtool, kcsan: Add explicit check functions to uaccess whitelist

Add explicitly invoked KCSAN check functions to objtool's uaccess
whitelist. This is needed in order to permit calling into
kcsan_check_scoped_accesses() from the fast-path, which in turn calls
__kcsan_check_access().  __kcsan_check_access() is the generic variant
of the already whitelisted specializations __tsan_{read,write}N.

Signed-off-by: Marco Elver <elver@google.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
tools/objtool/check.c