[CVE-2009-0029] System call wrappers part 28

Signed-off-by: Heiko Carstens <[email protected]>
This commit is contained in:
Heiko Carstens 2009-01-14 14:14:30 +01:00
commit 938bb9f5e8
5 changed files with 21 additions and 24 deletions

View file

@ -1055,10 +1055,10 @@ out:
* Move a list of pages in the address space of the currently executing
* process.
*/
asmlinkage long sys_move_pages(pid_t pid, unsigned long nr_pages,
const void __user * __user *pages,
const int __user *nodes,
int __user *status, int flags)
SYSCALL_DEFINE6(move_pages, pid_t, pid, unsigned long, nr_pages,
const void __user * __user *, pages,
const int __user *, nodes,
int __user *, status, int, flags)
{
const struct cred *cred = current_cred(), *tcred;
struct task_struct *task;