Attacking hardened Linux systems with kernel JIT spraying
Attacking hardened Linux systems with kernel JIT spraying
Posted Nov 19, 2012 20:54 UTC (Mon) by dlang (guest, #313)In reply to: Attacking hardened Linux systems with kernel JIT spraying by nybble41
Parent article: Attacking hardened Linux systems with kernel JIT spraying
in the case of copy-on-write and lazy initialization, the page fault is accepted because of two things.
1. the work that needs to be done is significant enough that the page fault cost is relatively small in comparison.
2. In a very large percentage of cases, the page fault never happens, and so both the page fault and the initialization are avoided.
In the case of JIT modules, the page fault is expensive compared to the work being done, and the probability of triggering the page fault is high.