Kernel: SYS_FORK can now fail instead of panicing on error

This commit is contained in:
2023-07-19 17:47:12 +03:00
parent 8b34880064
commit 5d2bfc858e
8 changed files with 79 additions and 67 deletions

View File

@@ -17,6 +17,8 @@ namespace Kernel
OpenFileDescriptorSet(const Credentials&);
~OpenFileDescriptorSet();
OpenFileDescriptorSet& operator=(OpenFileDescriptorSet&&);
BAN::ErrorOr<void> clone_from(const OpenFileDescriptorSet&);
BAN::ErrorOr<int> open(BAN::StringView absolute_path, int flags);