On May 18, 2018 10:51:36 AM PDT, Alexey Dobriyan wrote:
>On Fri, May 18, 2018 at 09:18:14AM +0200, Ingo Molnar wrote:
>> The concept of built-in kernel tooling working at the machine code
>level is just
>> so powerful - we should have added our own KCC compiler 20 years ago.
>
>...for two very se
On Fri, May 18, 2018 at 09:18:14AM +0200, Ingo Molnar wrote:
> The concept of built-in kernel tooling working at the machine code level is
> just
> so powerful - we should have added our own KCC compiler 20 years ago.
...for two very serious reasons
* C as a language moves very slowly, last hel
On Fri, May 18, 2018 at 12:27:15AM -0700, H. Peter Anvin wrote:
> On 05/18/18 00:18, Ingo Molnar wrote:
> >
> > Ok, this is cool, it addresses the robustness problem that INT3 padding
> > introduced
> > very nicely.
> >
> > The concept of built-in kernel tooling working at the machine code leve
* Ingo Molnar wrote:
>
> * Josh Poimboeuf wrote:
>
> > With the following commit:
> >
> > 51bad67ffbce ("x86/asm: Pad assembly functions with INT3 instructions")
> >
> > ... asm function alignments are padded with INT3, so it's no longer safe
> > to fall through to an aligned function. M
On 05/18/18 00:18, Ingo Molnar wrote:
>
> Ok, this is cool, it addresses the robustness problem that INT3 padding
> introduced
> very nicely.
>
> The concept of built-in kernel tooling working at the machine code level is
> just
> so powerful - we should have added our own KCC compiler 20 yea
* Peter Zijlstra wrote:
> On Thu, May 17, 2018 at 08:49:34AM -0500, Josh Poimboeuf wrote:
> > With the following commit:
> >
> > 51bad67ffbce ("x86/asm: Pad assembly functions with INT3 instructions")
> >
> > ... asm function alignments are padded with INT3, so it's no longer safe
> > to fal
* Josh Poimboeuf wrote:
> With the following commit:
>
> 51bad67ffbce ("x86/asm: Pad assembly functions with INT3 instructions")
>
> ... asm function alignments are padded with INT3, so it's no longer safe
> to fall through to an aligned function. Make sure we catch any such
> cases with ob
On Thu, May 17, 2018 at 08:49:34AM -0500, Josh Poimboeuf wrote:
> With the following commit:
>
> 51bad67ffbce ("x86/asm: Pad assembly functions with INT3 instructions")
>
> ... asm function alignments are padded with INT3, so it's no longer safe
> to fall through to an aligned function. Make s
8 matches
Mail list logo