1. 06 2月, 2008 1 次提交
  2. 02 2月, 2008 1 次提交
  3. 26 1月, 2008 1 次提交
  4. 03 1月, 2008 1 次提交
  5. 07 12月, 2007 1 次提交
  6. 30 11月, 2007 1 次提交
  7. 15 11月, 2007 1 次提交
  8. 23 10月, 2007 1 次提交
  9. 20 10月, 2007 11 次提交
  10. 17 10月, 2007 3 次提交
  11. 15 10月, 2007 1 次提交
  12. 01 8月, 2007 1 次提交
  13. 20 7月, 2007 2 次提交
  14. 18 7月, 2007 1 次提交
    • T
      kallsyms: make KSYM_NAME_LEN include space for trailing '\0' · 9281acea
      Tejun Heo 提交于
      KSYM_NAME_LEN is peculiar in that it does not include the space for the
      trailing '\0', forcing all users to use KSYM_NAME_LEN + 1 when allocating
      buffer.  This is nonsense and error-prone.  Moreover, when the caller
      forgets that it's very likely to subtly bite back by corrupting the stack
      because the last position of the buffer is always cleared to zero.
      
      This patch increments KSYM_NAME_LEN by one and updates code accordingly.
      
      * off-by-one bug in asm-powerpc/kprobes.h::kprobe_lookup_name() macro
        is fixed.
      
      * Where MODULE_NAME_LEN and KSYM_NAME_LEN were used together,
        MODULE_NAME_LEN was treated as if it didn't include space for the
        trailing '\0'.  Fix it.
      Signed-off-by: NTejun Heo <htejun@gmail.com>
      Acked-by: NPaulo Marques <pmarques@grupopie.com>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      9281acea
  15. 17 7月, 2007 2 次提交
  16. 10 7月, 2007 2 次提交
  17. 09 5月, 2007 9 次提交