~ubuntu-branches/ubuntu/wily/apparmor/wily

« back to all changes in this revision

Viewing changes to kernel-patches/for-mainline/notes.txt

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2011-04-27 10:38:07 UTC
  • mfrom: (5.1.118 natty)
  • Revision ID: james.westby@ubuntu.com-20110427103807-ym3rhwys6o84ith0
Tags: 2.6.1-2
debian/copyright: clarify for some full organization names.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
inode_setattr hook
2
 
==================
3
 
 
4
 
* Reiserfs uses private directories and files for storing xattrs.
5
 
  It should set ATTR_FORCE when changing attributes on these
6
 
  files and directories with notify_change(). This may save us
7
 
  from constructing temporary struct path objects there.
8
 
 
9
 
* AppArmor should check for ATTR_FORCE in its inode_setattr hook,
10
 
  and should not log or deny ATTR_FORCE setattrs. SELinux does
11
 
  that already as well. (For private inodes, the security_*
12
 
  functions already skip the lsm hooks though, so this may be
13
 
  unnecessary.)
14