Commit Graph
1 Commits
Author SHA1 Message Date
Gregory Fong 36ecafc5ad MIPS: initial stack protector support
Implements basic stack protector support based on ARM version in
c743f38013 , 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]>
2013-07-01 15:10:48 +02:00