Skip to content

Processing the result of getdents64() #43

Description

@imlk0

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions