Kernel: Don't crash on writes to ProcFS

This commit is contained in:
Ben Wiederhake 2021-10-27 22:13:59 +02:00 committed by Linus Groh
parent f20a42e871
commit e3b7c305bc
Notes: sideshowbarker 2024-07-18 01:40:07 +09:00

View file

@ -244,7 +244,7 @@ ProcFSProcessAssociatedInode::ProcFSProcessAssociatedInode(const ProcFS& fs, Pro
KResultOr<size_t> ProcFSProcessAssociatedInode::write_bytes(off_t, size_t, const UserOrKernelBuffer&, OpenFileDescription*)
{
VERIFY_NOT_REACHED();
return ENOTSUP;
}
KResultOr<NonnullRefPtr<ProcFSProcessDirectoryInode>> ProcFSProcessDirectoryInode::try_create(const ProcFS& procfs, ProcessID pid)