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:
parent
1d03391488
commit
dadf6337ef
7 changed files with 91 additions and 15 deletions
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue