Re: [PATCH] integrity: add ima_counts_put (updated)

From: hooanon05
Date: Mon Jun 29 2009 - 16:36:56 EST



Mimi Zohar:
> This suggestion has been mentioned before; and yes would definitely
> resolve the annoying imbalance and iint_free() messages. But
> incrementing/decrementing the pointers automatically each time a file is
> opened/closed would defeat their purpose - alerting us that a file was
> possibly not measured before being read/executed.

I may be wrong since I don't fully understand IMA's purpose, but why did
you create ima_counts_get() and make it call after dentry_open() in
nfsd_open()? Isn't it same thing essentially?


J. R. Okajima
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/