Re: [PATCH][RFA/RFC] Stack clash mitigation patch 07/08 V2

2017-07-24 Thread Jeff Law
On 07/21/2017 12:17 PM, Wilco Dijkstra wrote: > Jeff Law wrote: > >> Examples please? We should be probing the outgoing args at the probe >> interval once the total static frame is greater than 3k. The dynamic >> space should be probed by generic code. > > OK, here are a few simple example

Re: [PATCH][RFA/RFC] Stack clash mitigation patch 07/08 V2

2017-07-21 Thread Wilco Dijkstra
Jeff Law wrote:   > Examples please?  We should be probing the outgoing args at the probe > interval  once the total static frame is greater than 3k.  The dynamic > space should be probed by generic code. OK, here are a few simple examples that enable a successful jump of the stack guard despit

Re: [PATCH][RFA/RFC] Stack clash mitigation patch 07/08 V2

2017-07-19 Thread Jeff Law
On 07/19/2017 11:53 AM, Wilco Dijkstra wrote: > Hi Jeff, > > There is an issue with your AArch64 patch, it fails to apply properly and does > so silently using 'patch'. I also noticed some odd control characters in the > other > patches, but they didn't appear to fail (or at least everything buil

Re: [PATCH][RFA/RFC] Stack clash mitigation patch 07/08 V2

2017-07-19 Thread Wilco Dijkstra
Hi Jeff, There is an issue with your AArch64 patch, it fails to apply properly and does so silently using 'patch'. I also noticed some odd control characters in the other patches, but they didn't appear to fail (or at least everything builds). Anyway with -Ofast -static the overall codesize incr