lkml.org 
[lkml]   [2009]   [Apr]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: IMA and fs
Date

Mimi Zohar:
> > xfs_iget() holds spinlock before xfs_iget_cache_hit(), and
> > ima_inode_alloc() cannot use GFP_KERNEL.
>
> This looks similar to the xfs - IMA problem discussed
> http://lkml.org/lkml/2009/2/20/327.

Yes, the same issue.
I didn't know it was discussed before.
So what is the conclusion? Are you waiting for fixing the spinlock in
xfs?


> > Does nfsd_open() need to to call ima_path_check()?
:::
> Yes, in order for the open/free to be balanced in ima_file_free().

Then how about putting ima_path_check() into __dentry_open() instead of
may_open()?


J. R. Okajima


\
 
 \ /
  Last update: 2009-04-17 16:01    [W:0.053 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site