mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
[CVE-2009-0029] System call wrappers part 26
Signed-off-by: Heiko Carstens <[email protected]>
This commit is contained in:
parent
d5460c9974
commit
c4ea37c26a
4 changed files with 19 additions and 23 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue