Changeset 5126f80 in mainline for uspace/lib/c/generic/task.c
- Timestamp:
- 2017-03-08T11:42:17Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade
- Children:
- 0d35511
- Parents:
- a737667e
- git-author:
- Jiri Zarevucky <zarevucky.jiri@…> (2017-03-08 11:42:17)
- git-committer:
- Jakub Jermar <jakub@…> (2017-03-08 11:42:17)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/task.c
ra737667e r5126f80 48 48 #include "private/ns.h" 49 49 #include <vfs/vfs.h> 50 #include <unistd.h> 50 51 51 52 task_id_t task_get_id(void) … … 177 178 178 179 /* Send files */ 180 int root = vfs_root(); 181 if (root >= 0) { 182 rc = loader_add_inbox(ldr, "root", root); 183 close(root); 184 if (rc != EOK) 185 goto error; 186 } 187 179 188 if (fd_stdin >= 0) { 180 189 rc = loader_add_inbox(ldr, "stdin", fd_stdin);
Note:
See TracChangeset
for help on using the changeset viewer.