Page MenuHomeFreeBSD

Linuxolator: Replace use of eventhandlers by sysent hooks.
ClosedPublic

Authored by kib on Nov 21 2020, 11:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 23, 7:02 AM
Unknown Object (File)
Nov 23 2024, 9:38 AM
Unknown Object (File)
Nov 23 2024, 1:22 AM
Unknown Object (File)
Nov 22 2024, 2:19 AM
Unknown Object (File)
Nov 19 2024, 8:09 AM
Unknown Object (File)
Nov 19 2024, 5:07 AM
Unknown Object (File)
Nov 19 2024, 4:50 AM
Unknown Object (File)
Nov 19 2024, 3:30 AM
Subscribers

Details

Summary

Add necessary hooks for Linuxolator to see exec/exit, and thread destruction. IMO this is how it should have been done from the start.

Note that for thread destruction sysent hook, the replacement of the existing eventhandler is not equivalent: call is done much earlier while thread is still attached to the process. This is done so that p_sysent is still available, and in principle it should provide more context information to the hook, but for now it is unused since only linuxolator uses it. Also, process lock is owned there.

Test Plan

Not tested.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 34948