]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
powerpc: Initial stack protector (-fstack-protector) support
authorChristophe Leroy <christophe.leroy@c-s.fr>
Tue, 22 Nov 2016 10:49:30 +0000 (11:49 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 23 Nov 2016 11:57:15 +0000 (22:57 +1100)
commit6533b7c16ee5712041b4e324100550e02a9a5dda
tree4a177902f8805cd188f851154d24a673dc1b5449
parentd0563a1297e234ed37f6b51c2e9321accebd1839
powerpc: Initial stack protector (-fstack-protector) support

Partialy copied from commit c743f38013aef ("ARM: initial stack protector
(-fstack-protector) support")

This is the very basic stuff without the changing canary upon
task switch yet.  Just the Kconfig option and a constant canary
value initialized at boot time.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/Kconfig
arch/powerpc/include/asm/stackprotector.h [new file with mode: 0644]
arch/powerpc/kernel/Makefile
arch/powerpc/kernel/process.c