mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
[CVE-2009-0029] System call wrappers part 23
Signed-off-by: Heiko Carstens <[email protected]>
This commit is contained in:
parent
3e0fa65f8b
commit
5a8a82b1d3
3 changed files with 16 additions and 16 deletions
|
|
@ -557,8 +557,8 @@ out_nofds:
|
|||
return ret;
|
||||
}
|
||||
|
||||
asmlinkage long sys_select(int n, fd_set __user *inp, fd_set __user *outp,
|
||||
fd_set __user *exp, struct timeval __user *tvp)
|
||||
SYSCALL_DEFINE5(select, int, n, fd_set __user *, inp, fd_set __user *, outp,
|
||||
fd_set __user *, exp, struct timeval __user *, tvp)
|
||||
{
|
||||
struct timespec end_time, *to = NULL;
|
||||
struct timeval tv;
|
||||
|
|
@ -854,8 +854,8 @@ static long do_restart_poll(struct restart_block *restart_block)
|
|||
return ret;
|
||||
}
|
||||
|
||||
asmlinkage long sys_poll(struct pollfd __user *ufds, unsigned int nfds,
|
||||
long timeout_msecs)
|
||||
SYSCALL_DEFINE3(poll, struct pollfd __user *, ufds, unsigned int, nfds,
|
||||
long, timeout_msecs)
|
||||
{
|
||||
struct timespec end_time, *to = NULL;
|
||||
int ret;
|
||||
|
|
|
|||
Loading…
Reference in a new issue