version 1.2, 2009/07/19 12:56:19 |
version 1.3, 2013/10/22 16:40:28 |
|
|
* to a file held by a process (kf), else 0. |
* to a file held by a process (kf), else 0. |
*/ |
*/ |
static int |
static int |
match(struct filearg *fa, struct kinfo_file2 *kf) |
match(struct filearg *fa, struct kinfo_file *kf) |
{ |
{ |
if (fa->dev == kf->va_fsid) { |
if (fa->dev == kf->va_fsid) { |
if (cflg) |
if (cflg) |
|
|
} |
} |
|
|
/* |
/* |
* Examine kinfo_file2 struct and record the details if they |
* Examine kinfo_file struct and record the details if they |
* match a watched file. |
* match a watched file. |
*/ |
*/ |
void |
void |
fuser_check(struct kinfo_file2 *kf) |
fuser_check(struct kinfo_file *kf) |
{ |
{ |
struct filearg *fa; |
struct filearg *fa; |
struct fuser *fu; |
struct fuser *fu; |