Page MenuHomeFreeBSD

Pull the PT_ATTACH case out of the 'sendsig:' block.
ClosedPublic

Authored by jhb on Nov 13 2017, 8:14 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 7 2024, 11:31 PM
Unknown Object (File)
Dec 20 2023, 12:51 AM
Unknown Object (File)
Nov 28 2023, 8:50 PM
Unknown Object (File)
Nov 25 2023, 11:16 AM
Unknown Object (File)
Nov 22 2023, 10:58 AM
Unknown Object (File)
Nov 8 2023, 3:30 PM
Unknown Object (File)
Nov 6 2023, 7:15 AM
Unknown Object (File)
Nov 1 2023, 9:22 AM
Subscribers

Details

Summary

Most of the conditionals in the 'sendsig:' block are now only different
for PT_ATTACH vs other continue requests. Pull the PT_ATTACH-specific
logic up into the PT_ATTACH case and simplify the 'sendsig:' block. This
also permits moving the unlock of proctree_lock above the sendsig: label
since PT_KILL doesn't hold the lock and and the other cases all fall
through to the label.

Test Plan
  • run the kyua ptrace tests

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 12726
Build 12995: arc lint + arc unit