Kernel: Make Socket inherit from File.

This commit is contained in:
Andreas Kling 2019-05-03 20:42:43 +02:00
parent 03da7046bd
commit 2470fdcd9b
Notes: sideshowbarker 2024-07-19 14:18:05 +09:00
18 changed files with 81 additions and 73 deletions

View file

@ -68,7 +68,7 @@ KResult SharedMemory::truncate(int length)
return KResult(-ENOTIMPL);
}
String SharedMemory::absolute_path() const
String SharedMemory::absolute_path(FileDescriptor&) const
{
return String::format("shm:%u", this);
}