mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 18:05:08 +00:00
Add chown() syscall and a simple /bin/chown program.
This commit is contained in:
parent
711e2b2651
commit
1d2529b4a1
19 changed files with 130 additions and 5 deletions
|
@ -1124,3 +1124,8 @@ ProcFS::ProcFSDirectoryEntry* ProcFS::get_directory_entry(InodeIdentifier identi
|
|||
return const_cast<ProcFSDirectoryEntry*>(&m_entries[proc_file_type]);
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
KResult ProcFSInode::chown(uid_t, gid_t)
|
||||
{
|
||||
return KResult(-EPERM);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue