1. 16 1月, 2017 3 次提交
  2. 27 7月, 2016 1 次提交
    • A
      apparmor: fix SECURITY_APPARMOR_HASH_DEFAULT parameter handling · 7616ac70
      Arnd Bergmann 提交于
      The newly added Kconfig option could never work and just causes a build error
      when disabled:
      
      security/apparmor/lsm.c:675:25: error: 'CONFIG_SECURITY_APPARMOR_HASH_DEFAULT' undeclared here (not in a function)
       bool aa_g_hash_policy = CONFIG_SECURITY_APPARMOR_HASH_DEFAULT;
      
      The problem is that the macro undefined in this case, and we need to use the IS_ENABLED()
      helper to turn it into a boolean constant.
      
      Another minor problem with the original patch is that the option is even offered
      in sysfs when SECURITY_APPARMOR_HASH is not enabled, so this also hides the option
      in that case.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Fixes: 6059f71f ("apparmor: add parameter to control whether policy hashing is used")
      Signed-off-by: NJohn Johansen <john.johansen@canonical.com>
      Signed-off-by: NJames Morris <james.l.morris@oracle.com>
      7616ac70
  3. 12 7月, 2016 3 次提交
  4. 15 8月, 2013 5 次提交
  5. 28 4月, 2013 2 次提交
  6. 10 4月, 2012 2 次提交
  7. 04 4月, 2012 1 次提交
  8. 15 3月, 2012 1 次提交
  9. 14 3月, 2012 1 次提交
    • J
      AppArmor: Fix oops in policy unpack auditing · b1b4bc2e
      John Johansen 提交于
      Post unpacking of policy a verification pass is made on x transition
      indexes.  When this fails a call to audit_iface is made resulting in an
      oops, because audit_iface is expecting a valid buffer position but
      since the failure comes from post unpack verification there is none.
      
      Make the position argument optional so that audit_iface can be called
      from post unpack verification.
      Signed-off-by: NJohn Johansen <john.johansen@canonical.com>
      b1b4bc2e
  10. 28 2月, 2012 1 次提交
  11. 10 9月, 2011 1 次提交
  12. 20 5月, 2011 1 次提交
    • R
      Create Documentation/security/, · d410fa4e
      Randy Dunlap 提交于
      move LSM-, credentials-, and keys-related files from Documentation/
        to Documentation/security/,
      add Documentation/security/00-INDEX, and
      update all occurrences of Documentation/<moved_file>
        to Documentation/security/<moved_file>.
      d410fa4e
  13. 31 3月, 2011 1 次提交
  14. 02 8月, 2010 1 次提交