Page MenuHomeFreeBSD

amd64 sendsig(): explicitly copy registers from trapframe to ucontext
ClosedPublic

Authored by kib on Mar 29 2026, 8:10 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 14, 5:23 AM
Unknown Object (File)
Sun, May 10, 11:00 AM
Unknown Object (File)
Sun, May 10, 11:00 AM
Unknown Object (File)
Apr 29 2026, 10:31 AM
Unknown Object (File)
Apr 29 2026, 7:27 AM
Unknown Object (File)
Apr 29 2026, 7:22 AM
Unknown Object (File)
Apr 27 2026, 1:36 PM
Unknown Object (File)
Apr 27 2026, 8:28 AM
Subscribers

Details

Summary
With the IDT event delivery, previously reserved fields in tf_cs and
tf_ss are guaranteed to be zero. With FRED, these fields are not zero,
which affects the values copied to userspace.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable