1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 06:27:45 +00:00

Kernel: Customize absolute_path() for more file types

This commit is contained in:
Sergey Bugaev 2019-08-10 19:10:36 +03:00 committed by Andreas Kling
parent 1d03391488
commit dadf6337ef
7 changed files with 91 additions and 15 deletions

View file

@ -15,6 +15,8 @@ public:
static void for_each(Function<void(LocalSocket&)>);
StringView socket_path() const;
String absolute_path(const FileDescription& description) const override;
// ^Socket
virtual KResult bind(const sockaddr*, socklen_t) override;
virtual KResult connect(FileDescription&, const sockaddr*, socklen_t, ShouldBlock = ShouldBlock::Yes) override;