mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-09-03 15:55:46 +00:00
- Keep some notes here lest we forget.
This commit is contained in:
12
kernel-patches/for-mainline/notes.txt
Normal file
12
kernel-patches/for-mainline/notes.txt
Normal file
@@ -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.
|
||||||
|
|
Reference in New Issue
Block a user