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

Processing the result of getdents64() #43

Open
Tracked by #45
imlk0 opened this issue Jul 22, 2021 · 0 comments
Open
Tracked by #45

Processing the result of getdents64() #43

imlk0 opened this issue Jul 22, 2021 · 0 comments

Comments

@imlk0
Copy link
Collaborator

imlk0 commented Jul 22, 2021

The effect of --bind is not reflected in the result of getdents64(), which can cause some differences in the results of ls -la.

What --bind does is basically overwrite one path on top of another. proot-rs is emulating this behavior, so we need to filter the entries in result of getdents64() to ensure that they do not contain information about entries that under the overwritten. As far as I know original proot also has this problem.

The impact of this issue is not very significant, even a little harsh, so I marked it as an enhancement

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

No branches or pull requests

1 participant