Random Stack Gap Before With Stackgap (3 different program executions) Wastes at most 1 page of real memory (the gap is virtual) With a stackgap of 256K, attack feasibility is reduced to 1 in 2^( n - paddingrule) This is a 3-line change to the kernel.