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)
Sat, Aug 22, 8:57 AM
Unknown Object (File)
Sat, Aug 22, 8:54 AM
Unknown Object (File)
Fri, Aug 21, 7:07 AM
Unknown Object (File)
Thu, Aug 13, 1:30 AM
Unknown Object (File)
Wed, Aug 12, 1:56 PM
Unknown Object (File)
Mon, Aug 10, 1:20 AM
Unknown Object (File)
Sat, Aug 8, 3:40 AM
Unknown Object (File)
Fri, Aug 7, 6:22 AM
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