linux/drivers/misc
Sami Tolvanen 6c4df54ed2 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
2021-04-08 16:04:22 -07:00
..
altera-stapl altera-stapl: remove the unreached switch case 2020-12-09 19:53:03 +01:00
bcm-vk misc: bcm-vk: only support ttyVK if CONFIG_TTY is set 2021-02-04 00:48:58 +01:00
c2port
cardreader misc: rtsx: init of rts522a add OCP power off when no card is present 2021-02-04 17:09:32 +01:00
cb710
cxl Char/Misc driver patches for 5.12-rc1 2021-02-24 10:25:37 -08:00
echo
eeprom misc: eeprom_93xx46: Add quirk to support Microchip 93LC46B eeprom 2021-01-20 18:52:12 +01:00
genwqe misc: genwqe: Use dma_set_mask_and_coherent to simplify code 2020-12-09 19:43:02 +01:00
habanalabs habanalabs: fix debugfs address translation 2021-03-10 09:16:09 +01:00
ibmasm
lis3lv02d
lkdtm lkdtm: use function_nocfi 2021-04-08 16:04:22 -07:00
mei mei: allow map and unmap of client dma buffer only for disconnected client 2021-03-23 15:15:15 +01:00
ocxl ocxl: use DEFINE_MUTEX() for mutex lock 2021-01-30 11:39:21 +11:00
sgi-gru
sgi-xp sgi-xp: remove h from printk format specifier 2021-01-26 19:36:02 +01:00
ti-st
uacce
vmw_vmci drivers/misc/vmw_vmci: restrict too big queue size in qp_host_alloc_queue 2021-02-09 12:22:32 +01:00
Kconfig misc: pti: Remove driver for deprecated platform 2021-01-27 13:35:01 +01:00
Makefile misc: pti: Remove driver for deprecated platform 2021-01-27 13:35:01 +01:00
ad525x_dpot-i2c.c
ad525x_dpot-spi.c
ad525x_dpot.c
ad525x_dpot.h
apds990x.c
apds9802als.c
atmel-ssc.c
bh1770glc.c
cs5535-mfgpt.c
ds1682.c
dummy-irq.c
enclosure.c
fastrpc.c misc: fastrpc: restrict user apps from sending kernel RPC messages 2021-03-10 17:01:29 +01:00
hisi_hikey_usb.c
hmc6352.c
hpilo.c
hpilo.h
ibmvmc.c vio: make remove callback return void 2021-03-02 22:41:23 +11:00
ibmvmc.h
ics932s401.c
isl29003.c misc: isl29003: Fix typo for get/set mode 2020-12-09 19:35:34 +01:00
isl29020.c
kgdbts.c
lattice-ecp3-config.c
pch_phub.c
pci_endpoint_test.c PCI: Add TI J721E device to PCI IDs 2021-02-23 14:12:41 -06:00
phantom.c
pvpanic.c misc/pvpanic: Export module FDT device table 2021-03-10 17:07:58 +01:00
qcom-coincell.c
sram-exec.c
sram.c treewide: Change list_sort to use const pointers 2021-04-08 16:04:22 -07:00
sram.h
tifm_7xx1.c
tifm_core.c
tsl2550.c
vmw_balloon.c
xilinx_sdfec.c