]> err.no Git - linux-2.6/blobdiff - kernel/compat.c
[PATCH] fill_tgid: fix task_struct leak and possible oops
[linux-2.6] / kernel / compat.c
index 75573e5d27b05c92dd1a11aaf483415935032624..d4898aad6cfa72ff46d78a8728c5d005531a338a 100644 (file)
@@ -678,7 +678,7 @@ int get_compat_sigevent(struct sigevent *event,
                ? -EFAULT : 0;
 }
 
-long compat_get_bitmap(unsigned long *mask, compat_ulong_t __user *umask,
+long compat_get_bitmap(unsigned long *mask, const compat_ulong_t __user *umask,
                       unsigned long bitmap_size)
 {
        int i, j;