xfs-masters
[Top] [All Lists]

Re: IMA and fs

To: hooanon05@xxxxxxxxxxx
Subject: Re: IMA and fs
From: Mimi Zohar <zohar@xxxxxxxxxx>
Date: Fri, 17 Apr 2009 14:20:20 -0400
Cc: linux-kernel@xxxxxxxxxxxxxxx, xfs-masters@xxxxxxxxxxx, david safford <safford@xxxxxxxxxxxxxx>
In-reply-to: <11555.1239976666@jrobl>
References: <15909.1239887985@jrobl> <OF1283DDC6.0AD2926E-ON8525759B.004938DD-8525759B.004A1887@xxxxxxxxxx> <11555.1239976666@jrobl>
hooanon05@xxxxxxxxxxx wrote on 04/17/2009 09:57:46 AM:

> 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?

Yes. I just assumed, incorrectly, the xfs maintainer was notified.
Am copying the xfs maintainer now.

> > > 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

Interesting.  Am looking into it.

Thanks!

Mimi Zohar

<Prev in Thread] Current Thread [Next in Thread>
  • Re: IMA and fs, Mimi Zohar <=