linux/drivers/pnp
Zachary Amsden 5fe9fe3c6f [PATCH] x86: Pnp byte granularity
The one remaining caller of set_limit, the PnP BIOS code, calls into the PnP
BIOS, passing kernel parameters in and out.  These parameteres may be passed
from arbitrary kernel virtual memory, so they deserve strict protection to
stop a bad BIOS from smashing beyond the object size.

Unfortunately, the use of set_limit was badly botching this by setting the
limit in terms of pages, when it really should have byte granularity.

When doing this, I discovered my BIOS had the buggy code during the "get
system device node" call:

 mov ax, es:[bx]

Which is harmless, but has a trivial workaround.

Signed-off-by: Zachary Amsden <zach@vmware.com>
Cc: "Seth, Rohit" <rohit.seth@intel.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-01-06 08:33:35 -08:00
..
isapnp [PATCH] drivers/pnp/: cleanups 2005-11-07 07:54:09 -08:00
pnpacpi [PATCH] drivers/pnp/: cleanups 2005-11-07 07:54:09 -08:00
pnpbios [PATCH] x86: Pnp byte granularity 2006-01-06 08:33:35 -08:00
base.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
card.c [ALSA] PATCH] Add PM support to PnP drivers 2006-01-03 12:31:19 +01:00
core.c [PATCH] drivers/pnp/: cleanups 2005-11-07 07:54:09 -08:00
driver.c [ALSA] [PATCH] alsa: Improved PnP suspend support 2006-01-03 12:31:30 +01:00
interface.c [PATCH] Driver Core: drivers/i2c/chips/w83781d.c - drivers/s390/block/dcssblk.c: update device attribute callbacks 2005-06-20 15:15:34 -07:00
Kconfig [ACPI] delete CONFIG_ACPI_BUS 2005-08-24 12:11:34 -04:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
manager.c [ALSA] [PATCH] alsa: Improved PnP suspend support 2006-01-03 12:31:30 +01:00
quirks.c [PATCH] PNP: make pnp_dbg conditional directly on CONFIG_PNP_DEBUG 2005-09-07 16:57:25 -07:00
resource.c [PATCH] drivers/pnp/: cleanups 2005-11-07 07:54:09 -08:00
support.c [PATCH] PNP: make pnp_dbg conditional directly on CONFIG_PNP_DEBUG 2005-09-07 16:57:25 -07:00
system.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00