Kernel: Make unlinking from /proc always fail with EPERM

This commit is contained in:
2023-11-07 02:40:27 +02:00
parent b1f431d962
commit 885ed218fa
2 changed files with 4 additions and 1 deletions

View File

@@ -15,6 +15,9 @@ namespace Kernel
void cleanup();
protected:
virtual BAN::ErrorOr<void> unlink_impl(BAN::StringView) override { return BAN::Error::from_errno(EPERM); }
private:
ProcPidInode(Process&, TmpFileSystem&, const TmpInodeInfo&);