Skip to content
New issue

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

Handle clone syscall without CLONE_FILES being set #5

Open
cniethammer opened this issue Mar 29, 2022 · 0 comments
Open

Handle clone syscall without CLONE_FILES being set #5

cniethammer opened this issue Mar 29, 2022 · 0 comments
Assignees
Labels

Comments

@cniethammer
Copy link
Owner

Subprocesses cloned without the CLONE_FILES flag being set will inherit a copy of the file descriptor table from their parent.
Currently, this is not taken care of when tracking open files. This can cause problems with multi-threaded program analysis.

Note: The fork syscall runs into the same problems.

@cniethammer cniethammer self-assigned this Mar 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant