Want support for building with -fstack-protector
Stack smashing protection (in the form of gcc's -fstack-protector and family) is the default in the latest version of GCC, will soon be the default for the Linux kernel, and has been the default across most of the BSD family for years. We should support building with it.
This requires a small addition to the kernel and libc (the exception handler and an init function to generate a stack canary value). For starters we should make the kernel build work, since we have all the relevant code in one place and panic() exists to let us safely get out of a broken context.
Updated by Electric Monk almost 7 years ago
- Status changed from New to Closed
- % Done changed from 30 to 100
commit 6a59053b922dcd35760db6b042abda7cb6ef1c80 Author: Alex Wilson <email@example.com> Date: 2015-08-10T22:47:52.000Z 5922 Want support for building with -fstack-protector Reviewed by: Josef 'Jeff' Sipek <firstname.lastname@example.org> Reviewed by: Richard Lowe <email@example.com> Approved by: Robert Mustacchi <firstname.lastname@example.org>