aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/stackprotector.h
AgeCommit message (Collapse)AuthorFilesLines
2013-07-01MIPS: initial stack protector supportGregory Fong1-0/+40
Implements basic stack protector support based on ARM version in c743f38013aeff58ef6252601e397b5ba281c633 , with Kconfig option, constant canary value set at boot time, and script to check if compiler actually supports stack protector. Tested by creating a kernel module that writes past end of char[]. Signed-off-by: Gregory Fong <[email protected]> Cc: [email protected] Cc: Filippo Arcidiacono <[email protected]> Cc: Carmelo Amoroso <[email protected]> Patchwork: https://patchwork.linux-mips.org/patch/5448/ Signed-off-by: Ralf Baechle <[email protected]>