mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 12:10:52 -04:00
[CVE-2009-0029] System call wrappers part 16
Signed-off-by: Heiko Carstens <[email protected]>
This commit is contained in:
parent
a26eab2400
commit
002c8976ee
5 changed files with 17 additions and 17 deletions
|
|
@ -1081,7 +1081,7 @@ asmlinkage long sys_openat(int dfd, const char __user *filename, int flags,
|
|||
* For backward compatibility? Maybe this should be moved
|
||||
* into arch/i386 instead?
|
||||
*/
|
||||
asmlinkage long sys_creat(const char __user * pathname, int mode)
|
||||
SYSCALL_DEFINE2(creat, const char __user *, pathname, int, mode)
|
||||
{
|
||||
return sys_open(pathname, O_CREAT | O_WRONLY | O_TRUNC, mode);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue