diff options
| author | Amlal EL Mahrouss <amlalelmahrouss@icloud.com> | 2024-06-22 11:02:34 +0200 |
|---|---|---|
| committer | Amlal EL Mahrouss <amlalelmahrouss@icloud.com> | 2024-06-22 11:02:34 +0200 |
| commit | efd60f780ba66b363dc564b99a09b60163b9edcb (patch) | |
| tree | ddb8b4564cabc0578cedc0b2b2ec4941a9b3e35a /Kernel/KernelKit/PEFCodeManager.hxx | |
| parent | afb57783942238da489de6677941ecc64f9d8929 (diff) | |
IMP: Support fork based operations inside the file manager, update PEF
loader to load from forks, we might need a non-fork loader class though.
Signed-off-by: Amlal EL Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Kernel/KernelKit/PEFCodeManager.hxx')
| -rw-r--r-- | Kernel/KernelKit/PEFCodeManager.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Kernel/KernelKit/PEFCodeManager.hxx b/Kernel/KernelKit/PEFCodeManager.hxx index b6f3e160..90e674f8 100644 --- a/Kernel/KernelKit/PEFCodeManager.hxx +++ b/Kernel/KernelKit/PEFCodeManager.hxx @@ -10,6 +10,7 @@ #include <KernelKit/PEF.hpp> #include <NewKit/ErrorOr.hpp> #include <NewKit/String.hpp> +#include <KernelKit/FileManager.hpp> #define kPefApplicationMime "application/x-newos-exec" @@ -45,6 +46,7 @@ namespace NewOS bool IsLoaded() noexcept; private: + OwnPtr<FileStream<Char>> fFile; Ref<StringView> fPath; VoidPtr fCachedBlob; bool fFatBinary; |
