1. 30 6月, 2006 38 次提交
  2. 29 6月, 2006 2 次提交
    • L
      Fix vsnprintf off-by-one bug · 0a6047ee
      Linus Torvalds 提交于
      The recent vsnprintf() fix introduced an off-by-one, and it's now
      possible to overrun the target buffer by one byte.
      
      The "end" pointer points to past the end of the buffer, so if we
      have to truncate the result, it needs to be done though "end[-1]".
      
      [ This is just an alternate and simpler patch to one proposed by Andrew
        and Jeremy, who actually noticed the problem ]
      Acked-by: NAndrew Morton <akpm@osdl.org>
      Acked-by: NJeremy Fitzhardinge <jeremy@goop.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      0a6047ee
    • L
      Merge branch 'nommu' of master.kernel.org:/home/rmk/linux-2.6-arm · 27d68a36
      Linus Torvalds 提交于
      * 'nommu' of master.kernel.org:/home/rmk/linux-2.6-arm:
        [ARM] nommu: backtrace code must not reference a discarded section
        [ARM] nommu: Initial uCLinux support for MMU-based CPUs
        [ARM] nommu: prevent Xscale-based machines being selected
        [ARM] nommu: export flush_dcache_page()
        [ARM] nommu: remove fault-armv, mmap and mm-armv files from nommu build
        [ARM] Remove TABLE_SIZE, and several unused function prototypes
        [ARM] nommu: Provide a simple flush_dcache_page implementation
        [ARM] nommu: add arch/arm/Kconfig-nommu to Kconfig files
        [ARM] nommu: add stubs for ioremap and friends
        [ARM] nommu: avoid selecting TLB and CPU specific copy code
        [ARM] nommu: uaccess tweaks
        [ARM] nommu: adjust headers for !MMU ARM systems
        [ARM] nommu: we need the TLS register emulation for nommu mode
      27d68a36