1. 11 6月, 2017 1 次提交
    • J
      apparmor: add policy revision file interface · d9bf2c26
      John Johansen 提交于
      Add a policy revision file to find the current revision of a ns's policy.
      There is a revision file per ns, as well as a virtualized global revision
      file in the base apparmor fs directory. The global revision file when
      opened will provide the revision of the opening task namespace.
      
      The revision file can be waited on via select/poll to detect apparmor
      policy changes from the last read revision of the opened file. This
      means that the revision file must be read after the select/poll other
      wise update data will remain ready for reading.
      Signed-off-by: NJohn Johansen <john.johansen@canonical.com>
      d9bf2c26
  2. 09 6月, 2017 3 次提交
  3. 16 1月, 2017 4 次提交
  4. 15 8月, 2013 3 次提交
  5. 28 2月, 2012 3 次提交
  6. 02 8月, 2010 1 次提交
    • J
      AppArmor: userspace interfaces · 63e2b423
      John Johansen 提交于
      The /proc/<pid>/attr/* interface is used for process introspection and
      commands.  While the apparmorfs interface is used for global introspection
      and loading and removing policy.
      
      The interface currently only contains the files necessary for loading
      policy, and will be extended in the future to include sysfs style
      single per file introspection inteface.
      
      The old AppArmor 2.4 interface files have been removed into a compatibility
      patch, that distros can use to maintain backwards compatibility.
      Signed-off-by: NJohn Johansen <john.johansen@canonical.com>
      Signed-off-by: NJames Morris <jmorris@namei.org>
      63e2b423