Kernel: Implement TmpFS inode chmod

This commit is contained in:
2023-11-06 20:11:34 +02:00
parent ba2f09a4e6
commit c3ed700324
2 changed files with 8 additions and 0 deletions

View File

@@ -199,6 +199,12 @@ namespace Kernel
return {};
}
BAN::ErrorOr<void> TmpFileInode::chmod_impl(mode_t new_mode)
{
m_inode_info.mode = new_mode;
return {};
}
/* DIRECTORY INODE */
BAN::ErrorOr<BAN::RefPtr<TmpDirectoryInode>> TmpDirectoryInode::create_root(TmpFileSystem& fs, mode_t mode, uid_t uid, gid_t gid)