1. 16 6月, 2011 1 次提交
  2. 13 6月, 2011 1 次提交
  3. 10 6月, 2011 2 次提交
  4. 09 6月, 2011 1 次提交
  5. 26 5月, 2011 3 次提交
  6. 25 5月, 2011 5 次提交
  7. 24 5月, 2011 7 次提交
  8. 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
  9. 19 5月, 2011 4 次提交
  10. 17 5月, 2011 12 次提交
  11. 16 5月, 2011 1 次提交
    • M
      kbuild: make KBUILD_NOCMDDEP=1 handle empty built-in.o · c4d5ee13
      Michal Marek 提交于
      Based on a patch by Rabin Vincent.
      
      Fix building with KBUILD_NOCMDDEP=1, which currently does not work
      because it does not build built-in.o with no dependencies:
      
        LD      fs/notify/built-in.o
      ld: cannot find fs/notify/dnotify/built-in.o: No such file or directory
      ld: cannot find fs/notify/inotify/built-in.o: No such file or directory
      ld: cannot find fs/notify/fanotify/built-in.o: No such file or directory
      Reported-and-tested-by: NRabin Vincent <rabin@rab.in>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      c4d5ee13
  12. 12 5月, 2011 2 次提交
    • X
      scripts/kallsyms.c: fix potential segfault · e0a04b11
      Xiaochen Wang 提交于
      Description:
      This bug hardly appears during real kernel compiling,
       because the vmlinux symbols table is huge.
      
      But we can still catch it under strict condition , as follows.
         $ echo "c101b97b T do_fork" | ./scripts/kallsyms --all-symbols
         #include <asm/types.h>
         ......
         ......
         .globl kallsyms_token_table
                 ALGN
         kallsyms_token_table:
         Segmentation fault (core dumped)
         $
      
      If symbols table is small, all entries in token_profit[0x10000] may
      decrease to 0 after several calls of compress_symbols() in optimize_result().
      In that case, find_best_token() always return 0 and
      best_table[i] is set to "\0\0" and best_table_len[i] is set to 2.
      
      As a result, expand_symbol(best_table[0]="\0\0", best_table_len[0]=2, buf)
      in write_src() will run in infinite recursion until stack overflows,
      causing segfault.
      
      This patch checks the find_best_token() return value. If all entries in
      token_profit[0x10000] become 0 according to return value, it breaks the loop
      in optimize_result().
      And expand_symbol() works well when best_table_len[i] is 0.
      Signed-off-by: NXiaochen Wang <wangxiaochen0@gmail.com>
      Acked-by: NPaulo Marques <pmarques@grupopie.com>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      e0a04b11
    • J
      scripts/gen_initramfs_list.sh: Convert to a /bin/sh script · 153f0114
      Jamey Sharp 提交于
      Replace bashisms with POSIX-compatible shell scripting.
      
      Notably, de-duplicate '/' using a sed command from elsewhere in the same script
      rather than "${name//\/\///}".
      
      Commit by Jamey Sharp and Josh Triplett.
      Signed-off-by: NJamey Sharp <jamey@minilop.net>
      Signed-off-by: NJosh Triplett <josh@joshtriplett.org>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      153f0114