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)
Fri, Nov 21, 5:53 PM
Unknown Object (File)
Fri, Nov 21, 12:25 AM
Unknown Object (File)
Wed, Nov 19, 5:49 PM
Unknown Object (File)
Tue, Nov 18, 5:10 PM
Unknown Object (File)
Oct 30 2025, 8:57 PM
Unknown Object (File)
Oct 26 2025, 7:03 AM
Unknown Object (File)
Oct 19 2025, 3:57 PM
Unknown Object (File)
Oct 19 2025, 3:57 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