1. 21 9月, 2012 1 次提交
  2. 01 6月, 2012 2 次提交
  3. 19 5月, 2012 2 次提交
  4. 14 4月, 2012 2 次提交
  5. 10 4月, 2012 4 次提交
  6. 04 4月, 2012 2 次提交
  7. 27 3月, 2012 1 次提交
  8. 20 3月, 2012 1 次提交
  9. 15 3月, 2012 2 次提交
  10. 14 3月, 2012 7 次提交
  11. 28 2月, 2012 9 次提交
  12. 13 1月, 2012 1 次提交
  13. 07 1月, 2012 1 次提交
  14. 06 1月, 2012 1 次提交
    • E
      capabilities: remove the task from capable LSM hook entirely · 6a9de491
      Eric Paris 提交于
      The capabilities framework is based around credentials, not necessarily the
      current task.  Yet we still passed the current task down into LSMs from the
      security_capable() LSM hook as if it was a meaningful portion of the security
      decision.  This patch removes the 'generic' passing of current and instead
      forces individual LSMs to use current explicitly if they think it is
      appropriate.  In our case those LSMs are SELinux and AppArmor.
      
      I believe the AppArmor use of current is incorrect, but that is wholely
      unrelated to this patch.  This patch does not change what AppArmor does, it
      just makes it clear in the AppArmor code that it is doing it.
      
      The SELinux code still uses current in it's audit message, which may also be
      wrong and needs further investigation.  Again this is NOT a change, it may
      have always been wrong, this patch just makes it clear what is happening.
      Signed-off-by: NEric Paris <eparis@redhat.com>
      6a9de491
  15. 04 1月, 2012 4 次提交