kernel: file_t, fd_t and a few helper functions

This commit is contained in:
Matheus
2023-05-09 00:13:51 -03:00
parent 8913f80a0c
commit e785da6cb3
4 changed files with 167 additions and 0 deletions
+4
View File
@@ -42,6 +42,10 @@ typedef struct proc_t {
thread_t **threads;
size_t threadtablesize;
size_t runningthreadcount;
size_t fdcount;
uintmax_t fdfirst;
spinlock_t fdlock;
struct fd_t *fd;
mode_t umask;
int flags;
vnode_t *cwd;