Kernel: Cleanup userspace pointer validation

This commit is contained in:
2025-11-11 05:09:49 +02:00
parent 35e063bdaf
commit f3beee9874
2 changed files with 50 additions and 44 deletions

View File

@@ -275,7 +275,6 @@ namespace Kernel
BAN::ErrorOr<VirtualFileSystem::File> find_relative_parent(int fd, const char* path) const;
BAN::ErrorOr<void> validate_string_access(const char*);
BAN::ErrorOr<void> validate_pointer_access_check(const void*, size_t, bool needs_write);
BAN::ErrorOr<void> validate_pointer_access(const void*, size_t, bool needs_write);
BAN::ErrorOr<MemoryRegion*> validate_and_pin_pointer_access(const void*, size_t, bool needs_write);