fs: binding of pipes to vnodes

This commit is contained in:
Matheus
2024-08-11 13:06:46 -03:00
parent f02a63473f
commit a24be5cbc5
5 changed files with 53 additions and 8 deletions
+1
View File
@@ -18,5 +18,6 @@ typedef struct pipenode_t {
void pipefs_init();
int pipefs_newpipe(vnode_t **nodep);
int pipefs_getbinding(vnode_t *node, vnode_t **pipep);
#endif
+5 -1
View File
@@ -78,7 +78,11 @@ typedef struct vnode_t {
int type;
vfs_t *vfs;
vfs_t *vfsmounted;
void *socketbinding;
union {
void *socketbinding;
void *fifobinding;
};
struct page_t *pages;
} vnode_t;