Merge tag 'asm-generic-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd...
[sfrench/cifs-2.6.git] / fs / exec.c
index 8256e8bb9ad330ab9ac19e4f9a0afbb76798075d..a39108c1190a3f5ca95a128990d4128a4ce78e4e 100644 (file)
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -1309,12 +1309,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 |