Re: [PATCH 3/4] integrity: Linux Integrity Module(LIM)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Christoph Hellwig
Date: Saturday, August 9, 2008 - 11:53 am

> +		if (integrity_inode_alloc(inode)) {

Please factor this and the lsm failure case out into a single
out_free_inode goto label.



Please put your hook into inode_permission.  Note that in inode
permission and lots of callers there is no path available so don't pass
it.  Please pass the full MAY_FOO mask for new interfaces and do
filtering that won't break if new ones are introduced.



Sorry, but I don't think we can bloat the inode even further for this.


don't bother to mention the filename in the top of file comment.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 3/4] integrity: Linux Integrity Module(LIM), Mimi Zohar, (Fri Aug 8, 11:56 am)
Re: [PATCH 3/4] integrity: Linux Integrity Module(LIM), Christoph Hellwig, (Sat Aug 9, 11:53 am)
Re: [PATCH 3/4] integrity: Linux Integrity Module(LIM), Serge E. Hallyn, (Mon Aug 11, 10:02 am)
Re: [PATCH 3/4] integrity: Linux Integrity Module(LIM), Mimi Zohar, (Mon Aug 11, 12:08 pm)
Re: [PATCH 3/4] integrity: Linux Integrity Module(LIM), Serge E. Hallyn, (Mon Aug 11, 12:56 pm)
Re: [PATCH 3/4] integrity: Linux Integrity Module(LIM), Peter Dolding, (Tue Aug 12, 1:41 am)
Re: [PATCH 3/4] integrity: Linux Integrity Module(LIM), Christoph Hellwig, (Tue Aug 12, 12:25 pm)
Re: [PATCH 3/4] integrity: Linux Integrity Module(LIM), Christoph Hellwig, (Tue Aug 12, 12:27 pm)
Re: [PATCH 3/4] integrity: Linux Integrity Module(LIM), Christoph Hellwig, (Tue Aug 12, 12:29 pm)
Re: [PATCH 3/4] integrity: Linux Integrity Module(LIM), Serge E. Hallyn, (Tue Aug 12, 2:19 pm)
Re: [PATCH 3/4] integrity: Linux Integrity Module(LIM), Peter Dolding, (Wed Aug 13, 3:44 am)
Re: [PATCH 3/4] integrity: Linux Integrity Module(LIM), David Howells, (Wed Aug 13, 7:11 am)
Re: [PATCH 3/4] integrity: Linux Integrity Module(LIM), Mimi Zohar, (Wed Aug 13, 10:03 am)
Re: [PATCH 3/4] integrity: Linux Integrity Module(LIM), Mimi Zohar, (Wed Aug 13, 10:03 am)
Re: [PATCH 3/4] integrity: Linux Integrity Module(LIM), Peter Dolding, (Wed Aug 13, 3:57 pm)