Re: System Call trashing registers

From: Pavel Machek
Date: Mon Aug 28 2023 - 11:07:23 EST


Hi!

> 1) A lot of my old 32-bit programs don't work on x64 linux anymore
> because int 80h now trashes ecx and edx. This hasn't been a serious
> problem for me.
>
> 2) syscall is documented to trash rcx and r11.
>
> What I don't understand is why this hasn't ever led to a security
> issue due to leaking values from kernel space (in the trashed
> registers) back to userspace.

I guess you should cc x86 maintainers?

I guess this is a regression? When did it start?

BR,
Pavel
--
People of Russia, stop Putin before his war on Ukraine escalates.

Attachment: signature.asc
Description: PGP signature