diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2009-01-14 14:14:09 +0100 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2009-01-14 14:15:20 +0100 |
commit | 754fe8d297bfae7b77f7ce866e2fb0c5fb186506 (patch) | |
tree | b2650f728d50791fa86ecd8c49806f51db714bd4 /kernel/kexec.c | |
parent | 5add95d4f7cf08f6f62510f19576992912387501 (diff) | |
download | op-kernel-dev-754fe8d297bfae7b77f7ce866e2fb0c5fb186506.zip op-kernel-dev-754fe8d297bfae7b77f7ce866e2fb0c5fb186506.tar.gz |
[CVE-2009-0029] System call wrappers part 07
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'kernel/kexec.c')
-rw-r--r-- | kernel/kexec.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/kernel/kexec.c b/kernel/kexec.c index 3fb855a..8a6d7b0 100644 --- a/kernel/kexec.c +++ b/kernel/kexec.c @@ -934,9 +934,8 @@ struct kimage *kexec_crash_image; static DEFINE_MUTEX(kexec_mutex); -asmlinkage long sys_kexec_load(unsigned long entry, unsigned long nr_segments, - struct kexec_segment __user *segments, - unsigned long flags) +SYSCALL_DEFINE4(kexec_load, unsigned long, entry, unsigned long, nr_segments, + struct kexec_segment __user *, segments, unsigned long, flags) { struct kimage **dest_image, *image; int result; |