[lkml]   [2008]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [TOMOYO #9 (2.6.27-rc7-mm1) 1/6] LSM adapter functions.
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?


 \ /
  Last update: 2008-10-03 08:39    [W:0.054 / U:2.500 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site