Re: [TOMOYO #9 (2.6.27-rc7-mm1) 1/6] LSM adapter functions.

Kentaro Takeda
2008-10-03T06:37:37Z

Serge E. Hallyn wrote:
> Just keep your own hash table.
I see, then we want one more LSM hook for clearing the hash table
after returing from vfs_*().

foo() {
error = security_path_foo(); /* save result in the hash table */
error = vfs_foo(); /* fetch from the hash table in security_inode_*() */
security_path_clear(); /* clear the hash table */
}

Is it acceptable?

Regards,