Changeset cf2af94 in mainline for kernel/generic/src/proc/program.c


Ignore:
Timestamp:
2011-02-09T11:46:47Z (14 years ago)
Author:
Martin Sucha <sucha14@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
cb15135a
Parents:
a49c4002 (diff), 0b37882 (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.
Message:

Merge mainline changes

Local modifications:

  • change pipefs and ext2 to build again (use async_* calls instead of ipc_*)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/proc/program.c

    ra49c4002 rcf2af94  
    171171        void *loader = program_loader;
    172172        if (!loader) {
     173                as_destroy(as);
    173174                printf("Cannot spawn loader as none was registered\n");
    174175                return ENOENT;
     
    179180        if (rc != EE_OK) {
    180181                as_destroy(as);
     182                printf("Cannot spawn loader (%s)\n", elf_error(rc));
    181183                return ENOENT;
    182184        }
     
    210212 *
    211213 */
    212 unative_t sys_program_spawn_loader(char *uspace_name, size_t name_len)
     214sysarg_t sys_program_spawn_loader(char *uspace_name, size_t name_len)
    213215{
    214216        /* Cap length of name and copy it from userspace. */
     
    219221        int rc = copy_from_uspace(namebuf, uspace_name, name_len);
    220222        if (rc != 0)
    221                 return (unative_t) rc;
     223                return (sysarg_t) rc;
    222224       
    223225        namebuf[name_len] = 0;
Note: See TracChangeset for help on using the changeset viewer.