ref: 2149600d129944f60cbc858bc669193af0523409
parent: 128ea44a89c7905612ad2fa5a61a9325ddfb5e1e
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Mon Aug 26 23:47:18 EDT 2019
kernel: catch execution read fault on SG_NOEXEC segment fault() now has an additional pc argument that is used to detect fault on a non-executable segment. that is, we check on read fault if the segment has the SG_NOEXEC attribute and the program counter is within faulting page.