Changes in kernel/generic/src/proc/program.c [bdca26a:ca21f1e2] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/proc/program.c
rbdca26a rca21f1e2 48 48 #include <security/perm.h> 49 49 #include <lib/elf_load.h> 50 #include < str.h>50 #include <errno.h> 51 51 #include <log.h> 52 52 #include <syscall/copy.h> … … 76 76 return ENOMEM; 77 77 78 prg->loader_status = E OK;78 prg->loader_status = EE_OK; 79 79 prg->task = task_create(as, name); 80 80 if (!prg->task) { … … 149 149 150 150 prg->loader_status = elf_load((elf_header_t *) image_addr, as); 151 if (prg->loader_status != E OK) {151 if (prg->loader_status != EE_OK) { 152 152 as_release(as); 153 153 prg->task = NULL; … … 183 183 184 184 prg->loader_status = elf_load((elf_header_t *) program_loader, as); 185 if (prg->loader_status != E OK) {185 if (prg->loader_status != EE_OK) { 186 186 as_release(as); 187 187 log(LF_OTHER, LVL_ERROR, "Cannot spawn loader (%s)", 188 str_error(prg->loader_status));188 elf_error(prg->loader_status)); 189 189 return ENOENT; 190 190 }
Note:
See TracChangeset
for help on using the changeset viewer.