diff --git a/kernel-patches/for-mainline/notes.txt b/kernel-patches/for-mainline/notes.txt new file mode 100644 index 000000000..ecc5636f9 --- /dev/null +++ b/kernel-patches/for-mainline/notes.txt @@ -0,0 +1,12 @@ +inode_setattr hook +================== + +* Reiserfs uses private directories and files for storing xattrs. + It should set ATTR_FORCE when changing attributes on these + files and directories with notify_change(). This may save us + from constructing temporary struct path objects there. + +* AppArmor should check for ATTR_FORCE in its inode_setattr hook, + and should not log or deny ATTR_FORCE setattrs. SELinux does + that already as well. +