lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <11555.1239976666@jrobl>
Date:	Fri, 17 Apr 2009 22:57:46 +0900
From:	hooanon05@...oo.co.jp
To:	Mimi Zohar <zohar@...ibm.com>
Cc:	linux-kernel@...r.kernel.org,
	david safford <safford@...son.ibm.com>
Subject: Re: IMA and fs 


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ