From b75dd3a112708584a930f85d345835f36a722f5a Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Thu, 18 Apr 2024 18:30:42 -0400 Subject: kernel: filedesc: Handle multiple oflag bits Signed-off-by: Ian Moffett --- sys/include/sys/filedesc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/include') diff --git a/sys/include/sys/filedesc.h b/sys/include/sys/filedesc.h index 83c32ee..f8f9ba6 100644 --- a/sys/include/sys/filedesc.h +++ b/sys/include/sys/filedesc.h @@ -47,6 +47,7 @@ struct proc; struct filedesc { int fdno; + int oflag; off_t offset; bool is_dir; struct vnode *vnode; -- cgit v1.2.3