linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* System Call trashing registers
@ 2023-08-24 16:15 Joshua Hudson
  2023-08-28 15:06 ` Pavel Machek
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Joshua Hudson @ 2023-08-24 16:15 UTC (permalink / raw)
  To: linux-kernel

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.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-09-01 18:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-24 16:15 System Call trashing registers Joshua Hudson
2023-08-28 15:06 ` Pavel Machek
2023-08-28 16:41   ` Joshua Hudson
2023-08-28 17:06 ` David Laight
2023-08-28 17:11   ` Joshua Hudson
2023-09-01 16:24 ` Ammar Faizi
2023-09-01 17:03   ` Thomas Gleixner
2023-09-01 17:38   ` Joshua Hudson
2023-09-01 18:49     ` Thomas Gleixner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).