Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 7171760 in mainline for uspace/lib/c/include/loader/loader.h


Ignore:
Timestamp:
2011-08-18T12:05:00Z (10 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
b33ec43
Parents:
866e627
Message:

Rework the way how open files are passed from parent task to child.

  • Instead of passing fdi_node_t's, pass handles directly using the IPC_M_STATE_CHANGE_AUTHORIZE mechanism.
  • Remove open_node(), fd_node(), fdi_node_t.
  • Replace fopen_node() with fopen_handle().
  • Replace fnode() with fhandle().
  • The child task does not synchronize with VFS yet.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/loader/loader.h

    r866e627 r7171760  
    3939#include <task.h>
    4040
    41 typedef struct fdi_node fdi_node_t;
    42 
    4341/** Forward declararion */
    4442struct loader;
     
    5149extern int loader_set_pathname(loader_t *, const char *);
    5250extern int loader_set_args(loader_t *, const char *const[]);
    53 extern int loader_set_files(loader_t *, fdi_node_t *const[]);
     51extern int loader_set_files(loader_t *, int *const[]);
    5452extern int loader_load_program(loader_t *);
    5553extern int loader_run(loader_t *);
Note: See TracChangeset for help on using the changeset viewer.