aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/fork.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2009-01-14 14:14:32 +0100
committerHeiko Carstens <heiko.carstens@de.ibm.com>2009-01-14 14:15:30 +0100
commit6559eed8ca7db0531a207cd80be5e28cd6f213c5 (patch)
tree08d7a42d9eb8e7e9b7aa6930a07f1acecb35a282 /kernel/fork.c
parent2e4d0924eb0c403ce4014fa139d1d61bf2c44fee (diff)
downloadkernel_goldelico_gta04-6559eed8ca7db0531a207cd80be5e28cd6f213c5.zip
kernel_goldelico_gta04-6559eed8ca7db0531a207cd80be5e28cd6f213c5.tar.gz
kernel_goldelico_gta04-6559eed8ca7db0531a207cd80be5e28cd6f213c5.tar.bz2
[CVE-2009-0029] System call wrappers part 30
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'kernel/fork.c')
-rw-r--r--kernel/fork.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fork.c b/kernel/fork.c
index 8eb37d3..bf0cef8 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -1603,7 +1603,7 @@ static int unshare_fd(unsigned long unshare_flags, struct files_struct **new_fdp
* constructed. Here we are modifying the current, active,
* task_struct.
*/
-asmlinkage long sys_unshare(unsigned long unshare_flags)
+SYSCALL_DEFINE1(unshare, unsigned long, unshare_flags)
{
int err = 0;
struct fs_struct *fs, *new_fs = NULL;