Changeset 58e4d85 in mainline for kernel/generic/src/proc
- Timestamp:
- 2018-01-04T20:50:53Z (8 years ago)
- Children:
- 08d4ea2
- Parents:
- 3b47db6
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 20:47:53)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 20:50:53)
- Location:
- kernel/generic/src/proc
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/proc/program.c
r3b47db6 r58e4d85 233 233 char namebuf[TASK_NAME_BUFLEN]; 234 234 errno_t rc = copy_from_uspace(namebuf, uspace_name, name_len); 235 if (rc != 0)235 if (rc != EOK) 236 236 return (sys_errno_t) rc; 237 237 … … 241 241 program_t prg; 242 242 rc = program_create_loader(&prg, namebuf); 243 if (rc != 0)243 if (rc != EOK) 244 244 return rc; 245 245 -
kernel/generic/src/proc/task.c
r3b47db6 r58e4d85 394 394 395 395 errno_t rc = copy_from_uspace(namebuf, uspace_name, name_len); 396 if (rc != 0)396 if (rc != EOK) 397 397 return (sys_errno_t) rc; 398 398 … … 430 430 task_id_t taskid; 431 431 errno_t rc = copy_from_uspace(&taskid, uspace_taskid, sizeof(taskid)); 432 if (rc != 0)432 if (rc != EOK) 433 433 return (sys_errno_t) rc; 434 434 -
kernel/generic/src/proc/thread.c
r3b47db6 r58e4d85 938 938 char namebuf[THREAD_NAME_BUFLEN]; 939 939 errno_t rc = copy_from_uspace(namebuf, uspace_name, name_len); 940 if (rc != 0)940 if (rc != EOK) 941 941 return (sys_errno_t) rc; 942 942 … … 951 951 952 952 rc = copy_from_uspace(kernel_uarg, uspace_uarg, sizeof(uspace_arg_t)); 953 if (rc != 0) {953 if (rc != EOK) { 954 954 free(kernel_uarg); 955 955 return (sys_errno_t) rc; … … 962 962 rc = copy_to_uspace(uspace_thread_id, &thread->tid, 963 963 sizeof(thread->tid)); 964 if (rc != 0) {964 if (rc != EOK) { 965 965 /* 966 966 * We have encountered a failure, but the thread
Note:
See TracChangeset
for help on using the changeset viewer.
