1. 06 4月, 2010 4 次提交
    • E
      audit: preface audit printk with audit · 449cedf0
      Eric Paris 提交于
      There have been a number of reports of people seeing the message:
      "name_count maxed, losing inode data: dev=00:05, inode=3185"
      in dmesg.  These usually lead to people reporting problems to the filesystem
      group who are in turn clueless what they mean.
      
      Eventually someone finds me and I explain what is going on and that
      these come from the audit system.  The basics of the problem is that the
      audit subsystem never expects a single syscall to 'interact' (for some
      wish washy meaning of interact) with more than 20 inodes.  But in fact
      some operations like loading kernel modules can cause changes to lots of
      inodes in debugfs.
      
      There are a couple real fixes being bandied about including removing the
      fixed compile time limit of 20 or not auditing changes in debugfs (or
      both) but neither are small and obvious so I am not sending them for
      immediate inclusion (I hope Al forwards a real solution next devel
      window).
      
      In the meantime this patch simply adds 'audit' to the beginning of the
      crap message so if a user sees it, they come blame me first and we can
      talk about what it means and make sure we understand all of the reasons
      it can happen and make sure this gets solved correctly in the long run.
      Signed-off-by: NEric Paris <eparis@redhat.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      449cedf0
    • L
      Merge branch 'slabh' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/misc · b66696e3
      Linus Torvalds 提交于
      * 'slabh' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/misc:
        eeepc-wmi: include slab.h
        staging/otus: include slab.h from usbdrv.h
        percpu: don't implicitly include slab.h from percpu.h
        kmemcheck: Fix build errors due to missing slab.h
        include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
        iwlwifi: don't include iwl-dev.h from iwl-devtrace.h
        x86: don't include slab.h from arch/x86/include/asm/pgtable_32.h
      
      Fix up trivial conflicts in include/linux/percpu.h due to
      is_kernel_percpu_address() having been introduced since the slab.h
      cleanup with the percpu_up.c splitup.
      b66696e3
    • L
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu · 9e74e7c8
      Linus Torvalds 提交于
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu:
        module: add stub for is_module_percpu_address
        percpu, module: implement and use is_kernel/module_percpu_address()
        module: encapsulate percpu handling better and record percpu_size
      9e74e7c8
    • R
      rmap: fix anon_vma_fork() memory leak · 4946d54c
      Rik van Riel 提交于
      Fix a memory leak in anon_vma_fork(), where we fail to tear down the
      anon_vmas attached to the new VMA in case setting up the new anon_vma
      fails.
      
      This bug also has the potential to leave behind anon_vma_chain structs
      with pointers to invalid memory.
      Reported-by: NMinchan Kim <minchan.kim@gmail.com>
      Signed-off-by: NRik van Riel <riel@redhat.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      4946d54c
  2. 05 4月, 2010 8 次提交
  3. 04 4月, 2010 5 次提交
  4. 03 4月, 2010 23 次提交