mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-04 15:19:16 +00:00
Kernel: Don't crash on writes to ProcFS
This commit is contained in:
parent
f20a42e871
commit
e3b7c305bc
Notes:
sideshowbarker
2024-07-18 01:40:07 +09:00
Author: https://github.com/BenWiederhake
Commit: e3b7c305bc
Pull-request: https://github.com/SerenityOS/serenity/pull/10661
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/IdanHo
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/bcoles
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue