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

Enhance mount::umount2 to support UMOUNT_NOFOLLOW flag #1631

Closed
jiangliu opened this issue Jan 12, 2022 · 0 comments · Fixed by #1634
Closed

Enhance mount::umount2 to support UMOUNT_NOFOLLOW flag #1631

jiangliu opened this issue Jan 12, 2022 · 0 comments · Fixed by #1634
Assignees

Comments

@jiangliu
Copy link

jiangliu commented Jan 12, 2022

It would be great to enhance mount::umount2 to support UMOUNT_NOFOLLOW flag, so it could be used to defend some symlink based attacks.

bors added a commit to rust-lang/libc that referenced this issue Jan 13, 2022
Define UMOUNT_NOFOLLOW on Linux-like platforms

Requested-by: nix-rust/nix#1631
@rtzoeller rtzoeller self-assigned this Jan 14, 2022
@rtzoeller rtzoeller changed the title Enhance mount::umount2 to support UMOUNT_FOLLOW flag Enhance mount::umount2 to support UMOUNT_NOFOLLOW flag Jan 18, 2022
@bors bors bot closed this as completed in c3731f1 Jan 18, 2022
@bors bors bot closed this as completed in #1634 Jan 18, 2022
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.

2 participants