[patch 18/18] entry, treewide: Make syscall_enter_from_user_mode[_work]() indicate syscall execution

Thomas Gleixner tglx at kernel.org
Wed Jul 8 02:16:25 PDT 2026


On Wed, Jul 08 2026 at 10:51, Shrikanth Hegde wrote:
> On 7/8/26 12:37 AM, Thomas Gleixner wrote:
>> -	r0 = syscall_enter_from_user_mode_randomize_stack(regs, r0);
>> +	if (unlikely(!syscall_enter_from_user_mode_randomize_stack(regs, &r0))
>> +		return syscall_get_error(current, regs);
>>   
>
> There is one missing )

Bah.



More information about the linux-riscv mailing list