diff options
Diffstat (limited to 'src/kernel/proc.h')
-rw-r--r-- | src/kernel/proc.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/kernel/proc.h b/src/kernel/proc.h index 4b256bd..f445eab 100644 --- a/src/kernel/proc.h +++ b/src/kernel/proc.h @@ -48,7 +48,9 @@ struct process { }; struct vfs_mount *mount; - struct handle *_handles[HANDLE_MAX]; + struct handle **_handles; /* points to struct handle *[HANDLE_MAX] */ + uint64_t *handles_refcount; /* works just like pages_refcount */ + uint32_t id; /* only for debugging, don't expose to userland */ bool noreap; |