Re: [PATCHv2 1/1] ima: re-introduce own integrity cache lock

2014-06-19 Thread Dmitry Kasatkin
Hi Mimi, If there is no objections, should we queue this patch for next release? - Dmitry On 16/05/14 15:03, Dmitry Kasatkin wrote: > Before IMA appraisal was introduced, IMA was using own integrity cache > lock along with i_mutex. process_measurement and ima_file_free took > the iint->mutex fir

[PATCHv2 1/1] ima: re-introduce own integrity cache lock

2014-05-16 Thread Dmitry Kasatkin
Before IMA appraisal was introduced, IMA was using own integrity cache lock along with i_mutex. process_measurement and ima_file_free took the iint->mutex first and then the i_mutex, while setxattr, chmod and chown took the locks in reverse order. To resolve the potential deadlock, i_mutex was move