diff options
author | dzwdz | 2021-09-12 14:45:14 +0200 |
---|---|---|
committer | dzwdz | 2021-09-12 14:45:14 +0200 |
commit | d7a91165004baf67b645b5604934ec89402d034b (patch) | |
tree | 06665302ffef0f9cdc7e00556e31a816a86f8f5e /src/shared | |
parent | 4d49c81c3a6cb3457ee5635efd03a6a06bf6a14c (diff) |
remove `shared/vfs.h`, it was unused
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/vfs.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/shared/vfs.h b/src/shared/vfs.h deleted file mode 100644 index 69891bc..0000000 --- a/src/shared/vfs.h +++ /dev/null @@ -1,28 +0,0 @@ -#pragma once - -#ifndef TYPES_INCLUDED -# error "please include <kernel/types.h> or <init/types.h> before this file" -#endif - -enum vfs_op_types { - VFSOP_OPEN, - VFSOP_WRITE, -}; - -/* currently, this struct is fully created in kernelspace - * i might add a syscall which allows a process to just pass it raw, with some - * validation - so keep that in mind */ -struct vfs_op { - enum vfs_op_types type; - union { - struct { - char *path; - int path_len; - } open; - struct { - char __user *buf; - int buf_len; - int id; // filled in by the kernel - } rw; - }; -}; |