mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
[CVE-2009-0029] System call wrappers part 15
Signed-off-by: Heiko Carstens <[email protected]>
This commit is contained in:
parent
3480b25743
commit
a26eab2400
4 changed files with 10 additions and 9 deletions
|
|
@ -594,7 +594,7 @@ out:
|
|||
return error;
|
||||
}
|
||||
|
||||
asmlinkage long sys_fchmod(unsigned int fd, mode_t mode)
|
||||
SYSCALL_DEFINE2(fchmod, unsigned int, fd, mode_t, mode)
|
||||
{
|
||||
struct inode * inode;
|
||||
struct dentry * dentry;
|
||||
|
|
@ -658,7 +658,7 @@ out:
|
|||
return error;
|
||||
}
|
||||
|
||||
asmlinkage long sys_chmod(const char __user *filename, mode_t mode)
|
||||
SYSCALL_DEFINE2(chmod, const char __user *, filename, mode_t, mode)
|
||||
{
|
||||
return sys_fchmodat(AT_FDCWD, filename, mode);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue