HomeFreeBSD

filemon: Track the process pointer rather than a pid.

Description

filemon: Track the process pointer rather than a pid.

The process is not held since the process_exit hook is called after the
exithold. There is no need to hold the process since the hook will
always see it exiting via the process_exit event.

MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division

Details

Provenance
bdreweryAuthored on
Parents
rS295026: filemon_open: Don't record a process to trace here.
Branches
Unknown
Tags
Unknown