mirror of
https://github.com/drasko/codezero.git
synced 2026-04-18 09:49:05 +02:00
Cleaned some printfs in mm0
This commit is contained in:
@@ -341,7 +341,7 @@ int sys_execve(struct tcb *sender, char *pathname, char *argv[], char *envp[])
|
|||||||
/* Copy the executable path string */
|
/* Copy the executable path string */
|
||||||
if ((ret = copy_user_string(sender, path, pathname, PATH_MAX)) < 0)
|
if ((ret = copy_user_string(sender, path, pathname, PATH_MAX)) < 0)
|
||||||
return ret;
|
return ret;
|
||||||
printf("%s: Copied pathname: %s\n", __FUNCTION__, path);
|
// printf("%s: Copied pathname: %s\n", __FUNCTION__, path);
|
||||||
|
|
||||||
/* Copy the args */
|
/* Copy the args */
|
||||||
if (argv && ((ret = copy_user_args(sender, &args, argv, ARGS_MAX)) < 0))
|
if (argv && ((ret = copy_user_args(sender, &args, argv, ARGS_MAX)) < 0))
|
||||||
|
|||||||
@@ -633,7 +633,8 @@ int task_start(struct tcb *task)
|
|||||||
};
|
};
|
||||||
|
|
||||||
/* Start the thread */
|
/* Start the thread */
|
||||||
printf("%s: Starting task with thread id: %d, space id: %d\n", __TASKNAME__, task->tid, task->spid);
|
// printf("%s: Starting task with thread id: %d, space id: %d\n",
|
||||||
|
// __TASKNAME__, task->tid, task->spid);
|
||||||
if ((err = l4_thread_control(THREAD_RUN, &ids)) < 0) {
|
if ((err = l4_thread_control(THREAD_RUN, &ids)) < 0) {
|
||||||
printf("l4_thread_control failed with %d\n", err);
|
printf("l4_thread_control failed with %d\n", err);
|
||||||
return err;
|
return err;
|
||||||
|
|||||||
Reference in New Issue
Block a user