diff options
author | dzwdz | 2022-08-12 00:30:14 +0200 |
---|---|---|
committer | dzwdz | 2022-08-12 00:30:14 +0200 |
commit | 215aa95c8d8c85985c1dcc5a994ad164823b39e6 (patch) | |
tree | a8346262dea6d5d32b552c8ccf407256d370e086 /src/kernel/handle.h | |
parent | d170ceb6c9f26f222558012ccbb75614ec2a6b8f (diff) |
vfs: OPEN_RO flag, read-only whitelist entries
Diffstat (limited to 'src/kernel/handle.h')
-rw-r--r-- | src/kernel/handle.h | 1 |
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; |