mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
Merge branch 'next-evm' of git://git.kernel.org/pub/scm/linux/kernel/git/zohar/ima-2.6 into next
Conflicts: fs/attr.c Resolve conflict manually. Signed-off-by: James Morris <[email protected]>
This commit is contained in:
commit
5a2f3a02ae
39 changed files with 1535 additions and 405 deletions
|
|
@ -13,6 +13,7 @@
|
|||
#include <linux/fsnotify.h>
|
||||
#include <linux/fcntl.h>
|
||||
#include <linux/security.h>
|
||||
#include <linux/evm.h>
|
||||
|
||||
/**
|
||||
* inode_change_ok - check if attribute changes to an inode are allowed
|
||||
|
|
@ -237,8 +238,10 @@ int notify_change(struct dentry * dentry, struct iattr * attr)
|
|||
else
|
||||
error = simple_setattr(dentry, attr);
|
||||
|
||||
if (!error)
|
||||
if (!error) {
|
||||
fsnotify_change(dentry, ia_valid);
|
||||
evm_inode_post_setattr(dentry, ia_valid);
|
||||
}
|
||||
|
||||
return error;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue