1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:48:10 +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

@ -102,3 +102,8 @@ int MasterPTY::ioctl(FileDescription& description, unsigned request, unsigned ar
return m_slave->ioctl(description, request, arg);
return -EINVAL;
}
String MasterPTY::absolute_path(const FileDescription&) const
{
return String::format("ptm:%s", m_pts_name.characters());
}