On 9/23/20 3:06 PM, Yu, Yu-cheng wrote: > I think I'll add a check here for (r + 8) >= TASK_SIZE_MAX. It is > better than getting a fault. There's also wrmsr_safe().
On 9/23/20 3:06 PM, Yu, Yu-cheng wrote: > I think I'll add a check here for (r + 8) >= TASK_SIZE_MAX. It is > better than getting a fault. There's also wrmsr_safe().