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, May 15, 7:23 PM
Unknown Object (File)
Fri, May 15, 7:23 PM
Unknown Object (File)
Fri, May 15, 7:13 PM
Unknown Object (File)
Apr 29 2026, 7:06 AM
Unknown Object (File)
Apr 28 2026, 12:16 AM
Unknown Object (File)
Apr 27 2026, 5:12 AM
Unknown Object (File)
Apr 19 2026, 1:35 PM
Unknown Object (File)
Apr 9 2026, 11:20 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