22 Jan, 2008
6 commits
-
In linux-2.6.24-rc1, security/commoncap.c:cap_inh_is_capped() was
introduced. It has the exact reverse of its intended behavior. This
led to an unintended privilege esculation involving a process'
inheritable capability set.To be exposed to this bug, you need to have Filesystem Capabilities
enabled and in use. That is:- CONFIG_SECURITY_FILE_CAPABILITIES must be defined for the buggy code
to be compiled in.- You also need to have files on your system marked with fI bits raised.
Signed-off-by: Andrew G. Morgan
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Fix line length calculation. var->width is the size of the display in mm. We
like to use the pixel size.Without this fix, dynamic (fbset) based resolution and depths changes with
s3c2410_fb don't work at all.Spotted by john cass
Signed-off-by: Stefan Schmidt
Signed-off-by: Harald Welte
Acked-by: Ben Dooks
Acked-by: Arnaud Patard
Acked-by: Krzysztof Helt
Cc: "Antonino A. Daplas"
Cc: Russell King
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Signed-off-by: Cyrill Gorcunov
Acked-by: Jesper Nilsson
Cc: Mikael Starvik
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
The caller is __cpuinit.
Also, this code block and its caller are inside #ifdef CONFIG_HOTPLUG_CPU
blocks, so this code should reflect that config symbol's usage.WARNING: vmlinux.o(.text+0x4252f): Section mismatch: reference to .init.text: (between 'timer_cpu_notify' and 'msleep')
Signed-off-by: Randy Dunlap
Cc: Sam Ravnborg
Cc: Ingo Molnar
Cc: Thomas Gleixner
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Fix section mismatch in hrtimer.c:
WARNING: vmlinux.o(.text+0x50c61): Section mismatch: reference to .init.text: (between 'hrtimer_cpu_notify' and 'down_read_trylock')
Noticed by Johannes Berg and confirmed by Sam Ravnborg.
Signed-off-by: Randy Dunlap
Cc: Sam Ravnborg
Cc: Ingo Molnar
Cc: Thomas Gleixner
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
If we get a data URB back from the hardware after we have put the tty to
bed we go kaboom. Fortunately all we need to do is process the URB without
trying to ram its contents down the throat of an ex-tty.Signed-off-by: Alan Cox
Cc: Greg KH
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
20 Jan, 2008
7 commits
-
* 'omap-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6:
ARM: OMAP1: Fix compile for board-nokia770
ARM: OMAP1: Keymap fix for f-sample and p2-sample -
'select' used by config symbol 'INTEL_IOATDMA' refers to undefined symbol 'DCA'
Although drivers/dma is currently the only user future drivers outside of
drivers/dma may select this option so it is better to add this to
arch/arm/Kconfig than move DCA to drivers/dma/Kconfig.Signed-off-by: Dan Williams
Signed-off-by: Russell King -
r2 is not guaranteed to be preserved over a function call, so relying
on it to store the link register over the call to sleep_phys_sp() is
unreliable. Store the link register on the stack instead.Signed-off-by: Russell King
-
It was moved to arch/x86/lguest/Kconfig, but I lost the deletion part in a
patch suffle. My confused one-liner "fix" to turn it on is also reverted:
84f7466ee20cc094aa38617abfa2f3834871f054Signed-off-by: Rusty Russell
Signed-off-by: Linus Torvalds -
The i386 and x86_64 arch directories contain nothing but a generated symlink
to arch/x86/boot/bzImage when a tree a built.Cc: Thomas Gleixner
Cc: Ingo Molnar
Cc: Peter Anvin
Signed-off-by: Josef 'Jeff' Sipek
Signed-off-by: Linus Torvalds -
The PDC202xx older devices do not support ATAPI DMA via the usual
interfaces. What documentation I have isn't sufficient to support DMA and
it isn't clear if the Windows drivers do this or it is possible at all.
(Neither do the drivers/ide old drivers)So turn it ATAPI DMA off, these are disk optimised controllers.
Signed-off-by: Alan Cox
Signed-off-by: Linus Torvalds -
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband:
IB/ipath: Fix receiving UD messages with immediate data
19 Jan, 2008
27 commits
-
Fix compile for board-nokia770
Signed-off-by: Daniel Walker
Signed-off-by: Tony Lindgren -
Keymap fix for f-sample and p2-sample.
Signed-off-by: Vivek Kutal
Signed-off-by: Tony Lindgren -
* 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/netdev-2.6: (31 commits)
Replace cpmac fix
dl2k: the rest
dl2k: MSCR, MSSR, ESR, PHY_SCR fixes
dl2k: BMSR fixes
dl2k: ANAR, ANLPAR fixes
dl2k: BMCR_t fixes
3c574, 3c515 bitfields abuse
sbni endian fixes
wan/lmc bitfields fixes
dscc4 endian fixes
S2io: Fixed synchronization between scheduling of napi with card reset and close
atl1: fix frame length bug
Documentation: add a guideline for hard_start_xmit method
Revert "sky2: remove check for PCI wakeup setting from BIOS"
e1000e Kconfig: remove ref to nonexistant docs
bonding: Don't hold lock when calling rtnl_unlock
bonding: fix lock ordering for rtnl and bonding_rwsem
bonding: Fix up parameter parsing
bonding: release slaves when master removed via sysfs
bonding: fix locking during alb failover and slave removal
... -
* git://git.kernel.org/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog:
[WATCHDOG] clarify watchdog operation in documentation
[WATCHDOG] Revert "Stop looking for device as soon as one is found" -
* git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-x86:
x86: add support for the latest Intel processors to Oprofile -
There's currently no way to turn on Lguest guest support; the planned
Kconfig virtualization reorg didn't get into 2.6.25.This was unnoticed because if you already had CONFIG_LGUEST_GUEST=y in
your config, it worked. Too bad about new users...Also, the Kconfig help was wrong now the virtio drivers are merged.
Signed-off-by: Rusty Russell
Signed-off-by: Linus Torvalds -
The latest Intel processors (the 45nm ones) have a model number of 23
(old ones had 15); they're otherwise compatible on the oprofile side.
This patch adds the new model number to the oprofile code.Signed-off-by: Arjan van de Ven
Signed-off-by: Ingo Molnar
Signed-off-by: Thomas Gleixner -
It was not clear what the difference is/was between the
nowayout feature and the Magic Close feature.Signed-off-by: "Andrew Dyer"
Signed-off-by: Wim Van Sebroeck -
This reverts commit 3ff6eb4a2fe5757cbe7c5d57c8eb60ab0775f2f0.
the !found check in the for loop allready made sure that only one
device was found.Signed-Off-By: Pádraig Brady
Signed-Off-By: Wim Van Sebroeck -
Please apply this patch since i reverted by mistake
the commit 4e3ab47a547616e583c7a5458beced6aa34c8ef3
in 6cd043d99dcf5d252fcc682958541f449113f7b3Signed-off-by: Matteo Croce
Signed-off-by: Jeff Garzik -
remove an unused union-with-bitfield of the same sort,
add missing conversions in debugging printkSigned-off-by: Al Viro
Signed-off-by: Jeff Garzik -
Signed-off-by: Al Viro
Signed-off-by: Jeff Garzik -
Signed-off-by: Al Viro
Signed-off-by: Jeff Garzik -
same story, different registers...
Signed-off-by: Al Viro
Signed-off-by: Jeff Garzik -
broken use of bitfields; FUBAR on big-endian (and not valid C,
strictly speaking).Signed-off-by: Al Viro
Signed-off-by: Jeff Garzik -
wn3_config is shared by these cards; the way we deal with it is both bad C
(union abuse) and broken on big-endian. For 3c515 it's less serious (ISA
cards are quite rare outside of little-endian boxen), but 3c574 is a pcmcia
one and that'd better be endian-independent... Fix is the same in both
cases.Signed-off-by: Al Viro
Signed-off-by: Jeff Garzik -
Signed-off-by: Al Viro
Signed-off-by: Jeff Garzik -
Signed-off-by: Al Viro
Signed-off-by: Jeff Garzik -
Signed-off-by: Al Viro
Signed-off-by: Jeff Garzik -
- Fixed synchronization between scheduling of napi with card reset and close
by moving the enabling and disabling of napi to card up and card down
functions respectively instead of open and close.Signed-off-by: Surjit Reang
Signed-off-by: Ramkrishna Vepa
Signed-off-by: Jeff Garzik -
The driver sets up the hardware to accept a frame with max length
equal to MTU + Ethernet header + FCS + VLAN tag, but we neglect to
add the VLAN tag size to the ingress buffer. When a VLAN-tagged
frame arrives, the hardware passes it, but bad things happen
because the buffer is too small. This patch fixes that.Thanks to David Harris for reporting the bug and testing the fix.
Tested-by: David Harris
Signed-off-by: Jay Cliburn
Signed-off-by: Jeff Garzik -
Add a guideline not to modify SKBs.
Signed-off-by: Matti Linnanvuori
Signed-off-by: Jeff Garzik -
This reverts commit 84cd2dfb04d23a961c5f537baa243fa54d0987ac.
Some BIOS's break if Wake On Lan is enabled, and the machine
can't boot. Better to have some user's have to call ethtool to
enable WOL than to break a single user's boot.Signed-off-by: Stephen Hemminger
Signed-off-by: Jeff Garzik -
…nville/wireless-2.6 into upstream-fixes
-
There is no Documentation/networking/e1000e.txt.
Signed-off-by: Jason Uhlenkott
Cc: Auke Kok
Signed-off-by: Jeff Garzik -
…/netdev-2.6 into upstream-fixes
-
Change bond_mii_monitor to not hold any locks when calling rtnl_unlock,
as rtnl_unlock can sleep (when acquring another mutex in netdev_run_todo).Bug reported by Makito SHIOKAWA , who
included a different patch.Signed-off-by: Jay Vosburgh
Signed-off-by: Jeff Garzik