mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
[CVE-2009-0029] System call wrappers part 21
Signed-off-by: Heiko Carstens <[email protected]>
This commit is contained in:
parent
3cdad42884
commit
20f37034fb
2 changed files with 19 additions and 17 deletions
|
|
@ -187,7 +187,8 @@ efault:
|
|||
return -EFAULT;
|
||||
}
|
||||
|
||||
asmlinkage long sys_getdents(unsigned int fd, struct linux_dirent __user * dirent, unsigned int count)
|
||||
SYSCALL_DEFINE3(getdents, unsigned int, fd,
|
||||
struct linux_dirent __user *, dirent, unsigned int, count)
|
||||
{
|
||||
struct file * file;
|
||||
struct linux_dirent __user * lastdirent;
|
||||
|
|
@ -268,7 +269,8 @@ efault:
|
|||
return -EFAULT;
|
||||
}
|
||||
|
||||
asmlinkage long sys_getdents64(unsigned int fd, struct linux_dirent64 __user * dirent, unsigned int count)
|
||||
SYSCALL_DEFINE3(getdents64, unsigned int, fd,
|
||||
struct linux_dirent64 __user *, dirent, unsigned int, count)
|
||||
{
|
||||
struct file * file;
|
||||
struct linux_dirent64 __user * lastdirent;
|
||||
|
|
|
|||
Loading…
Reference in a new issue