Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1450940
| From | Michal Marek <mmarek@suse.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2] kbuild: Abort build on bad stack protector flag |
| Date | 2016-07-27 00:00 +0200 |
| Message-ID | <rZiym-7oL-27@gated-at.bofh.it> (permalink) |
| References | <rZi5j-7eZ-21@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Dne 26.7.2016 v 23:26 Kees Cook napsal(a): > Before, the stack protector flag was sanity checked before .config had > been reprocessed. This meant the build couldn't be aborted early, and > only a warning could be emitted followed later by the compiler blowing > up with an unknown flag. This has caused a lot of confusion over time, > so this splits the flag selection from sanity checking and performs the > sanity checking after the make has been restarted from a reprocessed > .config, so builds can be aborted as early as possible now. > > Additionally moves the x86-specific sanity check to the same location, > since it suffered from the same warn-then-wait-for-compiler-failure > problem. > > Signed-off-by: Kees Cook <keescook@chromium.org> > --- > v2: > - fix use of SRCARCH, mmarek > - simplify stackp-check usage, mmarek Applied to kbuild.git#kbuild. Michal
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v2] kbuild: Abort build on bad stack protector flag Kees Cook <keescook@chromium.org> - 2016-07-26 23:30 +0200 Re: [PATCH v2] kbuild: Abort build on bad stack protector flag Michal Marek <mmarek@suse.com> - 2016-07-27 00:00 +0200
csiph-web