We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
My architecture:
file_sb/ ├── home │ └── user │ └── bin.elf └── proc ├── 1000 │ └── exe -> /home/bla/[TRUNCATED]/file_sb/home/user/bin.elf └── self -> 1000
The function FileSystem::resolve_path returns a wrong path with a symbolic link.
FileSystem::resolve_path
If the target is an absolute path and already a link in the sandbox, resolve_path returns a double sandboxed link. See below:
resolve_path
[syscalls][sys_generic_open][DEBUG]: sys_open('/proc/self/exe', 0, 0) [environment][resolve_path][DEBUG]: resolve_path(path='/proc/self/exe', follow_link=True) [environment][resolve_path][DEBUG]: resolve_path(path='/home/bla/[TRUNCATED]/file_sb/home/user/bin.elf', follow_link=True) [environment][resolve_path][DEBUG]: -> '/home/bla/[TRUNCATED]/file_sb/home/bla/[TRUNCATED]/file_sb/home/user/bin.elf' [environment][resolve_path][DEBUG]: -> '/home/bla/[TRUNCATED]/file_sb/home/bla/[TRUNCATED]/file_sb/home/user/bin.elf' [syscalls][syscall_x86_64_exception_handler][DEBUG]: -> ffffffffffffffff
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
My architecture:
The function
FileSystem::resolve_path
returns a wrong path with a symbolic link.If the target is an absolute path and already a link in the sandbox,
resolve_path
returns a double sandboxed link. See below:The text was updated successfully, but these errors were encountered: