mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 19:04:58 +00:00
Kernel/VFS: Restrict special unveil rule for Loader.so
This commit is contained in:
committed by
Andreas Kling
parent
3bf204fd03
commit
ec03f29fd1
@@ -764,7 +764,7 @@ KResult VirtualFileSystem::validate_path_against_process_veil(StringView path, i
|
||||
{
|
||||
if (Process::current().veil_state() == VeilState::None)
|
||||
return KSuccess;
|
||||
if (path == "/usr/lib/Loader.so")
|
||||
if (options == O_EXEC && path == "/usr/lib/Loader.so")
|
||||
return KSuccess;
|
||||
|
||||
VERIFY(path.starts_with('/'));
|
||||
|
||||
Reference in New Issue
Block a user