login
Header Space

 
 

Re: [PATCH] (2.6.24-rc3-mm2) -mm Smack mutex cleanup

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <casey@...>
Cc: <akpm@...>, <torvalds@...>, <linux-kernel@...>, <linux-security-module@...>
Date: Monday, December 3, 2007 - 7:20 pm

On 12/03/2007 07:39 PM, Casey Schaufler wrote:

Then it might be static.


Too many different changes according to the name of the patch.

[...]

Ok, it still might be atomic as a variable change, but it will break scenarios
such as

mutex_lock(&nsp->smk_lock);
create(nsp->smk_inode);
cook_a_dinner();
get_info(nsp->smk_inode);
mutex_unlock(&nsp->smk_lock);

While cook_a_dinner(), smack_inode_setsecurity() is called and the attribute
changed...

Doesn't this matter?
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] (2.6.24-rc3-mm2) -mm Smack mutex cleanup, Casey Schaufler, (Mon Dec 3, 2:39 pm)
Re: [PATCH] (2.6.24-rc3-mm2) -mm Smack mutex cleanup, Jiri Slaby, (Mon Dec 3, 7:20 pm)
Re: [PATCH] (2.6.24-rc3-mm2) -mm Smack mutex cleanup, Casey Schaufler, (Tue Dec 4, 1:04 am)
speck-geostationary