1. 26 Mar, 2007 16 commits
  2. 25 Mar, 2007 4 commits
  3. 24 Mar, 2007 15 commits
  4. 23 Mar, 2007 5 commits
    • Roland McGrath's avatar
      [PATCH] i386: clear segment register padding in core dumps · 6ea65ff7
      Roland McGrath authored
      The segment register slots in struct pt_regs are padded to 32 bits.
      Some of these are stored with instructions like "pushl %es", which
      leaves the high 16 bits as they were.  So the high bits of these
      fields in struct pt_regs contain kernel stack garbage.  These bits are
      ignored by everything and never leak to user space, except in core
      dumps.  The user struct pt_regs is always at the base of the thread's
      kernel stack and so it seems unlikely the information that leaks from
      here is ever worthwhile so as to be a security concern, but I'm not
      sure about that.  It has been this way for ages; userland consumers of
      core dumps all mask off these high bits themselves.  So it is not urgent.
      
      This change masks off the padding bits of the segment register slots
      in core dumps.  ptrace already masks off these high bits, so this
      makes the values in core dumps consistent with what ptrace would
      report just before the process died.
      
      As I read the processor manuals, the cs and ss values will always be
      padded with zero bits rather than stack garbage.  But unlike "pushl %es",
      this is not simple to test with a userland program.  So I added the two
      instructions rather than wonder if they are really never necessary.
      
      I think that x86_64 does not have this problem (for either 32-bit or
      64-bit processes).  It only uses "mov" instructions from segment
      registers, which zero-extend.
      Signed-off-by: default avatarRoland McGrath <roland@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      6ea65ff7
    • Linus Torvalds's avatar
      x86-64: add "local_apic_timer_c2_ok" here too · 2e7c2838
      Linus Torvalds authored
      Needed for any architecture that claims ARCH_APICTIMER_STOPS_ON_C3,
      not just i386.
      
      I'm hoping Thomas will clean this up a bit later..
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      2e7c2838
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6 · cad6a84a
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6:
        ieee1394: fix oops on "modprobe -r ohci1394" after network class_device conversion
      cad6a84a
    • Linus Torvalds's avatar
      Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 · 0ab602e5
      Linus Torvalds authored
      * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6:
        [netdrvr] ewrk3: correct card detection bug
        cxgb3 - fix white spaces in drivers/net/Kconfig
        myri10ge: update driver version to 1.3.0-1.226
        myri10ge: fix management of >4kB allocated pages
        myri10ge: update wcfifo and intr_coal_delay default values
        myri10ge: Serverworks HT2100 provides aligned PCIe completion
        mv643xx_eth: add mv643xx_eth_shutdown function
        SAA9730: Fix large pile of warnings
        Revert "ucc_geth: returns NETDEV_TX_BUSY when BD ring is full"
        cxgb3 - T3B2 pcie config space
        cxgb3 - Fix potential MAC hang
        cxgb3 - Auto-load FW if mismatch detected
        cxgb3 - fix ethtool cmd on multiple queues port
        Fix return code in pci-skeleton.c
        skge: use per-port phy locking
        skge: mask irqs when device down
        skge: deadlock on tx timeout
        [PATCH] airo: Fix an error path memory leak
        [PATCH] bcm43xx: MANUALWLAN fixes
      0ab602e5
    • Andrew Morton's avatar
      [PATCH] "ext[34]: EA block reference count racing fix" performance fix · 105fd108
      Andrew Morton authored
      A little mistake in 8a2bfdcb is making all
      transactions synchronous, which reduces ext3 performance to comical levels.
      
      Cc: Mingming Cao <cmm@us.ibm.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      105fd108