Reimplement linux_arch_prctl() as a wrapper around sysarch().
It also adds support for LINUX_ARCH_SET_GS.
Dmitri, could you test it? Thanks!
Differential D9372
Reimplement linux_arch_prctl() as a wrapper around sysarch(). trasz on Jan 29 2017, 2:56 PM. Authored by Tags None Referenced Files
Subscribers
Details Reimplement linux_arch_prctl() as a wrapper around sysarch(). Dmitri, could you test it? Thanks!
Diff Detail
Event TimelineComment Actions Forgot to mention - it changes the ordering in the case() statement to match the order of declarations of contants.
Comment Actions I should, but it's called from entirely different codepaths, and I'd prefer to not mix things at this point, since it makes debugging regressions harder. Comment Actions I did not this because I was planning to change the test of user supplied addr value against VM_MAXUSER_ADDRESS as since vdso the upper limit of address space is less than VM_MAXUSER_ADDRESS
|