Page MenuHomeFreeBSD

Don't allow debuggers to modify SSTATUS, only to read it.
ClosedPublic

Authored by jhb on Oct 30 2018, 11:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 30, 8:57 PM
Unknown Object (File)
Sun, Oct 26, 7:03 AM
Unknown Object (File)
Sun, Oct 19, 3:57 PM
Unknown Object (File)
Sun, Oct 19, 3:57 PM
Unknown Object (File)
Sun, Oct 19, 1:29 AM
Unknown Object (File)
Sat, Oct 18, 1:57 PM
Unknown Object (File)
Sep 25 2025, 9:02 AM
Unknown Object (File)
Sep 14 2025, 10:23 PM
Subscribers

Details

Test Plan
  • basic gdb of live processes still works. Trying to set $status in gdb doesn't now fails to do anything. (I didn't actually try it on an old kernel to see what would have happened, but I supsect it wouldn't have worked out well.)

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable