On Nov 6, 2018, at 17:23, Andy Lutomirski wrote:
>
> On Thu, Nov 1, 2018 at 1:32 PM Chang S. Bae wrote:
>>
>> @@ -392,12 +384,7 @@ int x86_fsbase_write_task(struct task_struct *task,
>> unsigned long fsbase)
>>if (unlikely(fsbase >= TASK_SIZE_MAX))
>>return -EPERM;
>>
On Thu, Nov 1, 2018 at 1:32 PM Chang S. Bae wrote:
>
> The helper functions that purport to write the base should just write it
> only. It shouldn't have magic optimizations to change the index.
>
> Make the index explicitly changed from the caller, instead of including
> the code in the helpers.
The helper functions that purport to write the base should just write it
only. It shouldn't have magic optimizations to change the index.
Make the index explicitly changed from the caller, instead of including
the code in the helpers.
v2: Fix further on the task write functions. Revert the change
3 matches
Mail list logo