hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/arch/alpha/kernel/binfmt_loader.c
....@@ -19,10 +19,6 @@
1919 if (bprm->loader)
2020 return -ENOEXEC;
2121
22
- allow_write_access(bprm->file);
23
- fput(bprm->file);
24
- bprm->file = NULL;
25
-
2622 loader = bprm->vma->vm_end - sizeof(void *);
2723
2824 file = open_exec("/sbin/loader");
....@@ -33,12 +29,9 @@
3329 /* Remember if the application is TASO. */
3430 bprm->taso = eh->ah.entry < 0x100000000UL;
3531
36
- bprm->file = file;
32
+ bprm->interpreter = file;
3733 bprm->loader = loader;
38
- retval = prepare_binprm(bprm);
39
- if (retval < 0)
40
- return retval;
41
- return search_binary_handler(bprm);
34
+ return 0;
4235 }
4336
4437 static struct linux_binfmt loader_format = {