mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-26 22:38:51 +00:00
FileSystem: Route chown() and fchown() through VFS for access control.
This commit is contained in:
parent
aa35c08633
commit
e67bfdb7f6
Notes:
sideshowbarker
2024-07-19 13:47:12 +09:00
Author: https://github.com/awesomekling
Commit: e67bfdb7f6
3 changed files with 13 additions and 8 deletions
|
@ -329,5 +329,5 @@ KResult FileDescriptor::chown(uid_t uid, gid_t gid)
|
|||
{
|
||||
if (!m_inode)
|
||||
return KResult(-EINVAL);
|
||||
return m_inode->chown(uid, gid);
|
||||
return VFS::the().chown(*m_inode, uid, gid);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue