mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
[CVE-2009-0029] System call wrappers part 10
Signed-off-by: Heiko Carstens <[email protected]>
This commit is contained in:
parent
a5f8fa9e9b
commit
bdc480e3be
4 changed files with 11 additions and 14 deletions
|
|
@ -152,7 +152,7 @@ static int cp_old_stat(struct kstat *stat, struct __old_kernel_stat __user * sta
|
|||
return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0;
|
||||
}
|
||||
|
||||
asmlinkage long sys_stat(char __user * filename, struct __old_kernel_stat __user * statbuf)
|
||||
SYSCALL_DEFINE2(stat, char __user *, filename, struct __old_kernel_stat __user *, statbuf)
|
||||
{
|
||||
struct kstat stat;
|
||||
int error = vfs_stat_fd(AT_FDCWD, filename, &stat);
|
||||
|
|
|
|||
Loading…
Reference in a new issue