[CVE-2009-0029] System call wrappers part 21
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user