summaryrefslogtreecommitdiffstats
path: root/arch/x86/include
diff options
context:
space:
mode:
authorKees Cook2017-05-26 06:44:38 +0200
committerKees Cook2017-06-23 01:21:43 +0200
commit1854c19cae0d108637c40f90ee0bb9b7c1adbc0a (patch)
treea25be4ad05ab2eeff5bb88ab4ef5b36fa411eca5 /arch/x86/include
parentrandstruct: Whitelist big_key path struct overloading (diff)
downloadkernel-qcow2-linux-1854c19cae0d108637c40f90ee0bb9b7c1adbc0a.tar.gz
kernel-qcow2-linux-1854c19cae0d108637c40f90ee0bb9b7c1adbc0a.tar.xz
kernel-qcow2-linux-1854c19cae0d108637c40f90ee0bb9b7c1adbc0a.zip
randstruct: Whitelist NIU struct page overloading
The NIU ethernet driver intentionally stores a page struct pointer on top of the "mapping" field. Whitelist this case: drivers/net/ethernet/sun/niu.c: In function ‘niu_rx_pkt_ignore’: drivers/net/ethernet/sun/niu.c:3402:10: note: found mismatched ssa struct pointer types: ‘struct page’ and ‘struct address_space’ *link = (struct page *) page->mapping; ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Cc: David S. Miller <davem@davemloft.net> Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'arch/x86/include')
0 files changed, 0 insertions, 0 deletions