NetBSD/sys/dev/filemon
sjg 756a23da8b filemon_pid_check:
Avoid recursion, and hold a reader lock on p_reflock while we
check for filemon, and until we have p_pptr.

filemon_ioctl:
Do not allow FILEMON_SET_PID unless caller would be allowed
to ptrace the target pid.

filemon_wrapper_deinstall:
Do not touch syscalls if they no longer point to us, return EBUSY.

filemon_unload:
return EBUSY if filemon_wrapper_deinstall() fails.
2012-11-19 22:20:10 +00:00
..
Makefile Install filemon.h 2012-06-20 21:38:26 +00:00
filemon.c filemon_pid_check: 2012-11-19 22:20:10 +00:00
filemon.h filemon_pid_check: 2012-11-19 22:20:10 +00:00
filemon_wrapper.c filemon_pid_check: 2012-11-19 22:20:10 +00:00
mknod-sh