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

Fix fclose #191

Closed
chenhao-ye opened this issue Jan 7, 2022 · 0 comments · Fixed by #356
Closed

Fix fclose #191

chenhao-ye opened this issue Jan 7, 2022 · 0 comments · Fixed by #356

Comments

@chenhao-ye
Copy link
Collaborator

Since fclose bypass glibc and directly call into syscall close, we have to intercept fclose too. However, in the current implementation, we only close the fd but don't flush FILE stream.

Reference implementation can be found here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant