summaryrefslogtreecommitdiffstats
path: root/Documentation/hwmon/sht3x.rst
diff options
context:
space:
mode:
authorSami Tolvanen <samitolvanen@google.com>2021-04-08 11:28:35 -0700
committerKees Cook <keescook@chromium.org>2021-04-08 16:04:22 -0700
commit6c4df54ed293f6383efb97fca0e643b8dcbc3769 (patch)
tree82f453876971aeb991bfc1210db1e8a5c2f1620d /Documentation/hwmon/sht3x.rst
parent4f0f586bf0c898233d8f316f471a21db2abd522d (diff)
downloadlinux-6c4df54ed293f6383efb97fca0e643b8dcbc3769.tar.gz
linux-6c4df54ed293f6383efb97fca0e643b8dcbc3769.tar.bz2
linux-6c4df54ed293f6383efb97fca0e643b8dcbc3769.zip
lkdtm: use function_nocfi
To ensure we take the actual address of a function in kernel text, use function_nocfi. Otherwise, with CONFIG_CFI_CLANG, the compiler replaces the address with a pointer to the CFI jump table, which is actually in the module when compiled with CONFIG_LKDTM=m. Signed-off-by: Sami Tolvanen <samitolvanen@google.com> Acked-by: Kees Cook <keescook@chromium.org> Tested-by: Nathan Chancellor <nathan@kernel.org> Signed-off-by: Kees Cook <keescook@chromium.org> Link: https://lore.kernel.org/r/20210408182843.1754385-11-samitolvanen@google.com
Diffstat (limited to 'Documentation/hwmon/sht3x.rst')
0 files changed, 0 insertions, 0 deletions