Kernel: Allow chmod on TmpSocketInode

This commit is contained in:
2024-02-08 03:16:01 +02:00
parent 2424f38a62
commit 49889858fa
2 changed files with 7 additions and 0 deletions

View File

@@ -239,6 +239,12 @@ namespace Kernel
{
}
BAN::ErrorOr<void> TmpSocketInode::chmod_impl(mode_t new_mode)
{
m_inode_info.mode = new_mode;
return {};
}
/* SYMLINK INODE */
BAN::ErrorOr<BAN::RefPtr<TmpSymlinkInode>> TmpSymlinkInode::create_new(TmpFileSystem& fs, mode_t mode, uid_t uid, gid_t gid, BAN::StringView target)