Changeset bc73be3 in mainline for kernel/generic/src/proc/program.c
- Timestamp:
- 2019-06-27T08:51:20Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8add15e0
- Parents:
- ad40b74b (diff), aeba767 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
kernel/generic/src/proc/program.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/proc/program.c
rad40b74b rbc73be3 48 48 #include <security/perm.h> 49 49 #include <lib/elf_load.h> 50 #include < errno.h>50 #include <str.h> 51 51 #include <log.h> 52 52 #include <syscall/copy.h> … … 76 76 return ENOMEM; 77 77 78 prg->loader_status = E E_OK;78 prg->loader_status = EOK; 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 E_OK) {151 if (prg->loader_status != EOK) { 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 E_OK) {185 if (prg->loader_status != EOK) { 186 186 as_release(as); 187 187 log(LF_OTHER, LVL_ERROR, "Cannot spawn loader (%s)", 188 elf_error(prg->loader_status));188 str_error(prg->loader_status)); 189 189 return ENOENT; 190 190 }
Note:
See TracChangeset
for help on using the changeset viewer.
