1. 21 10月, 2010 1 次提交
  2. 02 8月, 2010 1 次提交
    • D
      selinux: cleanup return codes in avtab_read_item() · 9e0bd4cb
      Dan Carpenter 提交于
      The avtab_read_item() function tends to return -1 as a default error
      code which is wrong (-1 means -EPERM).  I modified it to return
      appropriate error codes which is -EINVAL or the error code from
      next_entry() or insertf().
      
      next_entry() returns -EINVAL.
      insertf() is a function pointer to either avtab_insert() or
      cond_insertf().
      avtab_insert() returns -EINVAL, -ENOMEM, and -EEXIST.
      cond_insertf() currently returns -1, but I will fix it in a later patch.
      
      There is code in avtab_read() which translates the -1 returns from
      avtab_read_item() to -EINVAL. The translation is no longer needed, so I
      removed it.
      Signed-off-by: NDan Carpenter <error27@gmail.com>
      Acked-by: NStephen D. Smalley <sds@tycho.nsa.gov>
      Signed-off-by: NJames Morris <jmorris@namei.org>
      9e0bd4cb
  3. 15 8月, 2008 1 次提交
  4. 05 8月, 2008 1 次提交
  5. 14 7月, 2008 1 次提交
  6. 21 4月, 2008 2 次提交
  7. 18 4月, 2008 1 次提交
  8. 25 1月, 2008 1 次提交
  9. 08 11月, 2007 1 次提交
  10. 17 10月, 2007 1 次提交
  11. 20 7月, 2007 1 次提交
    • P
      mm: Remove slab destructors from kmem_cache_create(). · 20c2df83
      Paul Mundt 提交于
      Slab destructors were no longer supported after Christoph's
      c59def9f change. They've been
      BUGs for both slab and slub, and slob never supported them
      either.
      
      This rips out support for the dtor pointer from kmem_cache_create()
      completely and fixes up every single callsite in the kernel (there were
      about 224, not including the slab allocator definitions themselves,
      or the documentation references).
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      20c2df83
  12. 27 2月, 2007 1 次提交
    • E
      Reassign printk levels in selinux kernel code · fadcdb45
      Eric Paris 提交于
      Below is a patch which demotes many printk lines to KERN_DEBUG from
      KERN_INFO.  It should help stop the spamming of logs with messages in
      which users are not interested nor is there any action that users should
      take.  It also promotes some KERN_INFO to KERN_ERR such as when there
      are improper attempts to register/unregister security modules.
      
      A similar patch was discussed a while back on list:
      http://marc.theaimsgroup.com/?t=116656343500003&r=1&w=2
      This patch addresses almost all of the issues raised.  I believe the
      only advice not taken was in the demoting of messages related to
      undefined permissions and classes.
      Signed-off-by: NEric Paris <eparis@redhat.com>
      Acked-by: NStephen Smalley <sds@tycho.nsa.gov>
      
       security/selinux/hooks.c       |   20 ++++++++++----------
       security/selinux/ss/avtab.c    |    2 +-
       security/selinux/ss/policydb.c |    6 +++---
       security/selinux/ss/sidtab.c   |    2 +-
       4 files changed, 15 insertions(+), 15 deletions(-)
      Signed-off-by: NJames Morris <jmorris@namei.org>
      fadcdb45
  13. 12 2月, 2007 1 次提交
  14. 08 12月, 2006 2 次提交
  15. 07 1月, 2006 1 次提交
  16. 05 9月, 2005 2 次提交
  17. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4