linux-sg2042/drivers/char/ipmi
Benjamin LaHaise 6368087e85 ipmi: ipmi_devintf: compat_ioctl method fails to take ipmi_mutex
When a 32 bit version of ipmitool is used on a 64 bit kernel, the
ipmi_devintf code fails to correctly acquire ipmi_mutex.  This results in
incomplete data being retrieved in some cases, or other possible failures.
Add a wrapper around compat_ipmi_ioctl() to take ipmi_mutex to fix this.

Signed-off-by: Benjamin LaHaise <bcrl@kvack.org>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Cc: stable@vger.kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-05-16 13:49:25 -07:00
..
Kconfig Use menuconfig objects II - IPMI 2007-07-16 09:05:40 -07:00
Makefile drivers/char/ipmi/Makefile: replace the use of <module>-objs with <module>-y 2010-10-27 18:03:14 -07:00
ipmi_bt_sm.c drivers/char/ipmi: memcpy, need additional 2 bytes to avoid memory overflow 2013-05-16 13:49:25 -07:00
ipmi_devintf.c ipmi: ipmi_devintf: compat_ioctl method fails to take ipmi_mutex 2013-05-16 13:49:25 -07:00
ipmi_kcs_sm.c ipmi: increase KCS timeouts 2012-03-28 17:14:36 -07:00
ipmi_msghandler.c drivers: char: ipmi: Replaced kmalloc and strcpy with kstrdup 2013-05-16 13:49:25 -07:00
ipmi_poweroff.c Fix common misspellings 2011-03-31 11:26:23 -03:00
ipmi_si_intf.c ipmi: Improve error messages on failed irq enable 2013-05-16 13:49:25 -07:00
ipmi_si_sm.h IPMI: Style fixes in the system interface code 2008-04-29 08:06:15 -07:00
ipmi_smic_sm.c IPMI: Style fixes in the system interface code 2008-04-29 08:06:15 -07:00
ipmi_watchdog.c char/ipmi: remove local ioctl defines replaced by generic ones 2012-07-23 12:48:04 +02:00