Hiroki Sato
89cac24e48
- Use pget(PGET_CANDEBUG | PGET_NOTWEXIT) to determine if the specified
...
PID is valid for monitoring in FILEMON_SET_PID ioctl.
- Set the monitored PID to -1 when the process exits.
Suggested by: jilles
Tested by: sjg
MFC after: 3 days
2013-08-06 02:14:30 +00:00
David E. O'Brien
f9d4b3926a
Match the options of the kernel.
2013-06-04 06:38:01 +00:00
David E. O'Brien
93665dfffb
Iterate rather than use recursion. We can blow out the kernel stack if there
...
is a long chain of fork(2)s.
2012-10-26 15:44:29 +00:00
Marcel Moolenaar
097f09bb98
There's no need to make filemon specific to i386 and amd64. All
...
LP64 architectures define elf64_freebsd_sysvec and all ILP32
architectures define elf32_freebsd_sysvec.
2012-07-02 20:36:26 +00:00
David E. O'Brien
eb9aea5ac0
Add the 'filemon' device. 'filemon' is a kernel module that provides a device
...
interface for processes to record system calls of its children.
Submitted by: Juniper Networks.
2012-06-04 22:54:19 +00:00