[PATCH 0/7] CONFIG_FORTIFY_SOURCE

From: Kees Cook
Date: Mon Jun 19 2017 - 16:27:51 EST


Here are the outstanding fixes for CONFIG_FORTIFY_SOURCE, along with Daniel's
v5 patch and a tweak from me to add CONFIG_ARCH_HAS_FORTIFY_SOURCE to avoid
failing the build on architectures that have not hunted down all the needed
fixes yet.

This was in my for-next/kspp tree, but since it depends on fixes in other
trees, the preference is for these to all get carried in -mm instead of
in KSPP. The extra needed fixes in -next are:

scsi: csiostor: Avoid content leaks and casts
arm64, vdso: Define vdso_{start,end} as array
staging/rts5208: Fix read overflow in memcpy
libertas: Avoid reading past end of buffer
ray_cs: Avoid reading past end of buffer

All the other fixes are already in Linus's tree.

-Kees