This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] aarch64: fix speculative execution past SVC vulnerability


On 22/01/2020 10:08, Szabolcs Nagy wrote:
> On 22/01/2020 01:29, Anthony Steinhauser wrote:
>>       {								\
>>         LOAD_ARGS_##nr (args)					\
>>         register long _x8 asm ("x8") = (name);			\
>> -       asm volatile ("svc	0	// syscall " # name     \
>> +       asm volatile ("svc	0	// syscall\n\t" # name  \

\n before the name looks wrong

>> +		     "dsb	nsh\n\t"				\
>> +		     "isb"					\
>>  		     : "=r" (_x0) : "r"(_x8) ASM_ARGS_##nr : "memory");	\
>>         _sys_result = _x0;					\
>>       }								\

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]