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


Ignore:
Timestamp:
2009-03-01T15:00:24Z (15 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4b241f3
Parents:
4c7257b
Message:

task_set_name() syscall so that we can have names (for userspace-loaded) tasks again.

File:
1 edited

Legend:

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

    r4c7257b rbc18d63  
    207207        /* Cap length of name and copy it from userspace. */
    208208
    209         if (name_len > THREAD_NAME_BUFLEN - 1)
    210                 name_len = THREAD_NAME_BUFLEN - 1;
     209        if (name_len > TASK_NAME_BUFLEN - 1)
     210                name_len = TASK_NAME_BUFLEN - 1;
    211211
    212212        rc = copy_from_uspace(namebuf, uspace_name, name_len);
Note: See TracChangeset for help on using the changeset viewer.