mirror of
https://github.com/RGBCube/serenity
synced 2025-05-19 17:05:06 +00:00
Kernel: Make Inode::resolve_as_link() take credentials as input
This commit is contained in:
parent
006f753647
commit
dbe182f1c6
3 changed files with 5 additions and 4 deletions
|
@ -966,7 +966,7 @@ ErrorOr<NonnullRefPtr<Custody>> VirtualFileSystem::resolve_path_without_veil(Cre
|
|||
|
||||
TRY(validate_path_against_process_veil(*custody, options));
|
||||
|
||||
auto symlink_target = TRY(child_inode->resolve_as_link(parent, out_parent, options, symlink_recursion_level + 1));
|
||||
auto symlink_target = TRY(child_inode->resolve_as_link(credentials, parent, out_parent, options, symlink_recursion_level + 1));
|
||||
if (!have_more_parts)
|
||||
return symlink_target;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue