diff options
Diffstat (limited to 'src/kernel/handle.h')
-rw-r--r-- | src/kernel/handle.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/kernel/handle.h b/src/kernel/handle.h index 3c16061..19d5953 100644 --- a/src/kernel/handle.h +++ b/src/kernel/handle.h @@ -19,12 +19,10 @@ struct handle { enum handle_type type; struct vfs_backend *backend; // HANDLE_FILE | HANDLE_FS_FRONT void __user *file_id; // only applicable to HANDLE_FILE - // TODO readable/writeable could be reused for pipes - bool readable, writeable; /* currently only for HANDLE_FILE */ + bool readable, writeable; /* HANDLE_FILE | HANDLE_PIPE */ struct vfs_request *req; /* HANDLE_FS_REQ */ struct { struct process *queued; - bool write_end; struct handle *sister; // the other end, not included in refcount } pipe; |