uaccess: remove CONFIG_SET_FS
[sfrench/cifs-2.6.git] / fs / exec.c
index 79f2c9483302df9bbf0f37f507022c28ae38c177..bc68a0c089ac860c61b543b9d72e8d47d63f2577 100644 (file)
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -1303,12 +1303,6 @@ int begin_new_exec(struct linux_binprm * bprm)
        if (retval)
                goto out_unlock;
 
-       /*
-        * Ensure that the uaccess routines can actually operate on userspace
-        * pointers:
-        */
-       force_uaccess_begin();
-
        if (me->flags & PF_KTHREAD)
                free_kthread_struct(me);
        me->flags &= ~(PF_RANDOMIZE | PF_FORKNOEXEC | PF_KTHREAD |