mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-05-02 18:17:50 -04:00
[CVE-2009-0029] System call wrappers part 26
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
This commit is contained in:
@@ -14,10 +14,8 @@
|
||||
#include <asm/uaccess.h>
|
||||
#include "pci.h"
|
||||
|
||||
asmlinkage long
|
||||
sys_pciconfig_read(unsigned long bus, unsigned long dfn,
|
||||
unsigned long off, unsigned long len,
|
||||
void __user *buf)
|
||||
SYSCALL_DEFINE5(pciconfig_read, unsigned long, bus, unsigned long, dfn,
|
||||
unsigned long, off, unsigned long, len, void __user *, buf)
|
||||
{
|
||||
struct pci_dev *dev;
|
||||
u8 byte;
|
||||
@@ -86,10 +84,8 @@ error:
|
||||
return err;
|
||||
}
|
||||
|
||||
asmlinkage long
|
||||
sys_pciconfig_write(unsigned long bus, unsigned long dfn,
|
||||
unsigned long off, unsigned long len,
|
||||
void __user *buf)
|
||||
SYSCALL_DEFINE5(pciconfig_write, unsigned long, bus, unsigned long, dfn,
|
||||
unsigned long, off, unsigned long, len, void __user *, buf)
|
||||
{
|
||||
struct pci_dev *dev;
|
||||
u8 byte;
|
||||
|
||||
Reference in New Issue
Block a user