Re: PING: [PATCH] i386: Add __x86_indirect_thunk_nt_reg for -fcf-protection -mcet

2018-02-22 Thread Jan Hubicka
> On Fri, Feb 2, 2018 at 8:54 AM, H.J. Lu wrote: > > nocf_check attribute can be used with -fcf-protection -mcet to disable > > control-flow check by adding NOTRACK prefix before indirect branch. > > When -mindirect-branch=thunk-extern -mindirect-branch-register is added, > > indirect branch via r

PING^2: [PATCH] i386: Add __x86_indirect_thunk_nt_reg for -fcf-protection -mcet

2018-02-13 Thread H.J. Lu
On Thu, Feb 8, 2018 at 10:09 AM, H.J. Lu wrote: > On Fri, Feb 2, 2018 at 8:54 AM, H.J. Lu wrote: >> nocf_check attribute can be used with -fcf-protection -mcet to disable >> control-flow check by adding NOTRACK prefix before indirect branch. >> When -mindirect-branch=thunk-extern -mindirect-branc

PING: [PATCH] i386: Add __x86_indirect_thunk_nt_reg for -fcf-protection -mcet

2018-02-08 Thread H.J. Lu
On Fri, Feb 2, 2018 at 8:54 AM, H.J. Lu wrote: > nocf_check attribute can be used with -fcf-protection -mcet to disable > control-flow check by adding NOTRACK prefix before indirect branch. > When -mindirect-branch=thunk-extern -mindirect-branch-register is added, > indirect branch via register, "

[PATCH] i386: Add __x86_indirect_thunk_nt_reg for -fcf-protection -mcet

2018-02-02 Thread H.J. Lu
nocf_check attribute can be used with -fcf-protection -mcet to disable control-flow check by adding NOTRACK prefix before indirect branch. When -mindirect-branch=thunk-extern -mindirect-branch-register is added, indirect branch via register, "notrack call/jmp reg", is converted to call/jmp __x