summaryrefslogtreecommitdiff
path: root/src/kernel/handle.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/handle.h')
-rw-r--r--src/kernel/handle.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kernel/handle.h b/src/kernel/handle.h
index 233c2fa..54ef412 100644
--- a/src/kernel/handle.h
+++ b/src/kernel/handle.h
@@ -17,6 +17,7 @@ struct handle {
enum handle_type type;
struct vfs_backend *backend; // HANDLE_FILE | HANDLE_FS_FRONT
void __user *file_id; // only applicable to HANDLE_FILE
+ bool ro; /* currently only for HANDLE_FILE */
struct {
struct process *queued;
bool write_end;