-/* Code for loading Linux executables. Mostly linux kenrel code. */
+/* Code for loading Linux executables. Mostly linux kernel code. */
#include <sys/types.h>
#include <sys/stat.h>
return sp;
}
-int loader_exec(const char * filename, char ** argv, char ** envp,
+int loader_exec(const char * filename, char ** argv, char ** envp,
struct target_pt_regs * regs, struct image_info *infop)
{
struct linux_binprm bprm;
return -1;
}
}
-
+
if(retval>=0) {
/* success. Initialize important registers */
do_init_thread(regs, infop);