mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-12 02:59:45 +00:00
Kernel/ProcFS: Silently ignore attempts to update ProcFS timestamps
We have to override Inode::update_timestamps() for ProcFS inodes, otherwise we'll get the default behavior of erroring with ENOTIMPL.
This commit is contained in:
parent
5307e1bf01
commit
434d77cd43
Notes:
sideshowbarker
2024-07-17 08:03:10 +09:00
Author: https://github.com/awesomekling
Commit: 434d77cd43
2 changed files with 6 additions and 0 deletions
|
@ -84,6 +84,7 @@ protected:
|
|||
virtual ErrorOr<void> traverse_as_directory(Function<ErrorOr<void>(FileSystem::DirectoryEntryView const&)>) const override;
|
||||
virtual ErrorOr<NonnullLockRefPtr<Inode>> lookup(StringView) override;
|
||||
virtual ErrorOr<void> truncate(u64) override final;
|
||||
virtual ErrorOr<void> update_timestamps(Optional<time_t> atime, Optional<time_t> ctime, Optional<time_t> mtime) override;
|
||||
|
||||
NonnullLockRefPtr<ProcFSExposedComponent> m_associated_component;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue