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
Hiroki Sato
872ce24739
Add p_candebug() check to FILEMON_SET_PID ioctl.
...
Discussed with: sjg
MFC after: 3 days
2013-08-02 14:44:11 +00:00
John Baldwin
af13de0f57
Build fix: Only <sys/cdefs.h> should be included before __FBSDID().
...
<sys/param.h> needs to be included after any "opt_foo.h" headers so it
sees the same set of defined macros as other headers.
2013-06-04 15:35:37 +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
4e359efd5b
A little bit easier to read.
2012-10-26 20:24:13 +00:00
David E. O'Brien
ab4ee4bb75
Desupport pre-FreeBSD 7.1.
2012-10-25 18:39:09 +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